/* New CSS */
.card-kanban {
  background-color: #f1f2f4!important;
}
.kanban-card-header {
  background-color: #f1f2f4;
  padding: 12px 16px 12px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  position: sticky;
  top: 0;
  width: 100%;
}
.kanban-wrapper {
  height: 78vh;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #9ea4ab #f1f2f4;
}
.kanban-card-body {
  padding: 12px;
  border: 1px solid #e4e4e5;
  background-color: #fff;
  margin: 0 15px 15px 15px;
  border-radius: 10px;
}
.applicant-count {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 600;
      position: absolute;
      right: 26px;
}
.applicant-name {
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  font-size: 0.975rem;
}

.job-title {
  font-weight: 500;
  color: #0056b3;
  margin:0;
  font-size: 0.75rem;
}
    /* Add styles for selection buttons */
    .selection-buttons {
      display: flex;
      gap: 8px;
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid #e9ecef;
    }

    .btn-select, .btn-reject, .btn-process, .btn-resonsider {
      flex: 1;
      padding: 2px 4px;
      border-radius: 5px;
      font-size: 0.75rem;
      font-weight: 500;
      transition: all 0.2s;
    }

    .btn-select {
      background-color: #FFF;
      border: 1px solid #c6dfd8;
      color: #065f46;
    }

    .btn-select:hover {
      background-color: #ecfdf5;
      color: #065f46;
    }

    .btn-process {
      background-color: #e3f2fd;
      border: 1px solid #2196f3;
      color: #0d47a1;
    }

    .btn-process:hover {
      background-color: #2196f3;
      color: white;
    }

    .btn-reject {
      background-color: #fff;
      border: 1px solid #f8d4d9;
      color: #991b1b;
    }

    .btn-reject:hover {
      background-color: #fef2f2;
      color: #991b1b;
    }

    .btn-selected {
      background-color: #4caf50;
      color: white;
      pointer-events: none;
    }

    .btn-processed {
      background-color: #2196f3;
      color: white;
      pointer-events: none;
    }

    .btn-resonsider {
      background-color: #FFF;
      border: 1px solid #efcfbb;
      color: #92400e;
    }

    .btn-resonsider:hover {
      background-color: #fffbeb;
      color: #92400e;
    }

    .btn-rejected {
      background-color: #ef5350;
      color: white;
      pointer-events: none;
    }

    .form-control, .form-select {
      border: 1px solid oklch(0.77 0.01 258.31);
      font-size: 0.875rem;
      border-radius: 0.475rem !important;
      padding: 0.2rem 0.5rem;
      min-height: 20px;
      color: oklch(0.21 0.034 264.665);
  }
  .kanban-board {
    display: flex;
    overflow-x: auto;
    padding: 15px 0 20px 0;
    gap: 20px;
    min-height: calc(100vh - 250px);
  }
  .applicant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 16px;
  }

  .applicant-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }
  .applicant-info {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
  }
.kanban-footer {
  font-size: 0.875rem;
  color:#808080;
}
.status-link {
  font-size: 0.875rem;
  font-weight: 600;
}
.status-link:hover {
  text-decoration: underline!important;
}
.container-custom {
  max-width: 100% !important;
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
}
.process-badge {
  color: #1e40af;
}
.status-badge {
  color: #065f46;
}
.rejected-badge {
  color: #991b1b;
}
.status-process {
  color: #92400e; 
}
.kanban-title {
  font-size: 18px!important;
}
/* New CSS */





















    .kanban-column {
      min-width: 300px;
      background-color: #ff0000;
      /* background-color: #f1f2f4; */
      border-radius: 8px;
      padding: 15px;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
      max-height: 450px;
      overflow-y: auto;
    }

    .kanban-column-header {
      font-weight: 600;
      padding: 10px;
      border-bottom: 2px solid #e9ecef;
      margin-bottom: 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      background-color: #f8f9fa;
      z-index: 1;
    }

    .kanban-card {
      position: relative;
      background-color: white;
      border-radius: 8px;
      padding: 15px;
      margin-bottom: 15px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      cursor: pointer;
      transition: all 0.3s ease;
      border: 1px solid #e9ecef;
      padding-top: 20px; /* Increased to accommodate the strip */
    }

    .kanban-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

  



    .applicant-details {
      flex: 1;
    }

  





    .meta-info {
      font-size: 0.75rem;
      color: #6c757d;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 0px;
    }

    .status-select {
      margin-top: 10px;
      border-radius: 6px;
      border: 1px solid #ced4da;
      padding: 6px;
      font-size: 0.875rem;
    }

    .view-details-btn {
      width: 100%;
      margin-top: 10px;
      border-radius: 6px;
      background-color: #f8f9fa;
      border: 1px solid #dee2e6;
      color: #495057;
      padding: 6px 12px;
      transition: all 0.2s ease;
    }

    .view-details-btn:hover {
      background-color: #e9ecef;
      color: #212529;
    }



    .filters {
      margin-bottom: 20px;
    }

    .selection-summary .card {
      border: none;
      border-radius: 10px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .selection-summary .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

    .selection-summary .card-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.75rem;  /* Reduced padding */
      }
  
      .selection-summary .card-title {
        font-size: 0.9rem;  /* Smaller font size */
        font-weight: 600;
        margin-bottom: 0.25rem;  /* Reduced margin */
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
  
      .selection-summary .card-text {
        font-size: 1.75rem;  /* Smaller font size */
        font-weight: 700;
        line-height: 1;
      }

    .selection-summary .bg-success {
      background: linear-gradient(135deg, #4caf50, #2e7d32) !important;
    }

    .selection-summary .bg-danger {
      background: linear-gradient(135deg, #ef5350, #c62828) !important;
    }

    .selection-summary .bg-info {
      background: linear-gradient(135deg, #29b6f6, #0288d1) !important;
    }

    /* Add some spacing between filters and kanban board */
    /* .kanban-board {
      margin-top: 2rem;
    } */



    /* Toast notification styles */
    .toast-container {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1050;
    }

    .toast {
      background: white;
      border-radius: 8px;
      padding: 16px;
      margin-bottom: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      display: flex;
      align-items: flex-start;
      gap: 12px;
      opacity: 0;
      transition: opacity 0.3s ease;
      min-width: 300px;
    }

    .toast.show {
      opacity: 1;
    }

    .toast.success {
      border-left: 4px solid #4caf50;
    }

    .toast.error {
      border-left: 4px solid #ef5350;
    }

    .toast i {
      font-size: 1.25rem;
      color: #4caf50;
      margin-top: 2px;
    }

    .toast.error i {
      color: #ef5350;
    }

    .toast a {
      color: #0d6efd;
      text-decoration: none;
      font-size: 0.875rem;
    }

    .toast a:hover {
      text-decoration: underline;
    }

    /* Add styles for selection strip */
    .selection-strip {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
    }

    .selection-strip.selected {
      background: linear-gradient(90deg, #4caf50, #45a049);
    }

    .selection-strip.rejected {
      background: linear-gradient(90deg, #ef5350, #e53935);
    }

    .selection-tag {
      position: absolute;
      top: 8px;
      right: 8px;
      padding: 2px 8px;
      border-radius: 12px;
      font-size: 0.75rem;
      font-weight: 500;
    }

    .selection-tag.selected {
      background-color: #e8f5e9;
      color: #2e7d32;
      border: 1px solid #4caf50;
    }

    .selection-tag.rejected {
      background-color: #ffebee;
      color: #c62828;
      border: 1px solid #ef5350;
    }