.profile-header {
    background-color: #bcddf7;
    color: #000;
    padding: 24px 0;
  }
  
  .profile-info {
    gap: 20px;
  }
  
  .profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
  }
  
  .profile-details h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
  }
  
  .profile-details p {
    font-size: 16px;
    margin: 4px 0;
  }
  
  .profile-meta {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .profile-meta i {
    color: #2a7ab0;
  }
  
  .profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .btn {
    padding: 10px 18px;
    border-radius: 5px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  
  .btn-primary {
    background-color: #2a7ab0;
    color: white;
  }
  
  .btn-secondary {
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #ccc;
  }
  
  .btn-premium {
    background-color: #f9a602;
    color: #333;
    font-weight: 600;
  }
  
  @media (max-width: 768px) {
    .profile-info {
      flex-direction: column;
      text-align: center;
      width: 100%;
    }
    .profile-actions {
      justify-content: center;
      width: 100%;
    }
  }
/* --- Navigation Tabs Wrapper --- */
.nav-wrapper{
    background: linear-gradient(180deg, #0b63bb, #0d6492 60%, #06344D);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 }
.nav-tabs-custom {
    
    display: flex;
    padding: 0px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Hide scrollbar for Webkit */
  .nav-tabs-custom::-webkit-scrollbar {
    height: 6px;
  }
  .nav-tabs-custom::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }
  
  /* --- Navigation Tab Items --- */
  .tab-item {
    padding: 14px 16px;
    color: #a0c7e4;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 4px solid transparent;
    white-space: nowrap;
    flex-shrink: 0; /* Prevent shrinking on small screens */
  }
  
  .tab-item.active {
    background: linear-gradient(180deg, #fafafa, #ebebeb 60%, #cccccc);
    color: #005a9e;
    border-bottom: 4px solid #f9a602;
  }

  /* --- Navbar Spacer (Push items to right) --- */
  .navbar-spacer {
    flex-grow: 1;
  }

  /* --- Dropdown Containers --- */
  .dropdown-container {
    position: relative;
    padding: 0 !important;
    z-index: 1001;
  }

  .dropdown-toggle-btn {
    padding: 14px 16px;
    background: none;
    border: none;
    color: #a0c7e4;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 4px solid transparent;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
  }

  .dropdown-toggle-btn:hover {
    color: #fff;
  }

  .dropdown-toggle-btn.active {
    background: linear-gradient(180deg, #fafafa, #ebebeb 60%, #cccccc);
    color: #005a9e;
    border-bottom: 4px solid #f9a602;
  }

  /* Notification/Package badge */
  .badge-count {
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
  }

  .badge-count.zero {
    display: none;
  }

  /* --- Dropdown Menu --- */
  .dropdown-menu-custom {
    position: fixed;
    top: auto;
    right: 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    display: none;
  }

  .dropdown-menu-custom.show {
    display: block;
  }

  .dropdown-header {
    padding: 12px 16px;
    font-weight: 600;
    color: #005a9e;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
  }

  .dropdown-content {
    padding: 8px 0;
    max-height: 300px;
    overflow-y: auto;
  }

  .dropdown-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .dropdown-item:hover {
    background: #f5f5f5;
  }

  .dropdown-item.read {
    opacity: 0.7;
  }

  .dropdown-empty {
    padding: 20px 16px;
    text-align: center;
    color: #999;
    font-size: 13px;
  }

  
  /* --- Mobile Adjustments --- */
  @media (max-width: 768px) {
    .nav-tabs-custom {
      padding: 0 8px;
      gap: 0;
    }
  
    .tab-item {
      font-size: 12px;
      padding: 12px 10px;
      flex-shrink: 0;
    }

    /* Hide navbar spacer on tablets */
    .navbar-spacer {
      flex-grow: 0.5;
    }

    /* Adjust dropdown menus on tablet */
    .dropdown-menu-custom {
      min-width: 280px;
      max-height: 350px;
    }

    .dropdown-toggle-btn {
      padding: 12px 8px;
      font-size: 12px;
      gap: 4px;
    }

    .badge-count {
      width: 18px;
      height: 18px;
      font-size: 10px;
    }
  }

  @media (max-width: 576px) {
    /* Stack navbar vertically with scroll on small screens */
    .nav-wrapper {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }

    .nav-tabs-custom {
      padding: 0 5px;
      gap: 0;
      flex-wrap: nowrap;
    }
  
    .tab-item {
      font-size: 11px;
      padding: 10px 8px;
      flex-shrink: 0;
    }

    .tab-item a {
      font-size: 11px;
    }

    /* Hide nav spacer on mobile, keep dropdown buttons right-aligned */
    .navbar-spacer {
      flex-grow: 1;
      max-width: 10px;
    }

    /* Compact dropdowns on mobile */
    .dropdown-container {
      padding: 0 !important;
    }

    .dropdown-toggle-btn {
      padding: 10px 6px;
      font-size: 11px;
      gap: 3px;
    }

    .dropdown-toggle-btn i {
      font-size: 13px;
    }

    .badge-count {
      width: 16px;
      height: 16px;
      font-size: 9px;
    }

    /* Full-width dropdown menus on mobile */
    .dropdown-menu-custom {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      max-height: 100vh;
      border-radius: 0;
      border: none;
      z-index: 1002;
      display: none;
      flex-direction: column;
      background: white;
      overflow: hidden;
      animation: slideUp 0.3s ease-out;
    }

    @keyframes slideUp {
      from {
        transform: translateY(100%);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .dropdown-menu-custom.show {
      display: flex;
    }

    .dropdown-menu-custom::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: -1;
    }

    .dropdown-header {
      padding: 16px;
      font-size: 14px;
      flex-shrink: 0;
      font-weight: 600;
      border-bottom: 1px solid #eee;
      background: white;
    }

    .dropdown-content {
      padding: 0;
      max-height: calc(100vh - 100px);
      overflow-y: auto;
      flex: 1;
      -webkit-overflow-scrolling: touch;
    }

    .dropdown-item {
      padding: 14px 16px;
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .dropdown-item button {
      padding: 6px 10px !important;
      font-size: 11px !important;
    }

    .dropdown-empty {
      padding: 40px 16px;
      font-size: 13px;
    }

    /* Add overlay backdrop for mobile dropdowns */
    .dropdown-menu-custom::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.3);
      z-index: -1;
    }
  }

  @media (max-width: 420px) {
    /* Extra small phones */
    .nav-tabs-custom {
      padding: 0 4px;
    }

    .tab-item {
      font-size: 10px;
      padding: 8px 6px;
    }

    .dropdown-toggle-btn {
      padding: 8px 4px;
      font-size: 10px;
    }

    .badge-count {
      width: 14px;
      height: 14px;
      font-size: 8px;
    }

    /* Hide icon labels on very small screens, keep icon only */
    .dropdown-toggle-btn span:not(.badge-count) {
      display: none;
    }
  }

  /* --- Main Content Layout --- */
  .main-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 for form, 1/3 for sidebar */
    gap: 24px;
    padding: 24px 40px;
    max-width: 1400px;
    margin: 0 auto;
  }

  /* --- Main Form Section (Left) --- */
  .info-form {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* To contain border radius */
  }

  .form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
  }

  .form-header h2 {
    font-size: 18px;
    font-weight: 600;
  }

  .form-header a {
    font-size: 14px;
    color: #2a7ab0;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
  }

  .form-body {
    padding: 24px;
  }

  .form-row {
    display: flex;
    flex-wrap: wrap; /* Responsive wrapping */
    gap: 20px;
  }

  .form-group {
    margin-bottom: 16px;
    flex: 1; /* Makes form groups in a row share space */
    min-width: 200px; /* Minimum width before wrapping */
  }

  .form-group.full-width {
    flex-basis: 100%;
  }

  .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background-color: #fff; /* Ensure white background */
  }

  .form-group textarea {
    height: 100px;
    resize: vertical;
  }

  .form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 24px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
  }

  /* --- Sidebar (Right) --- */
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .sidebar-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
  }

  .sidebar-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
  }

  /* Progress Bar */
  .progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }

  .progress-info span {
    font-size: 14px;
    font-weight: 600;
    color: #2a7ab0;
  }

  .progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
  }

  .progress-bar-fill {
    width: 78%; /* From image */
    height: 100%;
    background-color: #2a7ab0;
    border-radius: 4px;
    transition: width 0.3s ease;
  }

  /* --- Card & Button Styles (from your image) --- */
      .sidebar-card {
        background-color: white;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 20px;
        width: 100%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      }

      .sidebar-card h3 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 16px;
      }

      .btn-add-cv {
        width: 100%;
        padding: 12px;
        background-color: white;
        border: 1px dashed #aaa;
        border-radius: 4px;
        color: #555;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: background-color 0.2s;
      }

      .btn-add-cv:hover {
        background-color: #f9f9f9;
      }

      /* --- CV Placeholder Styles (Modified for content) --- */
      .cv-placeholder {
        width: 100%;
        height: 250px;
        background-color: #ccc; /* Default gray box */
        border-radius: 4px;
        margin-bottom: 16px;
        overflow: hidden; /* Important: this contains the iframe/img */
        
        /* Styles for when it's empty */
        display: flex;
        align-items: center;
        justify-content: center;
        color: #888;
        font-size: 14px;
      }

      .cv-placeholder.has-content {
        /* Remove default styles when content is loaded */
        background-color: #fff;
        color: transparent;
      }

      /* Styles for the embedded content */
      .cv-placeholder iframe,
      .cv-placeholder img {
        width: 100%;
        height: 100%;
        border: none;
      }

      .cv-placeholder img {
        object-fit: contain; /* Shows the whole image */
      }
      
      /* Styles for the fallback (e.g., for DOCX files) */
      .cv-placeholder-fallback {
        padding: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        color: #333;
      }
      .cv-placeholder-fallback-icon {
        font-size: 50px;
      }
      .cv-placeholder-fallback-name {
        font-weight: 500;
        word-break: break-all; 
        margin-top: 10px;
      }
      .cv-placeholder-fallback-note {
        font-size: 12px;
        color: #555;
        margin-top: 5px;
      }

  .btn-add-cv {
    width: 100%;
    padding: 12px;
    background-color: white;
    border: 1px dashed #aaa;
    border-radius: 4px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

/* Recruiter company profile workspace */
.recruiter-profile-page {
  --company-blue: #06344d;
  --company-ink: #1d2c46;
  --company-muted: #71809a;
  --company-line: #e4eaf2;
  background: #e7f9fb;
  color: var(--company-ink);
  padding-top: 0 !important;
}

.recruiter-profile-page .profile-header {
  background: #17375e;
  border-bottom: 4px solid #2b7de9;
  color: #fff;
  padding: 0;
}
.recruiter-profile-page .profile-header-inner {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto;
  align-items: center;
  gap: 34px;
  max-width: 1600px;
  min-height: 108px;
  padding: 22px 42px;
}
.recruiter-profile-page .profile-info { min-width: 0; width: 100%; }
.recruiter-profile-page .profile-details {
  min-width: 0;
  overflow: hidden;
}

.recruiter-profile-page .profile-info { gap: 14px; }
.recruiter-profile-page .profile-clickable {
  cursor: pointer;
  transition: opacity .15s ease;
}
.recruiter-profile-page .profile-clickable:hover { opacity: .82; }
.recruiter-profile-page .profile-name-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.recruiter-profile-page .profile-photo-wrapper {
  flex: 0 0 82px;
  overflow: hidden;
  width: 82px;
  height: 82px;
}
.recruiter-profile-page .profile-photo-wrapper.profile-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: var(--company-blue, #2b7de9);
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .02em;
}
.recruiter-profile-page .profile-photo {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
  background: #edf4ff;
  padding: 9px;
}
.recruiter-profile-page .profile-info .profile-photo {
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: #fff;
  padding: 0;
}
.recruiter-profile-page .profile-details h1 {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.recruiter-profile-page .profile-details p,
.recruiter-profile-page .profile-meta {
  color: #c8d8eb;
  font-size: .84rem;
}
.recruiter-profile-page .profile-details p {
  overflow-wrap: anywhere;
  margin: 4px 0;
}
.recruiter-profile-page .profile-meta > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.recruiter-profile-page .profile-actions .btn {
  border-radius: 6px;
  font-size: .78rem;
  padding: .55rem .85rem;
}
.recruiter-profile-page .profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}
.recruiter-profile-page .btn-primary {
  background: var(--company-blue);
  border-color: var(--company-blue);
}
.recruiter-profile-page .btn-secondary {
  background-color: #ffffff;
  color: #17375e;
  border: 1px solid #d1d5db;
}

/* --- Recruiter header: notification bell --- */
.recruiter-profile-page .notif-wrapper {
  position: relative;
}
.recruiter-profile-page .notif-bell-btn {
  position: relative;
  padding-left: .85rem;
  padding-right: .85rem;
  transition: transform .15s ease;
}
.recruiter-profile-page .notif-bell-btn:hover { transform: translateY(-1px); }
.recruiter-profile-page .notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b6b, #e5484d);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
  animation: notifBadgePulse 1.8s ease-in-out infinite;
}
@keyframes notifBadgePulse {
  0%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 0 rgba(229, 72, 77, .5); }
  50% { box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(229, 72, 77, 0); }
}

/* Popup card */
.recruiter-profile-page .notif-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 380px;
  max-width: 92vw;
  max-height: 480px;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  color: #17375e;
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(6, 52, 77, .28), 0 2px 6px rgba(6, 52, 77, .12);
  z-index: 1050;
  animation: notifPopIn .18s ease-out;
}
/* `display: flex` must only apply once the `hidden` attribute is gone -
   setting it unconditionally on the rule above would beat the browser's
   default `[hidden]{display:none}` (author CSS always wins over the UA
   stylesheet), so the popup would stay visibly open at all times instead
   of toggling with the bell click. */
.recruiter-profile-page .notif-dropdown:not([hidden]) {
  display: flex;
}
@keyframes notifPopIn {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.recruiter-profile-page .notif-dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  right: 18px;
  width: 14px;
  height: 14px;
  background: #0d6492;
  transform: rotate(45deg);
  border-radius: 3px 0 0 0;
}
.recruiter-profile-page .notif-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(120deg, #0b63bb, #0d6492 65%, #124a6b);
  color: #fff;
  font-weight: 700;
  font-size: .96rem;
  position: relative;
  z-index: 1;
}
.recruiter-profile-page .notif-mark-all {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 999px;
  transition: background .15s ease;
}
.recruiter-profile-page .notif-mark-all:hover { background: rgba(255, 255, 255, .26); }
.recruiter-profile-page .notif-list {
  overflow-y: auto;
  background: #f7faff;
}
.recruiter-profile-page .notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 36px 20px;
  text-align: center;
  color: #8894a6;
}
.recruiter-profile-page .notif-empty i { font-size: 1.8rem; color: #c3d2e5; }
.recruiter-profile-page .notif-empty p { margin: 0; font-weight: 700; color: #41526b; font-size: .88rem; }
.recruiter-profile-page .notif-empty span { font-size: .76rem; }

.recruiter-profile-page .notif-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  padding: 13px 38px 13px 16px;
  background: #fff;
  border: none;
  border-bottom: 1px solid #eef2f7;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease;
}
.recruiter-profile-page .notif-item:hover { background: #f0f7ff; }
.recruiter-profile-page .notif-item-delete {
  position: absolute;
  top: 10px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #a7b3c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s ease, background .15s ease, color .15s ease;
}
.recruiter-profile-page .notif-item:hover .notif-item-delete,
.recruiter-profile-page .notif-item-delete:focus-visible {
  opacity: 1;
}
.recruiter-profile-page .notif-item-delete:hover {
  background: #fde8e8;
  color: #d64545;
}
/* :hover never fires on a touchscreen, so without this the delete button
   stays invisible (opacity: 0) forever on mobile - there'd be no way to see
   or tap it. (hover: none) targets touch-primary devices specifically,
   leaving the hover-reveal behavior untouched on mouse/trackpad. The same
   override for .notif-item-cta lives further below, after that rule's own
   base definition - CSS cascade needs the override to come after the rule
   it overrides at equal specificity, or the later base rule wins instead. */
@media (hover: none) {
  .recruiter-profile-page .notif-item-delete { opacity: 1; }
}
.recruiter-profile-page .notif-item-unread { background: #eef6ff; }
.recruiter-profile-page .notif-unread-dot {
  position: absolute;
  left: 6px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2b7de9;
}
.recruiter-profile-page .notif-item-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b7de9, #0d6492);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  box-shadow: 0 4px 10px rgba(43, 125, 233, .35);
}
.recruiter-profile-page .notif-item-icon-reminder {
  background: linear-gradient(135deg, #22b573, #0d8f57);
  box-shadow: 0 4px 10px rgba(34, 181, 115, .35);
}
.recruiter-profile-page .notif-item-icon-pending {
  background: linear-gradient(135deg, #f5a623, #c9780c);
  box-shadow: 0 4px 10px rgba(245, 166, 35, .35);
}
.recruiter-profile-page .notif-item-icon-new-candidate {
  background: linear-gradient(135deg, #8b5cf6, #6025c0);
  box-shadow: 0 4px 10px rgba(139, 92, 246, .4);
}
.recruiter-profile-page .notif-item-icon-milestone {
  background: linear-gradient(135deg, #14b8a6, #0d7d70);
  box-shadow: 0 4px 10px rgba(20, 184, 166, .4);
}
.recruiter-profile-page .notif-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.recruiter-profile-page .notif-item-title {
  font-weight: 700;
  font-size: .86rem;
  color: #17375e;
}
.recruiter-profile-page .notif-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.recruiter-profile-page .notif-vacancy-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e8f1fd;
  color: #175a9c;
  border: 1px solid #cfe3fb;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.recruiter-profile-page .notif-count-chip {
  display: inline-flex;
  align-items: center;
  background: #fff1e0;
  color: #b4610c;
  border: 1px solid #ffdcaa;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.recruiter-profile-page .notif-item-message {
  font-size: .79rem;
  color: #51627b;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.recruiter-profile-page .notif-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}
.recruiter-profile-page .notif-item-time {
  font-size: .7rem;
  color: #97a5ba;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.recruiter-profile-page .notif-item-cta {
  font-size: .72rem;
  font-weight: 700;
  color: #2b7de9;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s ease, transform .15s ease;
}
.recruiter-profile-page .notif-item:hover .notif-item-cta {
  opacity: 1;
  transform: translateX(0);
}
@media (hover: none) {
  .recruiter-profile-page .notif-item-cta { opacity: 1; transform: translateX(0); }
}
.recruiter-profile-page .nav-wrapper {
  background: linear-gradient(180deg, #0b63bb, #0d6492 60%, #06344d);
  border-bottom: 1px solid #06344d;
  box-shadow: 0 2px 6px rgba(6, 52, 77, .22);
}
/* Scoped to >=768px on purpose: the <=767px rule below (same selector) also
   sets `display`, so leaving this one unconditional would make the two rules
   fight on specificity-and-!important ties, won over only by source order -
   one stylesheet reorder away from silently breaking the mobile toggle. */
@media (min-width: 768px) {
  .recruiter-profile-page .nav-wrapper .navbar-collapse {
    display: block !important;
  }
}
.recruiter-profile-page .nav-tabs-custom {
  display: flex;
  justify-content: center;
  overflow-x: auto;
}
.recruiter-profile-page .tab-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  color: #eaf7ff;
  border-bottom-width: 3px;
  padding: 13px 17px;
  font-size: .78rem;
}
.recruiter-profile-page .tab-item.active {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-bottom-color: #ffd166;
}
.recruiter-profile-page .tab-item i { font-size: 1rem; }
.recruiter-profile-page .recruiter-nav-toggle { display: none; }
.recruiter-profile-page main.container {
  max-width: none;
  width: 100%;
  padding-top: 32px !important;
  padding-left: 32px;
  padding-right: 32px;
}
.recruiter-profile-page main > .row {
  align-items: flex-start;
  --bs-gutter-x: 24px;
  --bs-gutter-y: 24px;
}
.recruiter-profile-page .info-form,
.recruiter-profile-page .sidebar-card {
  background: #fff;
  border: 1px solid #d5dce5;
  border-radius: 9px;
  box-shadow: 0 3px 12px rgba(32, 47, 68, .09);
}
.recruiter-profile-page .info-form { overflow: hidden; }
.recruiter-profile-page .form-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--company-line);
}
.recruiter-profile-page .form-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.recruiter-profile-page .form-title-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 9px;
  color: var(--company-blue);
  background: #edf4ff;
}
.recruiter-profile-page .form-header h2 {
  color: var(--company-ink);
  font-size: 1.08rem;
  margin: 0;
}
.recruiter-profile-page .form-header p {
  color: var(--company-muted);
  font-size: .72rem;
  margin: 3px 0 0;
}
.recruiter-profile-page .form-body { padding: 24px 26px 28px; }
.recruiter-profile-page .form-section-title {
  color: var(--company-ink);
  font-size: .94rem;
  margin: 20px 0 16px;
  padding-bottom: 10px;
  border-bottom-color: var(--company-line);
}
.recruiter-profile-page .form-section-title:first-child { margin-top: 0; }
.recruiter-profile-page .form-group label {
  color: #495873;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.recruiter-profile-page .form-group label i { color: var(--company-blue); }
.recruiter-profile-page .required-mark {
  color: #d92d20;
  margin-left: 3px;
  font-weight: 700;
}
.recruiter-profile-page .form-control,
.recruiter-profile-page .form-select {
  min-height: 43px;
  border-color: #d8e0eb;
  border-radius: 6px;
  color: #46546c;
  font-size: .84rem;
  padding: .6rem .75rem;
}
.recruiter-profile-page .form-control:focus,
.recruiter-profile-page .form-select:focus {
  border-color: #76a9ed;
  box-shadow: 0 0 0 .2rem rgba(23, 105, 224, .12);
}
.recruiter-profile-page .sidebar { gap: 12px; }
.recruiter-profile-page .sidebar-card { padding: 15px; }
.recruiter-profile-page .sidebar-card h3 {
  color: var(--company-ink);
  font-size: .88rem;
  margin-bottom: 12px;
}
.recruiter-profile-page .upload-card-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}
.recruiter-profile-page .upload-card-heading h3 { margin-bottom: 0; }
.recruiter-profile-page .upload-card-heading small {
  display: block;
  color: var(--company-muted);
  font-size: .65rem;
  margin-top: 3px;
}
.recruiter-profile-page .upload-card-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 6px;
  color: var(--company-blue);
  background: #eaf2ff;
  font-size: .75rem;
}
.recruiter-profile-page .progress-info { margin-bottom: 8px; }
.recruiter-profile-page .progress-info span { color: var(--company-blue); font-size: .72rem; }
.recruiter-profile-page .progress-bar-wrapper {
  height: 7px;
  background: #dfe5ed;
  margin-top: 0;
}
.recruiter-profile-page .progress-bar { background: var(--company-blue); }
.recruiter-profile-page .sidebar-card > p {
  color: var(--company-muted);
  font-size: .68rem;
  margin: 8px 0 0;
}
.recruiter-profile-page .cv-placeholder {
  height: 145px;
  margin-bottom: 10px;
  border: 1px dashed #cbd6e5;
  background: #fbfcfe;
  color: var(--company-muted);
  overflow: hidden;
}
.recruiter-profile-page .logo-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  overflow: hidden;
}
.recruiter-profile-page .logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  overflow: hidden;
}
.recruiter-profile-page .logo-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.recruiter-profile-page .logo-upload-layout {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
.recruiter-profile-page .logo-upload-layout .logo-placeholder {
  width: 145px;
  height: 145px;
  margin: 0;
  border-radius: 14px;
}
.recruiter-profile-page .logo-upload-details strong {
  display: block;
  color: var(--company-ink);
  font-size: .82rem;
  margin-bottom: 5px;
}
.recruiter-profile-page .logo-upload-details p {
  color: var(--company-muted);
  font-size: .7rem;
  line-height: 1.5;
  margin: 0 0 13px;
}
.recruiter-profile-page .logo-upload-details .btn-add-cv { width: auto; }
.recruiter-profile-page .asset-delete-btn {
  display: inline-flex;
  width: auto;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 9px;
  border: 1px solid #f0b8b3;
  border-radius: 5px;
  background: #fff;
  color: #b42318;
  cursor: pointer;
  font-size: .67rem;
}
.recruiter-profile-page .asset-delete-btn:hover {
  background: #fff4f2;
  border-color: #d92d20;
}
.recruiter-profile-page .logo-empty-state {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  color: var(--company-muted);
  text-align: center;
}
.recruiter-profile-page .logo-empty-state i {
  color: #9aa9bc;
  font-size: 2rem;
  margin-bottom: 3px;
}
.recruiter-profile-page .logo-empty-state strong {
  color: #53647d;
  font-size: .78rem;
}
.recruiter-profile-page .logo-empty-state span { font-size: .68rem; }
.recruiter-profile-page .btn-add-cv {
  color: #fff;
  border: 1px solid var(--company-blue);
  border-radius: 6px;
  padding: 7px;
  background: var(--company-blue);
  font-size: .7rem;
  transition: background-color .2s ease, border-color .2s ease;
}
.recruiter-profile-page .btn-add-cv:hover {
  background: #1257bd;
  border-color: #1257bd;
}
.recruiter-profile-page .sidebar-card .profile-photo-wrapper {
  display: flex;
  width: 100%;
  height: 145px;
  border: 1px dashed #cbd6e5;
  border-radius: 7px;
  background: #fbfcfe;
  align-items: center;
  justify-content: center;
}
.recruiter-profile-page .sidebar-card .profile-photo-wrapper .profile-photo {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: contain;
  padding: 16px;
}
.recruiter-profile-page .sidebar-card .row.g-2 .profile-photo-wrapper {
  height: 96px;
}
.recruiter-profile-page .sidebar-card .row.g-2 .profile-photo { padding: 12px; }
.recruiter-profile-page .registration-upload-area {
  display: flex;
  min-height: 118px;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed #c8d5e5;
  border-radius: 8px;
  background: #f8fafc;
}
.recruiter-profile-page .registration-preview {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  padding: 12px;
}
.recruiter-profile-page .registration-preview-wrap {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.recruiter-profile-page .registration-pdf-card {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  color: #d64242;
}
.recruiter-profile-page .registration-pdf-card i { font-size: 1.7rem; }
.recruiter-profile-page .registration-pdf-card strong {
  color: #59677d;
  font-size: .65rem;
}
.recruiter-profile-page .registration-pdf-link {
  color: var(--company-blue);
  font-size: .6rem;
  font-weight: 700;
  text-decoration: none;
}
.recruiter-profile-page .registration-pdf-link:hover { text-decoration: underline; }
.recruiter-profile-page .registration-preview-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.recruiter-profile-page .registration-upload-action {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  color: var(--company-blue);
  cursor: pointer;
  font-size: .75rem;
  font-weight: 700;
}
.recruiter-profile-page .registration-upload-action i { font-size: 1rem; }
.recruiter-profile-page .registration-upload-action small {
  color: var(--company-muted);
  font-size: .63rem;
  font-weight: 400;
  line-height: 1.35;
}
.recruiter-profile-page .registration-upload-area .asset-delete-btn {
  margin-left: auto;
  align-self: flex-end;
  white-space: nowrap;
}
.recruiter-profile-page .gallery-heading { margin-bottom: 12px; }
.recruiter-profile-page .gallery-heading + .container-fluid .row { margin: 0; }
.recruiter-profile-page .office-gallery-grid > [class*="col-"] { padding: 0; }
.recruiter-profile-page .office-gallery-grid .profile-photo-wrapper {
  position: relative;
  height: auto !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  background: #f7f9fc;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.recruiter-profile-page .office-gallery-grid .profile-photo-wrapper:hover {
  border-color: #7da9e5;
  box-shadow: 0 4px 12px rgba(23, 105, 224, .16);
  transform: translateY(-1px);
}
.recruiter-profile-page .office-gallery-grid .profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 7px;
  object-fit: cover;
  background: #f1f5fa;
  padding: 0;
  cursor: pointer;
}
.recruiter-profile-page .office-gallery-grid .profile-photo[src$="office.png"] {
  object-fit: contain;
  padding: 19px;
  opacity: .64;
}
.recruiter-profile-page .office-gallery-grid .profile-add-btn {
  right: 6px;
  bottom: 6px;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(18, 61, 108, .25);
  font-size: 15px;
}
.recruiter-profile-page .office-gallery-grid .profile-remove-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  z-index: 2;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  color: #b42318;
  box-shadow: 0 2px 5px rgba(18, 61, 108, .25);
  cursor: pointer;
  font-size: .68rem;
}
.recruiter-profile-page .office-gallery-grid .profile-remove-btn:hover {
  background: #fff1ef;
  color: #8f1d13;
}
.recruiter-profile-page .event-gallery-grid > [class*="col-"] { padding: 0; }
.recruiter-profile-page .event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.recruiter-profile-page .event-gallery-grid > [class*="col-"] {
  width: auto;
  max-width: none;
}
.recruiter-profile-page .event-gallery-grid .profile-photo-wrapper {
  position: relative;
  height: auto !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  background: #f7f9fc;
}
.recruiter-profile-page .event-gallery-grid .profile-photo-wrapper:hover {
  border-color: #7da9e5;
  box-shadow: 0 4px 12px rgba(23, 105, 224, .16);
}
.recruiter-profile-page .event-gallery-grid .profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 7px;
  object-fit: cover;
  cursor: pointer;
}
.recruiter-profile-page .event-gallery-grid .profile-remove-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  z-index: 2;
}
.recruiter-profile-page .event-name-input,
.recruiter-profile-page .event-date-input {
  width: 100%;
  min-width: 0;
  margin-top: 5px;
  padding: 5px 6px;
  border: 1px solid #d7e0eb;
  border-radius: 5px;
  color: #31556d;
  font-size: 10px;
}
.recruiter-profile-page .event-name-input {
  height: 30px;
  background: #fff;
}
.recruiter-profile-page .event-date-input {
  height: 30px;
  background: #fff;
}
.recruiter-profile-page .event-name-input:focus,
.recruiter-profile-page .event-date-input:focus {
  outline: none;
  border-color: #2a7ab0;
  box-shadow: 0 0 0 2px rgba(42, 122, 176, .12);
}
.recruiter-profile-page .event-details-save {
  width: 100%;
  margin-top: 5px;
  padding: 4px 6px;
  border: 1px solid #0d4f76;
  border-radius: 5px;
  background: #135873;
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.recruiter-profile-page .event-details-save:hover {
  background: #0d4057;
  transform: translateY(-1px);
}

/* ── Event gallery card hover transition ── */
.recruiter-profile-page .event-gallery-grid .profile-photo-wrapper {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.recruiter-profile-page .event-gallery-grid .profile-photo-wrapper:hover {
  transform: translateY(-2px);
}

/* ── Event photo placeholder style ── */
.recruiter-profile-page .event-gallery-grid .profile-photo[src$="office.png"] {
  object-fit: contain;
  padding: 18px;
  opacity: .55;
  background: #f0f4f8;
}

/* ── Event remove & add buttons ── */
.recruiter-profile-page .event-gallery-grid .profile-remove-btn {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  color: #b42318;
  box-shadow: 0 2px 6px rgba(18, 61, 108, .28);
  cursor: pointer;
  font-size: .68rem;
  transition: background .18s ease, color .18s ease;
}
.recruiter-profile-page .event-gallery-grid .profile-remove-btn:hover {
  background: #fff1ef;
  color: #8f1d13;
}
.recruiter-profile-page .event-gallery-grid .profile-add-btn {
  right: 6px;
  bottom: 6px;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(18, 61, 108, .25);
  font-size: 15px;
  background: var(--company-blue, #2a7ab0);
}

/* ── Edit (pen) button – top-left corner ── */
.recruiter-profile-page .event-edit-btn {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 3;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #2a7ab0;
  box-shadow: 0 2px 6px rgba(18, 61, 108, .22);
  cursor: pointer;
  font-size: .62rem;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.recruiter-profile-page .event-edit-btn:hover {
  background: #2a7ab0;
  color: #fff;
  transform: scale(1.1);
}

/* ── Meta overlay – gradient bar at bottom of card ── */
.recruiter-profile-page .event-meta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 20px 8px 7px;
  background: linear-gradient(to top, rgba(10, 24, 50, .82) 0%, rgba(10, 24, 50, .0) 100%);
  border-radius: 0 0 7px 7px;
  pointer-events: none;
}
.recruiter-profile-page .event-overlay-name {
  display: block;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  letter-spacing: .01em;
}
.recruiter-profile-page .event-overlay-date {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, .82);
  font-size: .63rem;
  font-weight: 500;
  margin-top: 2px;
}
.recruiter-profile-page .event-overlay-date i {
  font-size: .58rem;
  opacity: .85;
}

/* ── "Add Details" badge nudge ── */
.recruiter-profile-page .event-no-details-badge {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(42, 122, 176, .88);
  color: #fff;
  font-size: .6rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(18, 61, 108, .3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.recruiter-profile-page .event-no-details-badge i {
  font-size: .55rem;
}

/* ── Gallery hint strip ── */
.recruiter-profile-page .event-gallery-hint {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 7px;
  background: #eef5ff;
  border: 1px solid #d0e4f7;
  color: #3d6b8f;
  font-size: .78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.recruiter-profile-page .event-gallery-hint i {
  font-size: .85rem;
  flex-shrink: 0;
}

/* ── Event Details Modal styling ── */
.recruiter-profile-page .event-modal-content {
  border: none;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(10, 24, 50, .22);
  overflow: hidden;
}
.recruiter-profile-page .event-modal-header {
  background: linear-gradient(135deg, #f4fbff 0%, #e8f4fb 100%);
  border-bottom: 1px solid #d0e6f5;
  padding: 18px 22px 14px;
}
.recruiter-profile-page .event-modal-icon-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2a7ab0 0%, #135873 100%);
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(19, 88, 115, .3);
}
.recruiter-profile-page .event-modal-preview-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d7e5f0;
  background: #f5f9fc;
}
.recruiter-profile-page .event-modal-img-wrap {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}
.recruiter-profile-page .event-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.recruiter-profile-page .event-modal-img-wrap img[src$="office.png"] {
  object-fit: contain;
  padding: 30px;
  opacity: .5;
  background: #f0f4f8;
}
.recruiter-profile-page .event-modal-change-img-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 5px 12px;
  border: none;
  border-radius: 7px;
  background: rgba(19, 88, 115, .88);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .18s ease;
}
.recruiter-profile-page .event-modal-change-img-btn:hover {
  background: rgba(13, 64, 87, .96);
}
.recruiter-profile-page .event-modal-slot-indicator {
  padding: 6px 10px;
  background: #f5f9fc;
  border-top: 1px solid #e4edf5;
}
.recruiter-profile-page .event-modal-slot-indicator .badge {
  background: #dceefa;
  color: #1a5f82;
  font-size: .7rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 10px;
}
.recruiter-profile-page .event-modal-input {
  border-color: #cddce9;
  border-radius: 8px;
  font-size: .9rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.recruiter-profile-page .event-modal-input:focus {
  border-color: #2a7ab0;
  box-shadow: 0 0 0 3px rgba(42, 122, 176, .14);
}
.recruiter-profile-page .event-slot-navigation {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e8eff5;
}
.recruiter-profile-page .event-slot-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.recruiter-profile-page .event-slot-dots .slot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cddce9;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.recruiter-profile-page .event-slot-dots .slot-dot.active {
  background: #2a7ab0;
  transform: scale(1.3);
}
.recruiter-profile-page .event-slot-dots .slot-dot.filled {
  background: #7bb8d8;
}
.recruiter-profile-page .event-modal-footer {
  background: #f8fbfd;
  border-top: 1px solid #dde9f2;
  padding: 12px 22px;
}

@media (max-width: 575px) {
  .recruiter-profile-page .event-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
.recruiter-profile-page .profile-add-btn {
  width: 18px;
  height: 18px;
  right: -6px;
  bottom: -6px;
  border: 2px solid #fff;
  background: var(--company-blue);
  font-size: 14px;
  line-height: 1;
}
.recruiter-profile-page .company-banner-upload-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  max-width: none;
  padding: 16px;
  border: 1px solid var(--company-line);
  border-radius: 7px;
  background: #fbfcfe;
  box-shadow: none;
}
.recruiter-profile-page .banner-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: var(--company-muted);
}
.recruiter-profile-page .banner-info-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 7px;
  color: var(--company-blue);
  background: #eaf2ff;
}
.recruiter-profile-page .banner-info strong,
.recruiter-profile-page .banner-info small,
.recruiter-profile-page .banner-info .tag {
  display: block;
}
.recruiter-profile-page .banner-info strong {
  color: var(--company-ink);
  font-size: .78rem;
  margin-bottom: 6px;
}
.recruiter-profile-page .banner-info .tag {
  width: fit-content;
  color: var(--company-blue);
  background: #eaf2ff;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 7px;
}
.recruiter-profile-page .banner-info small {
  margin-top: 8px;
  font-size: .67rem;
  line-height: 1.4;
}
.recruiter-profile-page .banner-content { min-width: 0; }
.recruiter-profile-page .banner-preview-box {
  min-height: 135px;
  border-color: #cbd6e5;
  background: #f4f7fb;
  margin-bottom: 8px;
}
.recruiter-profile-page .banner-meta { color: var(--company-muted); font-size: .66rem; }
.recruiter-profile-page .banner-meta .tag { color: var(--company-blue); background: #eaf2ff; }
.recruiter-profile-page .banner-upload-btn,
.recruiter-profile-page .banner-remove-btn {
  border-radius: 6px;
  box-shadow: none;
  font-size: .7rem;
  padding: 7px 11px;
}
.recruiter-profile-page .banner-upload-btn { background: var(--company-blue); }
.recruiter-profile-page .banner-status { font-size: .65rem; margin: 8px 0 0; }
.recruiter-profile-page .banner-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.recruiter-profile-page .banner-footer .banner-status { margin: 0; }
.recruiter-profile-page .banner-footer .banner-actions { margin-top: 0; justify-content: flex-end; }
.recruiter-profile-page .profile-form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--company-line);
}
.recruiter-profile-page #edit-info-btn.profile-save-btn {
  display: inline-flex;
  width: auto;
  min-width: 145px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  font-size: .78rem;
  font-weight: 600;
}

/* Published vacancies workspace */
.recruiter-profile-page .published-vacancies-main {
  padding-top: 34px !important;
  padding-bottom: 48px;
}
.published-page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.published-intro-copy { min-width: 0; }
.published-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--company-blue);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.published-kicker i { font-size: .75rem; }
.published-page-intro h1 {
  color: var(--company-ink);
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 8px 0 6px;
}
.published-page-intro p {
  max-width: 620px;
  color: var(--company-muted);
  font-size: .82rem;
  line-height: 1.55;
  margin: 0;
}
.published-create-btn,
.published-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid var(--company-blue);
  border-radius: 6px;
  background: var(--company-blue);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  padding: 10px 14px;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.published-create-btn:hover,
.published-empty-btn:hover {
  border-color: #1257bd;
  background: #1257bd;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.published-vacancy-panel {
  overflow: hidden;
  border: 1px solid #d5dce5;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(32, 47, 68, .09);
}
.published-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--company-line);
}
.published-panel-header h2 {
  color: var(--company-ink);
  font-size: 1rem;
  margin: 0 0 4px;
}
.published-panel-header p {
  color: var(--company-muted);
  font-size: .72rem;
  margin: 0;
}
.published-panel-icon,
.published-empty-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  color: var(--company-blue);
  background: #edf4ff;
}
.published-panel-icon {
  width: 38px;
  height: 38px;
  font-size: .95rem;
}
.published-table-wrap {
  overflow-x: auto;
  padding: 4px 18px 18px;
}
.published-vacancy-table {
  min-width: 720px;
  margin: 0;
  color: #46546c;
  font-size: .78rem;
  vertical-align: middle;
}
.published-vacancy-table thead th {
  border-top: 0;
  border-bottom: 1px solid #dfe6ef;
  color: #71809a;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 14px 10px 11px;
  text-transform: uppercase;
  white-space: nowrap;
}
.published-vacancy-table tbody td {
  border-color: #edf1f5;
  padding: 14px 10px;
}
.published-vacancy-table tbody tr:last-child td { border-bottom: 0; }
.published-vacancy-table tbody tr:hover { background: #f8fbff; }
.vacancy-title {
  display: block;
  min-width: 150px;
  max-width: 320px;
  white-space: normal;
  word-break: break-word;
  color: var(--company-ink);
  font-size: .8rem;
  text-transform: uppercase;
}
.vacancy-category {
  display: inline-block;
  max-width: 190px;
  color: #63718a;
  line-height: 1.35;
  text-transform: uppercase;
}
.vacancy-banner-link {
  display: inline-flex;
  overflow: hidden;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e0eb;
  border-radius: 6px;
  background: #f8fafc;
}
.vacancy-banner-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vacancy-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 700;
  padding: 5px 8px;
  white-space: nowrap;
}
.vacancy-status-review { color: #8a6100; background: #fff5cc; }
.vacancy-status-published { color: #14763c; background: #dcf8e8; }
.vacancy-status-rejected { color: #b42318; background: #fff0ee; }
.vacancy-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbd8e8;
  border-radius: 5px;
  background: #fff;
  color: var(--company-blue);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 700;
  padding: 7px 9px;
  white-space: nowrap;
}
.vacancy-view-btn:hover {
  border-color: var(--company-blue);
  background: #edf4ff;
}
.vacancy-actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vacancy-duplicate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbd8e8;
  border-radius: 5px;
  background: #fff;
  color: #0c76b5;
  cursor: pointer;
  font-size: .68rem;
  font-weight: 700;
  padding: 7px 9px;
  white-space: nowrap;
}
.vacancy-duplicate-btn:hover {
  border-color: #0c76b5;
  background: #f2f9fd;
}
.vacancy-ai-flyer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbd8e8;
  border-radius: 5px;
  background: #fff;
  color: #06344d;
  font-size: .68rem;
  font-weight: 700;
  padding: 7px 9px;
  white-space: nowrap;
  text-decoration: none;
}
.vacancy-ai-flyer-btn:hover {
  border-color: #06344d;
  background: #eef6fc;
  color: #06344d;
}
.vacancy-details-popup .swal2-title {
  display: none;
}
.vacancy-details-popup .swal2-html-container {
  max-height: calc(100vh - 120px);
  margin: 0;
  overflow-y: auto;
  padding: 24px 28px 28px;
}
.vacancy-details-content { text-align: left; }
.vacancy-details-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 4px 20px;
  border-bottom: 1px solid var(--company-line);
}
.vacancy-details-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--company-blue);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.vacancy-details-hero h2 {
  overflow-wrap: anywhere;
  color: var(--company-ink);
  font-size: 1.3rem;
  line-height: 1.25;
  margin: 8px 0 5px;
}
.vacancy-details-hero p {
  color: var(--company-muted);
  font-size: .74rem;
  margin: 0;
}
.vacancy-details-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  padding: 7px 10px;
  white-space: nowrap;
}
.vacancy-details-status i { font-size: .45rem; }
.vacancy-details-status-review { color: #8a6100; background: #fff5cc; }
.vacancy-details-status-under-review { color: #8a6100; background: #fff5cc; }
.vacancy-details-status-published { color: #14763c; background: #dcf8e8; }
.vacancy-details-status-rejected { color: #b42318; background: #fff0ee; }
.vacancy-details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
  gap: 18px;
  padding-top: 20px;
}
.vacancy-details-banner {
  overflow: hidden;
  height: 220px;
  margin: 0;
  border: 1px solid #d8e0eb;
  border-radius: 7px;
  background: #f4f7fb;
  text-align: center;
}
.vacancy-details-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vacancy-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
}
.vacancy-details-grid > div {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #e3e9f1;
  border-radius: 6px;
  background: #f8fafc;
}
.vacancy-details-grid span,
.vacancy-details-grid strong {
  display: block;
}
.vacancy-details-grid span {
  color: var(--company-muted);
  font-size: .63rem;
  margin-bottom: 4px;
}
.vacancy-details-grid strong {
  overflow-wrap: anywhere;
  color: var(--company-ink);
  font-size: .76rem;
}
.vacancy-details-grid .vacancy-details-wide { grid-column: 1 / -1; }
.vacancy-details-stat {
  background: #eaf2ff;
  border-color: #cfe0f5;
}
.vacancy-details-stat span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--company-blue);
}
.vacancy-details-stat strong { color: var(--company-ink); font-size: .95rem; }
.vacancy-requirements-section {
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid #e3e9f1;
  border-radius: 7px;
  background: #f8fafc;
}
.vacancy-requirements-section h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--company-ink);
  font-size: .78rem;
  margin: 0 0 8px;
}
.vacancy-requirements-section h3 i { color: var(--company-blue); }
.vacancy-requirements-section p {
  color: #53647d;
  font-size: .75rem;
  line-height: 1.6;
  margin: 0;
  white-space: pre-line;
}
.published-loading-state,
.published-empty-state {
  display: flex;
  min-height: 265px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px 20px;
  text-align: center;
}
.published-loading-state {
  color: var(--company-muted);
  font-size: .78rem;
  gap: 9px;
}
.published-loading-state i { color: var(--company-blue); font-size: 1.2rem; }
.published-empty-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 14px;
  font-size: 1.25rem;
}
.published-empty-state h3 {
  color: var(--company-ink);
  font-size: .98rem;
  margin: 0 0 6px;
}
.published-empty-state p {
  max-width: 360px;
  color: var(--company-muted);
  font-size: .75rem;
  line-height: 1.5;
  margin: 0 0 16px;
}
.published-empty-btn { font-size: .72rem; padding: 8px 12px; }
.published-error-state .published-empty-icon { color: #b42318; background: #fff0ee; }

/* Keep the DataTables controls quiet and consistent with the workspace. */
.recruiter-profile-page .dataTables_wrapper {
  color: var(--company-muted);
  font-size: .72rem;
  padding-top: 12px;
}
.recruiter-profile-page .dataTables_wrapper .dataTables_filter input,
.recruiter-profile-page .dataTables_wrapper .form-select {
  border: 1px solid #d8e0eb;
  border-radius: 5px;
  color: #46546c;
  font-size: .72rem;
}
.recruiter-profile-page .dataTables_wrapper .dataTables_paginate .page-link {
  color: var(--company-blue);
  font-size: .7rem;
}

/* Received applications workspace */
.recruiter-profile-page .received-cvs-main {
  padding-top: 34px !important;
  padding-bottom: 48px;
}
.received-page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.received-intro-copy { min-width: 0; }
.received-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--company-blue);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.received-page-intro h1 {
  color: var(--company-ink);
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 8px 0 6px;
}
.received-page-intro p {
  max-width: 650px;
  color: var(--company-muted);
  font-size: .82rem;
  line-height: 1.55;
  margin: 0;
}
.received-create-btn,
.received-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid var(--company-blue);
  border-radius: 6px;
  background: var(--company-blue);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  padding: 10px 14px;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.received-create-btn:hover,
.received-empty-btn:hover {
  border-color: #1257bd;
  background: #1257bd;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.received-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.received-summary-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #d5dce5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(32, 47, 68, .06);
}
.received-summary-icon,
.received-panel-icon,
.received-empty-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--company-blue);
  background: #edf4ff;
}
.received-summary-icon { width: 34px; height: 34px; font-size: .85rem; }
.received-summary-icon-review { color: #8a6100; background: #fff5cc; }
.received-summary-icon-chat { color: #14763c; background: #dcf8e8; }
.received-summary-card strong,
.received-summary-card small { display: block; }
.received-summary-card strong { color: var(--company-ink); font-size: .76rem; }
.received-summary-card small { color: var(--company-muted); font-size: .64rem; margin-top: 3px; }
.received-applications-panel {
  overflow: hidden;
  border: 1px solid #d5dce5;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(32, 47, 68, .09);
}
.received-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--company-line);
}
.received-panel-header h2 { color: var(--company-ink); font-size: 1rem; margin: 0 0 4px; }
.received-panel-header p { color: var(--company-muted); font-size: .72rem; margin: 0; }
.received-panel-icon { width: 38px; height: 38px; font-size: .95rem; }
.received-table-wrap { overflow-x: auto; padding: 4px 18px 18px; }
.received-candidates-table {
  min-width: 1040px;
  margin: 0;
  color: #46546c;
  font-size: .75rem;
  vertical-align: middle;
}
.received-candidates-table thead th {
  border-top: 0;
  border-bottom: 1px solid #dfe6ef;
  color: #71809a;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 14px 9px 11px;
  text-transform: uppercase;
  white-space: nowrap;
}
.received-candidates-table tbody td { border-color: #edf1f5; padding: 12px 9px; }
.received-candidates-table tbody tr:last-child td { border-bottom: 0; }
.received-candidates-table tbody tr:hover { background: #f8fbff; }
.received-job-title {
  display: block;
  min-width: 140px;
  max-width: 320px;
  white-space: normal;
  word-break: break-word;
  color: var(--company-ink);
  font-size: .77rem;
  text-transform: uppercase;
}
.received-category {
  display: inline-block;
  max-width: 190px;
  color: #63718a;
  white-space: normal;
  word-break: break-word;
  text-transform: uppercase;
}
.received-candidate {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 145px;
  width: 100%;
  padding: 4px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  transition: background .15s ease;
}
.received-candidate:hover { background: #eaf2ff; }
.received-candidate:hover strong { color: var(--company-blue); }
.received-candidate strong { color: var(--company-ink); font-size: .75rem; }
.received-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 50%;
  color: var(--company-blue);
  background: #eaf2ff;
  font-size: .62rem;
  font-weight: 700;
  overflow: hidden;
}
.received-avatar-img img { width: 100%; height: 100%; object-fit: cover; }
.received-contact { min-width: 170px; }
.received-contact span,
.received-contact small { display: block; overflow-wrap: anywhere; }
.received-contact span { color: #46546c; font-size: .7rem; }
.received-contact small { color: var(--company-muted); font-size: .65rem; margin-top: 3px; }
.received-banner-link {
  display: inline-flex;
  overflow: hidden;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e0eb;
  border-radius: 5px;
  background: #f8fafc;
}
.received-banner-link img { width: 100%; height: 100%; object-fit: cover; }
.received-cv-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--company-blue);
  font-size: .68rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.received-cv-link:hover { color: #1257bd; text-decoration: underline; }
.received-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 700;
  padding: 5px 8px;
  white-space: nowrap;
}
.received-status-review { color: #8a6100; background: #fff5cc; }
.received-status-accepted { color: #14763c; background: #dcf8e8; }
.received-status-rejected { color: #b42318; background: #fff0ee; }
.received-icon-btn {
  display: inline-grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid #cbd8e8;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  font-size: .7rem;
}
.received-status-btn { color: #8a6100; }
.received-status-btn:hover { background: #fff8e6; border-color: #c59b2c; }
.received-chat-link { color: var(--company-blue); font-size: 1rem; }
.received-chat-link:hover { color: #1257bd; }
.received-loading-state,
.received-empty-state {
  display: flex;
  min-height: 265px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px 20px;
  text-align: center;
}
.received-loading-state { color: var(--company-muted); font-size: .78rem; gap: 9px; }
.received-loading-state i { color: var(--company-blue); font-size: 1.2rem; }
.received-empty-icon { width: 54px; height: 54px; margin-bottom: 14px; border-radius: 14px; font-size: 1.25rem; }
.received-empty-state h3 { color: var(--company-ink); font-size: .98rem; margin: 0 0 6px; }
.received-empty-state p { max-width: 380px; color: var(--company-muted); font-size: .75rem; line-height: 1.5; margin: 0 0 16px; }
.received-empty-btn { font-size: .72rem; padding: 8px 12px; }
.received-error-state .received-empty-icon { color: #b42318; background: #fff0ee; }

@media (max-width: 767px) {
  .recruiter-profile-page .profile-header-inner {
    position: relative;
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 20px 16px;
  }
  .recruiter-profile-page .profile-info {
    order: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-right: 0;
  }
  .recruiter-profile-page .profile-info .profile-photo-wrapper {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
    margin: 0 auto;
  }
  .recruiter-profile-page .profile-info .profile-photo-wrapper.profile-photo-fallback {
    font-size: 1.25rem;
  }
  .recruiter-profile-page .profile-meta { justify-content: center; }
  .recruiter-profile-page .profile-actions { order: 2; width: 100%; margin-left: 0 !important; }
  .recruiter-profile-page .profile-actions .btn { flex: 1; }
  /* The bell is a div.notif-wrapper, not a .btn, so the flex:1 rule above
     never touched it - it stayed content-width next to two now-stretched
     buttons. Pin it to its icon size explicitly instead of leaving it to
     flexbox's default, matching the working pattern in seeker_nav.php. */
  .recruiter-profile-page .notif-wrapper {
    flex: 0 0 auto;
    display: flex;
  }
  /* The real cause of the hamburger menu appearing broken: a generic,
     unscoped `.nav-wrapper { overflow-x: auto; }` at <=576px (line ~285,
     written for a horizontally-scrolling tab bar elsewhere) forces
     `overflow-y` to auto-compute too (CSS visible/non-visible overflow-x/y
     pairing rule). Combined with this element's own `position: sticky`,
     that collapses `.nav-wrapper`'s box to ~1px tall - the collapse menu
     was genuinely opening (display:block, .show applied) but entirely
     clipped off-screen, invisible. Restoring normal overflow here is what
     actually makes the toggle visibly work, not just the display rule
     above.  */
  .recruiter-profile-page .nav-wrapper {
    overflow: visible;
  }
  /* Popup card had no mobile rule at all before this - anchoring `right: 0`
     off a wrapper that is now a fixed-size flex item still risks running off
     a narrow viewport, so pin it to the viewport itself instead of to the
     bell button on small screens. */
  .recruiter-profile-page .notif-dropdown {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 88px);
  }
  .recruiter-profile-page .notif-dropdown::before {
    display: none;
  }
  .recruiter-profile-page .recruiter-nav-toggle {
    display: block;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    border-color: rgba(255, 255, 255, .55);
    background-color: transparent;
    padding: .45rem .65rem;
  }
  .recruiter-profile-page .recruiter-nav-toggle .navbar-toggler-icon {
    display: block;
    width: 22px;
    height: 16px;
    background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff) !important;
    background-position: 0 0, 0 7px, 0 14px;
    background-repeat: no-repeat;
    background-size: 22px 2px;
    filter: none;
  }
  .recruiter-profile-page .nav-wrapper .navbar-collapse {
    display: none !important;
    background: #0c649d;
  }
  .recruiter-profile-page .nav-wrapper .navbar-collapse.show { display: block !important; }
  .recruiter-profile-page .nav-tabs-custom {
    display: block;
    padding: 6px 12px 10px;
  }
  .recruiter-profile-page .tab-item {
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    padding: 13px 10px;
  }
  .recruiter-profile-page .tab-item.active { border-left: 3px solid #ffd166; }
  .recruiter-profile-page .form-header { align-items: flex-start; gap: 12px; }
  .recruiter-profile-page .form-header p { max-width: 190px; }
  .recruiter-profile-page main.container {
    padding: 12px 12px 24px !important;
  }
  .recruiter-profile-page .form-body { padding: 20px 16px 24px; }
  .recruiter-profile-page .form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .recruiter-profile-page .form-group,
  .recruiter-profile-page .form-group.full-width {
    min-width: 0;
    width: 100%;
  }
  .recruiter-profile-page .form-title-wrap { align-items: flex-start; }
  .recruiter-profile-page .sidebar-card .row.g-2 .profile-photo-wrapper { height: 88px; }
  .recruiter-profile-page .registration-upload-area { min-height: 104px; gap: 12px; }
  .recruiter-profile-page .registration-preview {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    padding: 9px;
  }
  .recruiter-profile-page .registration-preview-wrap {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }
  .recruiter-profile-page .registration-upload-area .asset-delete-btn {
    margin-left: 0;
    align-self: flex-start;
  }
  .recruiter-profile-page .company-banner-upload-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .recruiter-profile-page .banner-preview-box img {
    object-fit: contain;
  }
  .recruiter-profile-page .banner-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .recruiter-profile-page .banner-footer .banner-actions { justify-content: stretch; }
  .recruiter-profile-page .logo-upload-layout {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 13px;
  }
  .recruiter-profile-page .logo-upload-layout .logo-placeholder {
    width: 108px;
    height: 108px;
  }
  .recruiter-profile-page .logo-upload-details p { font-size: .67rem; }
  .recruiter-profile-page .logo-upload-details .btn-add-cv { width: 100%; }
  .recruiter-profile-page .profile-form-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .recruiter-profile-page #edit-info-btn.profile-save-btn { width: 100%; }
  .published-page-intro {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .published-page-intro h1 { font-size: 1.35rem; }
  .published-create-btn { width: 100%; }
  .published-panel-header { padding: 16px; }
  .published-table-wrap { padding: 4px 10px 14px; }
  .vacancy-details-grid { grid-template-columns: 1fr; }
  .vacancy-details-grid .vacancy-details-wide { grid-column: auto; }
  .vacancy-details-hero { flex-direction: column; gap: 12px; }
  .vacancy-details-layout { grid-template-columns: 1fr; }
  .vacancy-details-banner { height: 180px; }
  .received-page-intro { align-items: stretch; flex-direction: column; gap: 16px; }
  .received-page-intro h1 { font-size: 1.35rem; }
  .received-create-btn { width: 100%; }
  .received-summary-grid { grid-template-columns: 1fr; }
  .received-panel-header { padding: 16px; }
  .received-table-wrap { padding: 4px 10px 14px; }
}

@media (min-width: 768px) and (max-width: 1050px) {
  .recruiter-profile-page .profile-header-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 20px 24px;
  }
  .recruiter-profile-page .profile-actions {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Recruiter dashboard
   ========================================================================== */
.recruiter-profile-page .dashboard-main {
  max-width: 1500px;
  margin: 0 auto;
}

.dash-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.dash-welcome-copy { min-width: 0; }
.dash-welcome h1 {
  margin: 0;
  color: var(--company-ink);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.dash-wave { font-size: 1.25rem; }
.dash-welcome p {
  margin: 6px 0 0;
  color: var(--company-muted);
  font-size: .82rem;
}
.dash-post-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--company-blue);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 11px 18px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(6, 52, 77, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.dash-post-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(6, 52, 77, .28);
}

.dash-inline-error {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid #f4c7c0;
  border-radius: 10px;
  background: #fff0ee;
  color: #b42318;
  font-size: .78rem;
}

.dash-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 22px;
}
.dash-col-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.dash-col-side { display: flex; flex-direction: column; gap: 18px; }

/* --- Stat cards (full-width top row) --- */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.dash-stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  border: 1px solid var(--company-line);
  border-top: 3px solid #2b7de9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 52, 77, .06);
  overflow: hidden;
}
.dash-stat-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: currentColor;
  opacity: .06;
}
.dash-stat-vacancies { color: #2b7de9; border-top-color: #2b7de9; }
.dash-stat-applications { color: #6b4eff; border-top-color: #6b4eff; }
.dash-stat-pending { color: #d68910; border-top-color: #d68910; }
.dash-stat-accepted { color: #14763c; border-top-color: #14763c; }
.dash-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: #eaf2ff;
  color: var(--company-blue);
  font-size: 1rem;
}
.dash-stat-vacancies .dash-stat-icon { background: #e5f0ff; color: #2b7de9; }
.dash-stat-applications .dash-stat-icon { background: #ece9ff; color: #6b4eff; }
.dash-stat-pending .dash-stat-icon { background: #fff5cc; color: #8a6100; }
.dash-stat-accepted .dash-stat-icon { background: #dcf8e8; color: #14763c; }
.dash-stat-label,
.dash-stat-sub { position: relative; }
.dash-stat-value {
  position: relative;
  color: var(--company-ink);
}
.dash-stat-label {
  color: var(--company-muted);
  font-size: .74rem;
  font-weight: 600;
}
.dash-stat-value {
  color: var(--company-ink);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
}
.dash-stat-sub {
  color: var(--company-muted);
  font-size: .68rem;
}
.dash-stat-link {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--company-blue);
  font-size: .78rem;
  opacity: .55;
  text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
}
.dash-stat-link:hover { color: var(--company-blue); opacity: 1; transform: translateX(2px); }

/* --- Panels (tables) --- */
.dash-panel {
  min-width: 0;
  border: 1px solid var(--company-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 52, 77, .06);
}
.dash-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--company-line);
}
.dash-panel-header h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--company-ink);
  font-size: .95rem;
  font-weight: 700;
}
.dash-panel-header h2 i { color: var(--company-blue); font-size: .9rem; }
.dash-panel-link,
.dash-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--company-blue);
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.dash-panel-link:hover,
.dash-card-link:hover { color: var(--company-blue); text-decoration: underline; }

.dash-table-wrap { overflow-x: auto; padding: 4px 8px 8px; }
.dash-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  color: #46546c;
  font-size: .78rem;
}
.dash-vacancies-table { min-width: 720px; }
.dash-table thead th {
  padding: 12px 12px 10px;
  border-bottom: 1px solid #dfe6ef;
  color: #71809a;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
.dash-table tbody td {
  padding: 13px 12px;
  border-bottom: 1px solid #edf1f5;
  vertical-align: middle;
}
.dash-table tbody tr:last-child td { border-bottom: 0; }
.dash-table tbody tr:hover td { background: #f8fbff; }
.dash-app-row-clickable { cursor: pointer; }
.dash-app-row-clickable:hover td { background: #eef5ff; }
.dash-app-row-clickable:hover .dash-candidate-text strong { color: var(--company-blue); }
.dash-app-row-clickable:focus-visible td { background: #eef5ff; }
.dash-app-row-clickable:focus-visible { outline: 2px solid var(--company-blue); outline-offset: -2px; }
.dash-loading-row td,
.dash-loading-row,
.dash-empty-row td,
.dash-empty-row {
  padding: 22px 12px !important;
  color: var(--company-muted);
  font-size: .76rem;
  text-align: center;
}
.dash-loading-row i { color: var(--company-blue); margin-right: 6px; }

.dash-candidate { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dash-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--company-blue);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
}
.dash-avatar-img { background: #edf1f7; }
.dash-avatar-img img { width: 100%; height: 100%; object-fit: cover; }
.dash-candidate-text { display: flex; flex-direction: column; min-width: 0; }
.dash-candidate-text strong { color: var(--company-ink); font-size: .78rem; }
.dash-candidate-text small,
.dash-cell-stack small { color: var(--company-muted); font-size: .68rem; }
.dash-cell-stack small { text-transform: uppercase; }
.dash-cell-stack { display: flex; flex-direction: column; min-width: 0; }
.dash-cell-stack strong {
  display: block;
  max-width: 220px;
  white-space: normal;
  overflow-wrap: break-word;
  color: var(--company-ink);
  font-size: .78rem;
  text-transform: uppercase;
}
.dash-vacancy-title {
  display: block;
  min-width: 140px;
  max-width: 260px;
  white-space: normal;
  overflow-wrap: break-word;
  color: var(--company-ink);
  font-size: .8rem;
  text-transform: uppercase;
}

.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 700;
  padding: 5px 10px;
  white-space: nowrap;
}
.dash-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.dash-pill-under-review,
.dash-pill-pending { color: #8a6100; background: #fff5cc; }
.dash-pill-accepted,
.dash-pill-published { color: #14763c; background: #dcf8e8; }
.dash-pill-rejected,
.dash-pill-declined { color: #b42318; background: #fff0ee; }

.dash-row-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd8e8;
  border-radius: 6px;
  background: #fff;
  color: var(--company-blue);
  font-size: .7rem;
  font-weight: 700;
  padding: 6px 14px;
  text-decoration: none;
}
.dash-row-btn:hover { border-color: var(--company-blue); background: #edf4ff; color: var(--company-blue); }

/* --- Shared candidate profile popup (recruiter side, everywhere) --- */
.cp-popup {
  border-radius: 20px !important;
  padding: 0 !important;
  overflow: hidden;
}
.cp-popup .swal2-html-container { margin: 0 !important; padding: 0 !important; }
.cp-popup .swal2-close {
  z-index: 5;
  color: var(--company-ink);
  top: 14px;
  right: 14px;
}
.cp-popup .swal2-close:hover { color: #000; }

.cp-hover-popup {
  position: fixed;
  z-index: 99999;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, #06344d 0%, #0d6492 55%, #12a4b8 100%);
  box-shadow: 0 14px 32px rgba(6, 52, 77, .35);
  pointer-events: none;
  max-width: 180px;
  text-align: center;
}
.cp-hover-popup.is-visible { display: flex; }
.cp-hover-popup.is-measuring { visibility: hidden; }
.cp-hover-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, .75);
  background: #fff;
  color: var(--company-blue);
  font-size: 1.15rem;
  font-weight: 700;
}
.cp-hover-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cp-hover-avatar.cp-hover-avatar-fallback { background: #fff; }
.cp-hover-name {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.cp-modal {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  max-height: 88vh;
  text-align: left;
}

.cp-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 40px 24px 24px;
  background: linear-gradient(160deg, #06344d 0%, #0d6492 55%, #12a4b8 100%);
  color: #fff;
  text-align: center;
  overflow-y: auto;
}
.cp-avatar-wrap { position: relative; width: 96px; height: 96px; margin-bottom: 14px; }
.cp-avatar,
.cp-avatar-fallback {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, .75);
  background: #fff;
}
.cp-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--company-blue);
}
.cp-name { margin: 0; overflow-wrap: anywhere; font-size: 1.15rem; font-weight: 700; color: #fff; }
.cp-headline { margin-top: 2px; overflow-wrap: anywhere; font-size: .82rem; color: rgba(255, 255, 255, .82); min-height: 1em; }
.cp-headline:empty { display: none; min-height: 0; margin-top: 0; }
.cp-status-wrap { margin-top: 2px; }
.cp-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.cp-status-accepted { background: rgba(20, 118, 60, .35); }
.cp-status-declined { background: rgba(180, 35, 24, .35); }
.cp-status-pending { background: rgba(138, 97, 0, .35); }

.cp-status-actions:empty { display: none; }
.cp-status-buttons { display: flex; flex-direction: row; gap: 6px; width: 100%; margin-top: 12px; }
.cp-status-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.cp-status-btn i { flex: 0 0 auto; }
.cp-status-btn:disabled { opacity: .6; cursor: not-allowed; }
.cp-status-btn-approve { background: rgba(20, 118, 60, .9); color: #fff; }
.cp-status-btn-approve:hover:not(:disabled) { background: rgb(20, 118, 60); }
.cp-status-btn-reject { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }
.cp-status-btn-reject:hover:not(:disabled) { background: rgba(180, 35, 24, .55); border-color: transparent; }
.cp-status-feedback {
  min-height: 1.2em;
  margin-top: 6px;
  color: rgba(255, 255, 255, .85);
  font-size: .68rem;
  text-align: center;
}

.cp-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.cp-contact-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
  color: rgba(255, 255, 255, .92);
  font-size: .78rem;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
.cp-contact-link i { margin-top: .15em; }
.cp-contact-link:hover { color: #fff; text-decoration: underline; }
.cp-contact-static { white-space: normal; text-align: center; }
.cp-contact-link i { flex: 0 0 auto; opacity: .85; }

.cp-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 18px; }
.cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}
.cp-btn-primary { background: #fff; color: var(--company-blue); }
.cp-btn-primary:hover { background: #eaf2ff; }
.cp-btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.cp-btn-outline:hover { background: rgba(255, 255, 255, .15); }

.cp-personal:not(:empty) {
  width: 100%;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.cp-personal-title {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .68);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: left;
}
.cp-personal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.cp-personal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  text-align: left;
}
.cp-personal-item i {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .85);
  font-size: .82rem;
}
.cp-personal-text { min-width: 0; display: flex; flex-direction: column; }
.cp-personal-label {
  color: rgba(255, 255, 255, .65);
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.cp-personal-value {
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.cp-main {
  min-height: 0;
  padding: 28px 32px;
  overflow-y: auto;
  background: #f7faff;
}
.cp-loading,
.cp-empty {
  padding: 12px 0;
  color: var(--company-muted);
  font-size: .82rem;
}
.cp-loading i { color: var(--company-blue); margin-right: 6px; }

.cp-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--company-line);
}
.cp-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.cp-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--company-ink);
  font-size: .88rem;
  font-weight: 700;
}
.cp-section h3 i { color: var(--company-blue); }

.cp-about { margin: 0; color: var(--company-ink); font-size: .85rem; line-height: 1.6; }

.cp-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.cp-info-row { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; color: var(--company-ink); }
.cp-info-row i { flex: 0 0 auto; margin-top: 2px; color: var(--company-blue); width: 14px; text-align: center; }

.cp-row-info { display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; column-gap: 22px; }
.cp-row-info .cp-info-row { flex: 0 0 auto; }

.cp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cp-gallery img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--company-line);
  transition: transform .15s ease;
}
.cp-gallery a:hover img { transform: scale(1.04); }

.cp-edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}
.cp-edu-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--company-line);
  border-radius: 10px;
  background: #fff;
}
.cp-edu-type {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--company-blue);
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.cp-edu-institute { color: var(--company-ink); font-size: .82rem; font-weight: 700; }
.cp-edu-field { color: var(--company-muted); font-size: .75rem; }
.cp-edu-year {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--company-muted);
  font-size: .72rem;
}

.cp-social-row { display: flex; justify-content: center; gap: 10px; }
.cp-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
}
.cp-social:hover { background: rgba(255, 255, 255, .3); }

.cp-side-social:not(:empty) {
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.cp-side-refs:not(:empty) {
  width: 100%;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  text-align: left;
}
.cp-ref-list { display: flex; flex-direction: column; gap: 8px; }
.cp-ref-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
}
.cp-ref-name { color: #fff; overflow-wrap: anywhere; font-size: .8rem; font-weight: 700; }
.cp-ref-role,
.cp-ref-relation {
  color: rgba(255, 255, 255, .75);
  overflow-wrap: anywhere;
  font-size: .68rem;
}
.cp-ref-relation { font-style: italic; }
.cp-ref-contact {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 4px;
  color: rgba(255, 255, 255, .88);
  font-size: .7rem;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cp-ref-contact:hover { color: #fff; text-decoration: underline; }

@media (max-width: 760px) {
  .cp-modal {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    max-height: 92vh;
    overflow-y: auto;
  }
  /* Stacked on mobile: let the whole card scroll as one unit instead of
     nesting a second scrollbar inside each panel. */
  .cp-side,
  .cp-main { overflow-y: visible; }
  .cp-side { padding: 28px 20px 20px; }
  .cp-main { padding: 20px; }
  .cp-info-grid,
  .cp-edu-grid { grid-template-columns: 1fr; }
  .cp-gallery { grid-template-columns: repeat(3, 1fr); }

  /* More width available once the sidebar is full-page-wide, so pack
     contact details into two columns instead of one long stack. */
  .cp-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    text-align: left;
  }
  .cp-contact-static { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 420px) {
  .cp-avatar-wrap,
  .cp-avatar,
  .cp-avatar-fallback { width: 76px; height: 76px; }
  .cp-name { font-size: 1.05rem; }
  .cp-side { padding: 22px 16px 16px; }
  .cp-main { padding: 16px; }
  .cp-gallery { grid-template-columns: repeat(2, 1fr); }
  .cp-edu-grid { grid-template-columns: 1fr; }
}

/* --- Full-page candidate profile (opened via "View Full Profile") --- */
.cp-page {
  max-width: 1200px;
  margin: 24px auto 48px;
  padding: 0 16px;
}
.cp-page .cp-modal {
  max-height: none;
  grid-template-rows: none;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(15, 42, 67, .12);
}
.cp-page .cp-side {
  overflow: visible;
  border-radius: 16px 0 0 16px;
  position: sticky;
  top: 20px;
  align-self: start;
}
.cp-page .cp-main { overflow: visible; border-radius: 0 16px 16px 0; }

@media (max-width: 760px) {
  .cp-page .cp-modal { grid-template-columns: 1fr; }
  .cp-page .cp-side { position: static; border-radius: 16px 16px 0 0; }
  .cp-page .cp-main { border-radius: 0 0 16px 16px; }
}

/* --- Sidebar cards --- */
.dash-card {
  padding: 18px;
  border: 1px solid var(--company-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 52, 77, .06);
}
.dash-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.dash-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eaf2ff;
  color: var(--company-blue);
  font-size: .85rem;
}
.dash-profile-card .dash-card-icon { background: #e5f0ff; color: #2b7de9; }
.dash-deadlines-card .dash-card-icon { background: #fff1e0; color: #d68910; }
.dash-quick-card .dash-card-icon { background: #ece9ff; color: #6b4eff; }
.dash-card-top h3 {
  margin: 0;
  color: var(--company-ink);
  font-size: .88rem;
  font-weight: 700;
}
.dash-card-top .dash-card-link { margin-left: auto; }

/* Recent CVs — colourful gradient stat card (first in the top row) */
.dash-stat-cvs {
  border: 0;
  border-top: 3px solid #0b7d91;
  background: linear-gradient(135deg, #06344d 0%, #0d6492 55%, #12a4b8 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(6, 52, 77, .26);
}
.dash-stat-cvs::after { background: #fff; opacity: .12; }
.dash-stat-cvs .dash-stat-icon { background: rgba(255, 255, 255, .2); color: #fff; }
.dash-stat-cvs .dash-stat-label { color: rgba(255, 255, 255, .9); }
.dash-stat-cvs .dash-stat-value { color: #fff; }
.dash-stat-cvs .dash-stat-sub { color: rgba(255, 255, 255, .8); }
.dash-stat-cvs .dash-stat-link { color: #fff; opacity: .9; }
.dash-stat-cvs .dash-stat-link:hover { color: #fff; opacity: 1; }

.dash-profile-card .dash-profile-percent {
  margin-left: auto;
  color: var(--company-blue);
  font-size: .8rem;
  font-weight: 700;
}
.dash-profile-bar {
  height: 8px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}
.dash-profile-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #14763c;
  transition: width .5s ease;
}
.dash-profile-bar span.is-low { background: #b42318; }
.dash-profile-hint {
  margin: 12px 0 14px;
  color: var(--company-muted);
  font-size: .74rem;
  line-height: 1.5;
}
.dash-profile-btn {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--company-blue);
  border-radius: 8px;
  background: #edf4ff;
  color: var(--company-blue);
  font-size: .76rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.dash-profile-btn:hover { background: var(--company-blue); color: #fff; }

.dash-deadline-list { margin: 0; padding: 0; list-style: none; }
.dash-deadline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #eef2f7;
}
.dash-deadline-item:last-child { border-bottom: 0; padding-bottom: 0; }
.dash-deadline-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--company-muted);
}
.dash-deadline-dot-soon { background: #b42318; }
.dash-deadline-dot-mid { background: #d68910; }
.dash-deadline-dot-far { background: #14763c; }
.dash-deadline-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dash-deadline-text strong {
  color: var(--company-ink);
  font-size: .78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-deadline-text small { color: var(--company-muted); font-size: .66rem; }
.dash-deadline-text small i { margin-right: 3px; }
.dash-deadline-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 700;
  padding: 4px 8px;
  white-space: nowrap;
}
.dash-deadline-badge-soon { color: #b42318; background: #fff0ee; }
.dash-deadline-badge-mid { color: #8a6100; background: #fff5cc; }
.dash-deadline-badge-far { color: #14763c; background: #dcf8e8; }

.dash-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dash-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  border: 1px solid var(--company-line);
  border-radius: 12px;
  background: #f8fbff;
  color: var(--company-ink);
  font-size: .68rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.dash-quick-item:hover {
  color: var(--company-ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(6, 52, 77, .1);
}
.dash-quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eaf2ff;
  color: var(--company-blue);
  font-size: .9rem;
}
.dash-quick-cvs .dash-quick-icon { background: #fff5cc; color: #8a6100; }
.dash-quick-chat .dash-quick-icon { background: #dcf8e8; color: #14763c; }

@media (max-width: 1280px) {
  .dash-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1200px) {
  .dash-layout { grid-template-columns: minmax(0, 1fr); }
  .dash-col-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .dash-quick-card { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-stats .dash-stat-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .dash-welcome { flex-direction: column; align-items: stretch; gap: 14px; }
  .dash-welcome h1 { font-size: 1.28rem; }
  .dash-post-btn { justify-content: center; }
  .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dash-stats .dash-stat-card:last-child { grid-column: 1 / -1; }
  .dash-stat-card { padding: 14px 14px 12px; }
  .dash-stat-value { font-size: 1.5rem; }
  .dash-col-side { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   CANDIDATE FULL PROFILE PAGE (recruiters_view_candidate.php)
========================================================== */
.cvp-page { max-width: 1180px; margin: 0 auto 40px; }

.cvp-loading {
  display: flex; align-items: center; gap: 10px;
  padding: 60px 20px; justify-content: center;
  color: var(--company-muted); font-size: .9rem;
}
.cvp-loading i { color: var(--company-blue); font-size: 1.1rem; }

.cvp-back {
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 14px; color: var(--company-muted);
  font-size: .82rem; font-weight: 600; text-decoration: none;
}
.cvp-back:hover { color: var(--company-blue); }

/* --- Hero --- */
.cvp-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 40px 32px 64px;
  margin-bottom: 54px;
  color: #fff;
  background: linear-gradient(135deg, var(--company-blue) 0%, #0d5f82 55%, #12809e 100%);
  box-shadow: 0 20px 40px rgba(6, 52, 77, .18);
}
.cvp-hero::before,
.cvp-hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.cvp-hero::before { width: 260px; height: 260px; right: -80px; top: -120px; }
.cvp-hero::after { width: 160px; height: 160px; left: -50px; bottom: -80px; background: rgba(255, 255, 255, .06); }

.cvp-hero-content {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap;
}
.cvp-avatar-wrap { position: relative; flex: 0 0 auto; }
.cvp-avatar {
  width: 116px; height: 116px; border-radius: 50%; object-fit: cover;
  border: 4px solid rgba(255, 255, 255, .85); background: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}
.cvp-avatar-fallback {
  width: 116px; height: 116px; border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, .85);
  background: #0d5f82; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800;
}
.cvp-hero-info { flex: 1 1 260px; min-width: 0; }
.cvp-hero-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cvp-hero-top h1 { margin: 0; font-size: 1.55rem; font-weight: 800; }
.cvp-headline { margin-top: 3px; font-size: .92rem; color: rgba(255, 255, 255, .82); }
.cvp-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.cvp-hero-meta span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; color: rgba(255, 255, 255, .88);
}
.cvp-hero-meta i { font-size: .78rem; opacity: .85; }
.cvp-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }

.cvp-status {
  padding: 4px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.cvp-status-accepted { background: rgba(20, 118, 60, .4); }
.cvp-status-declined { background: rgba(180, 35, 24, .4); }
.cvp-status-pending { background: rgba(191, 138, 0, .4); }

.cvp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  font-size: .8rem; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.cvp-btn:hover { transform: translateY(-2px); }
.cvp-btn { cursor: pointer; font-family: inherit; }
.cvp-btn-solid { background: #fff; color: var(--company-blue); box-shadow: 0 10px 20px rgba(0, 0, 0, .15); }
.cvp-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.cvp-btn-approve { background: #1f9d55; color: #fff; box-shadow: 0 10px 20px rgba(20, 118, 60, .3); }
.cvp-btn-reject { background: rgba(255, 255, 255, .12); color: #ffd7d1; border-color: rgba(255, 100, 80, .5); }
.cvp-btn-reject:hover { background: #c62828; color: #fff; }

/* --- Stat chips (overlap hero bottom edge) --- */
.cvp-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin: -46px 0 26px;
}
.cvp-stat-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--company-line); border-radius: 14px;
  padding: 15px 16px; box-shadow: 0 14px 30px rgba(6, 52, 77, .08);
}
.cvp-stat-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  background: #eaf2ff; color: var(--company-blue);
}
.cvp-stat-card:nth-child(2) .cvp-stat-icon { background: #ece9ff; color: #6b4eff; }
.cvp-stat-card:nth-child(3) .cvp-stat-icon { background: #dcf8e8; color: #14763c; }
.cvp-stat-card:nth-child(4) .cvp-stat-icon { background: #fff5cc; color: #8a6100; }
.cvp-stat-text { min-width: 0; }
.cvp-stat-value {
  display: block; font-size: 1rem; font-weight: 800; color: var(--company-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cvp-stat-label { font-size: .68rem; color: var(--company-muted); text-transform: uppercase; letter-spacing: .03em; }

/* --- Body layout --- */
.cvp-body { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.cvp-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.cvp-side-card {
  background: #fff; border: 1px solid var(--company-line); border-radius: 16px;
  padding: 18px 18px 16px; box-shadow: 0 12px 30px rgba(6, 52, 77, .05);
}
.cvp-side-card h3 {
  margin: 0 0 12px; display: flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 800; color: var(--company-muted);
  text-transform: uppercase; letter-spacing: .04em;
}
.cvp-side-card h3 i { color: var(--company-blue); }

.cvp-contact-list { display: flex; flex-direction: column; gap: 10px; }
.cvp-contact-item {
  display: flex; align-items: center; gap: 9px;
  font-size: .82rem; color: var(--company-ink); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cvp-contact-item i { flex: 0 0 auto; width: 16px; text-align: center; color: var(--company-blue); }
a.cvp-contact-item:hover { color: var(--company-blue); }

.cvp-fact-list { display: flex; flex-direction: column; gap: 11px; }
.cvp-fact { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.cvp-fact-label { font-size: .76rem; color: var(--company-muted); }
.cvp-fact-value { font-size: .8rem; font-weight: 700; color: var(--company-ink); text-align: left; }

.cvp-social-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cvp-social {
  width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eaf2ff; color: var(--company-blue); font-size: .9rem;
}
.cvp-social:hover { background: var(--company-blue); color: #fff; }

.cvp-ref-list { display: flex; flex-direction: column; gap: 12px; }
.cvp-ref-card {
  padding: 12px; border: 1px solid var(--company-line); border-radius: 12px;
  display: flex; flex-direction: column; gap: 3px;
}
.cvp-ref-name { font-size: .84rem; font-weight: 700; color: var(--company-ink); }
.cvp-ref-role { font-size: .74rem; color: var(--company-muted); }
.cvp-ref-relation {
  align-self: flex-start; margin-top: 2px; padding: 1px 8px; border-radius: 999px;
  background: #eaf2ff; color: var(--company-blue); font-size: .64rem; font-weight: 700;
}
.cvp-ref-contact { font-size: .76rem; color: var(--company-ink); text-decoration: none; margin-top: 3px; }
.cvp-ref-contact:hover { color: var(--company-blue); }
.cvp-ref-contact i { width: 13px; text-align: center; margin-right: 5px; color: var(--company-blue); }

.cvp-empty { color: var(--company-muted); font-size: .8rem; margin: 0; }

/* --- Main content --- */
.cvp-main { display: flex; flex-direction: column; gap: 18px; }
.cvp-section {
  background: #fff; border: 1px solid var(--company-line); border-radius: 16px;
  padding: 22px 24px; box-shadow: 0 12px 30px rgba(6, 52, 77, .05);
}
.cvp-section h2 {
  margin: 0 0 16px; display: flex; align-items: center; gap: 10px;
  font-size: .92rem; font-weight: 800; color: var(--company-ink);
}
.cvp-section h2 i {
  width: 30px; height: 30px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eaf2ff; color: var(--company-blue); font-size: .82rem;
}
.cvp-about { margin: 0; font-size: .85rem; line-height: 1.75; color: var(--company-ink); text-align: justify; }

.cvp-application-banner {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  padding: 14px 18px; border-radius: 12px; background: #eaf2ff;
}
.cvp-application-banner span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; color: var(--company-blue); font-weight: 600;
}

/* Application history (recent applications to this company) */
.cvp-history-list { display: flex; flex-direction: column; gap: 10px; }
.cvp-history-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 12px 14px; border: 1px solid var(--company-line); border-radius: 12px;
}
.cvp-history-main { min-width: 0; }
.cvp-history-title { font-size: .85rem; font-weight: 700; color: var(--company-ink); }
.cvp-history-meta { margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .74rem; color: var(--company-muted); }
.cvp-history-meta i { margin-right: 4px; }
.cvp-history-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.cvp-history-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 8px; border: 1px solid var(--company-line);
  background: #f8fafc; color: var(--company-blue); font-size: .74rem; font-weight: 700; cursor: pointer;
}
.cvp-history-btn:hover { background: #eaf2ff; }

.cvp-pill {
  padding: 3px 10px; border-radius: 999px;
  font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
}
.cvp-pill-pending { background: #fff5cc; color: #8a6100; }
.cvp-pill-accepted { background: #dcf8e8; color: #14763c; }
.cvp-pill-declined { background: #fff0ee; color: #b42318; }

.cvp-exp-card { display: flex; flex-direction: column; gap: 4px; }
.cvp-exp-role { font-size: .92rem; font-weight: 800; color: var(--company-ink); }
.cvp-exp-company { font-size: .84rem; font-weight: 600; color: var(--company-blue); }
.cvp-exp-meta { font-size: .76rem; color: var(--company-muted); }
.cvp-exp-desc { margin: 10px 0 0; font-size: .83rem; line-height: 1.7; color: var(--company-ink); text-align: justify; }

/* Education timeline */
.cvp-timeline { position: relative; padding-left: 26px; }
.cvp-timeline::before {
  content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px;
  width: 2px; background: var(--company-line);
}
.cvp-timeline-item { position: relative; padding-bottom: 22px; }
.cvp-timeline-item:last-child { padding-bottom: 0; }
.cvp-timeline-dot {
  position: absolute; left: -26px; top: 3px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--company-blue);
}
.cvp-timeline-year {
  font-size: .68rem; font-weight: 800; color: var(--company-blue);
  text-transform: uppercase; letter-spacing: .03em;
}
.cvp-timeline-title { margin-top: 3px; font-size: .88rem; font-weight: 800; color: var(--company-ink); }
.cvp-timeline-sub { margin-top: 1px; font-size: .78rem; color: var(--company-muted); }

/* Portfolio / certificate galleries */
.cvp-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cvp-gallery a {
  position: relative; display: block; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--company-line);
}
.cvp-gallery img { width: 100%; height: 118px; object-fit: cover; display: block; transition: transform .18s ease; }
.cvp-gallery a:hover img { transform: scale(1.05); }
.cvp-gallery .cvp-tile-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.65) 60%, transparent 100%);
  color: #fff; display: flex; flex-direction: column; gap: 3px;
  pointer-events: none;
}
.cvp-gallery .cvp-tile-title {
  display: block; font-size: .8rem; font-weight: 700; color: #ffffff;
  line-height: 1.25; text-shadow: 0 1px 2px rgba(0,0,0,0.85);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cvp-gallery .cvp-tile-meta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .68rem; font-weight: 600; color: #7dd3fc;
  text-shadow: 0 1px 2px rgba(0,0,0,0.85);
}

/* Events / Project Works Cards Showcase */
.cvp-event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}
@media (max-width: 980px) {
  .cvp-event-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .cvp-event-grid { grid-template-columns: 1fr; }
}

.cvp-event-card {
  background: #ffffff;
  border: 1px solid #dce4ee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cvp-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  border-color: #7da9e5;
}
.cvp-event-media {
  position: relative;
  display: block;
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #0f172a;
}
.cvp-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.cvp-event-card:hover .cvp-event-media img {
  transform: scale(1.05);
}
.cvp-event-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.cvp-event-card:hover .cvp-event-zoom-btn {
  opacity: 1;
  transform: translateY(0);
}
.cvp-event-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  flex: 1;
}
.cvp-event-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f2e4a;
  line-height: 1.35;
  word-break: break-word;
}
.cvp-event-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 600;
  color: #0369a1;
  background: #f0f7ff;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  padding: 4px 10px;
}
.cvp-event-date-badge i {
  font-size: 0.74rem;
  color: #0284c7;
}

.cvp-image-popup {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 20px !important;
}
.cvp-image-popup .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
}
.cvp-popup-image {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .cvp-popup-image { max-height: 70vh; }
}

@media (max-width: 980px) {
  .cvp-body { grid-template-columns: 1fr; }
  .cvp-side { position: static; }
  .cvp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
}

@media (max-width: 640px) {
  .cvp-page { margin-bottom: 24px; }
  .cvp-hero { padding: 26px 18px; margin-bottom: 20px; }
  .cvp-hero-content { flex-direction: column; align-items: center; gap: 14px; text-align: center; }
  .cvp-avatar, .cvp-avatar-fallback { width: 96px; height: 96px; }
  .cvp-hero-info { flex-basis: auto; width: 100%; }
  .cvp-hero-top { justify-content: center; }
  .cvp-hero-meta { justify-content: center; }
  .cvp-hero-actions {
    width: 100%; margin-left: 0; margin-top: 4px;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  }
  .cvp-hero-actions .cvp-btn { justify-content: center; width: 100%; }
  .cvp-btn:hover { transform: none; }

  .cvp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; gap: 10px; }
  .cvp-stat-card { padding: 13px 14px; }

  .cvp-application-banner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cvp-history-item { flex-direction: column; align-items: stretch; }
  .cvp-history-right { justify-content: space-between; }

  .cvp-gallery { grid-template-columns: repeat(2, 1fr); }
  .cvp-section { padding: 16px; }
}

@media (max-width: 420px) {
  .cvp-hero-actions { grid-template-columns: 1fr; }
  .cvp-gallery { grid-template-columns: 1fr; }
}

/* --- Testimonials sub-nav (pill tabs) --- */
.testimonial-subnav {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 0;
}
.testimonial-subnav .testimonial-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.testimonial-subnav .t-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.testimonial-subnav .t-tab:hover {
  background: #e2e8f0;
  color: #06344d;
}
.testimonial-subnav .t-tab.active {
  background: linear-gradient(135deg, #0b63bb, #06344d);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 99, 187, 0.3);
}
.testimonial-subnav .t-tab i { font-size: 13px; }
@media (max-width: 576px) {
  .testimonial-subnav .t-tab { padding: 9px 16px; font-size: 13px; }
}

/* ---------------------------------------------------------------------------
   Recruiter welcome banner (recruiters_dashboard.php, recruiters_post_new_vacancy.php
   and other recruiter pages) — mobile: let the text use the full width and the
   banner grow with its content so nothing (e.g. the feature list) is clipped.
   --------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .recruiter-welcome-banner { padding: 24px 20px !important; }
  .recruiter-welcome-banner > div:last-child { max-width: 100% !important; }
  .recruiter-welcome-banner h1 { font-size: 24px !important; }
}
