
  /* ============================================================
     BASE
     ============================================================ */
  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #1e293b;
  }

  /* anchor targets stop below the sticky careers header */
  section[id] {
    scroll-margin-top: 85px;
  }

  /* helper for toggling modals (overrides the !important flex) */
  .dsa-modal-overlay.hidden {
    display: none !important;
  }

  /* helper for upload-box validation state */
  .upload-error {
    border-color: #ef4444 !important;
  }
  .upload-error i {
    color: #ef4444 !important;
  }

  /* ============================================================
     BRAND VARIABLES (from components/Home.css :root)
     ============================================================ */
  :root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --accent: #f59e0b;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --gradient-hover: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #c026d3 100%);
    --gradient-subtle: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    --dark: #1e293b;
    --darker: #0f172a;
    --gray-dark: #475569;
    --gray: #94a3b8;
    --light: #f8fafc;
    --success: #10b981;
  }

  /* ============================================================
     CAREERS HEADER (links back to the main website)
     ============================================================ */
  .careers-topbar {
    position: sticky;
    top: 0;
    z-index: 1500;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  }

  .careers-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .careers-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
  }

  .careers-logo img {
    height: 48px;
    width: auto;
    display: block;
  }

  .careers-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
    white-space: nowrap;
  }

  .careers-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
  }

  .careers-nav a {
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
  }

  .careers-nav a:hover {
    color: var(--primary);
  }

  .careers-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
  }

  .careers-back-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  }

  .careers-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--gray-dark);
    cursor: pointer;
    padding: 6px 10px;
  }

  @media (max-width: 900px) {
    .careers-topbar-inner {
      gap: 12px;
    }

    .careers-nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
      padding: 10px 5%;
      box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
      margin-left: 0;
    }

    .careers-nav.open {
      display: flex;
    }

    .careers-nav a {
      width: 100%;
      padding: 12px 0;
      border-bottom: 1px solid #f1f5f9;
    }

    .careers-nav a:last-child {
      border-bottom: none;
    }

    .careers-nav-toggle {
      display: block;
      margin-left: auto;
    }

    .careers-back-btn {
      margin-left: auto;
      padding: 8px 14px;
      font-size: 13px;
    }

    .careers-nav-toggle {
      margin-left: 0;
    }
  }

  @media (max-width: 480px) {
    .careers-logo img {
      height: 38px;
    }

    .careers-back-btn span {
      display: none; /* icon-only on very small screens */
    }
  }

  /* ============================================================
     SLIM CAREERS FOOTER (copyright only)
     ============================================================ */
  .careers-footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 22px 5%;
    font-size: 0.9rem;
  }

  .careers-footer a {
    color: #c7d2fe;
    text-decoration: none;
    font-weight: 600;
  }

  .careers-footer a:hover {
    color: white;
    text-decoration: underline;
  }

  /* ============================================================
     DSA MODAL (from layout/Dsa.css - used by the apply popup)
     ============================================================ */
  .dsa-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 2000 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    animation: fadeIn 0.3s ease-out !important;
    padding: 40px 20px !important;
    overscroll-behavior: contain !important;
  }

  .dsa-modal {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border-radius: 24px !important;
    width: 100% !important;
    max-width: 940px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    position: relative !important;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 auto !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    pointer-events: auto !important;
    touch-action: pan-y !important;
  }

  @keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .dsa-modal::-webkit-scrollbar { width: 8px; }
  .dsa-modal::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 0 24px 24px 0; }
  .dsa-modal::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%); border-radius: 4px; }
  .dsa-modal::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #4338ca 0%, #312e81 100%); }

  .close-modal-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
  }

  @media (max-width: 768px) {
    .dsa-modal { max-height: 95vh; margin: 10px; }
  }

  @media (max-width: 480px) {
    .dsa-modal { max-height: 95vh; border-radius: 16px; }
    .close-modal-btn { width: 35px; height: 35px; font-size: 16px; }
  }

  /* ============================================================
     CAREER PAGE STYLES (from components/Career.css)
     ============================================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.career-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

.career-back-home-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: white;
    color: #6366f1;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid #6366f1;
}

.career-back-home-btn:hover {
    background: #6366f1;
    color: white;
    transform: translateX(-5px);
}

.career-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.career-hero-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

.career-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.career-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.career-gradient-text {
    background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.career-hero-subtitle {
    font-size: 1.2rem;
    color: #c7d2fe;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.career-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 3rem;
    padding: 0 20px;
}

.career-stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.career-stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.career-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
}

.career-stat-label {
    font-size: 0.95rem;
    color: #c7d2fe;
    font-weight: 600;
}

.career-section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    width: 100%;
}

.career-section-header h2 {
    background: linear-gradient(135deg, #6366F1, #A855F7, #EC4899, #6366F1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.career-section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.career-why-join-section {
    padding: 60px 0;
    background: white;
    width: 100%;
}

.career-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.career-benefit-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.career-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.career-benefit-card:hover::before {
    transform: scaleX(1);
}

.career-benefit-card:hover {
    transform: translateY(-10px);
    border-color: #6366f1;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.career-benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #6366f1;
}

.career-benefit-card h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.career-benefit-card p {
    color: #64748b;
    line-height: 1.7;
}

.career-openings-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #fdf2f8 100%);
    width: 100%;
}

.career-department-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.career-tab-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;

    font-size: 16px;
}

.career-tab-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.career-tab-btn.career-active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.career-job-openings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.career-job-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.career-job-card:hover {
    transform: translateY(-8px);
    border-color: #6366f1;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.career-job-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #6366f1;
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.career-job-card h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 700;
}

.career-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.career-location,
.career-experience,
.career-salary {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.95rem;
}

.career-location i,
.career-experience i,
.career-salary i {
    color: #6366f1;
}

.career-job-description {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 25px;
}

.career-apply-job-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.career-apply-job-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.career-load-more {
    text-align: center;
    margin-top: 60px;
    padding: 0 20px;
}

.career-view-all-btn {
    padding: 16px 35px;
    background: white;
    color: #6366f1;
    border: 2px solid #6366f1;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.career-view-all-btn:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.career-apply-separate-btn {
    padding: 16px 35px;
    background: #10b981;
    color: white;
    border: 2px solid #10b981;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.career-apply-separate-btn:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.career-application-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    width: 100%;
}

.career-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.career-info-card {
    background: white;
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.career-info-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.career-info-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.career-info-card:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / 3;
}

.career-info-card:nth-child(4) {
    grid-column: 3;
    grid-row: 1 / 3;
}

.career-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.career-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.career-info-card:hover::before {
    transform: scaleX(1);
}

.career-card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.career-info-card:hover .career-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.career-card-icon i {
    font-size: 26px;
    color: white;
}

/* HR Contact Card Layout */
.career-hr-contact-card .career-card-icon {
    margin: 0;
}

.career-hr-contact-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.career-hr-contact-content {
    flex: 1;
}

.career-hr-contact-content h3 {
    text-align: left;
    margin-bottom: 15px;
}

/* Application Tips Card Layout */
.career-tips-card .career-card-icon {
    margin: 0;
}

.career-tips-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.career-tips-content {
    flex: 1;
}

.career-tips-content h3 {
    text-align: left;
    margin-bottom: 15px;
}

/* Hiring Process Card - Center heading with top space */
.career-hiring-process-card {
    padding-top: 35px !important;
}

.career-hiring-process-card .career-card-icon {
    margin: 0 auto 15px !important;
}

.career-hiring-process-card h3 {
    text-align: center !important;
    margin-bottom: 25px !important;
}

.career-info-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 18px;
    font-weight: 700;
    text-align: center;
}

/* Override for HR Contact and Tips cards */
.career-hr-contact-content h3,
.career-tips-content h3 {
    text-align: left;
}

/* Hiring Process Card - Center with extra top space */
.career-hiring-process-card {
    padding-top: 30px !important;
}

.career-contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.career-contact-info i {
    color: #3b82f6;
    font-size: 16px;
    width: 20px;
}

.career-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #475569;
    margin-bottom: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.career-tips-list i {
    color: #10b981;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.career-process-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.career-process-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.career-step-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.career-step-content h4 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 4px;
    font-weight: 600;
}

.career-step-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.career-faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.career-faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.career-faq-item p:first-child {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.career-faq-item p:last-child {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .career-info-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }

    .career-info-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .career-info-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .career-info-card:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .career-info-card:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 768px) {
    .career-info-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .career-info-card:nth-child(1),
    .career-info-card:nth-child(2),
    .career-info-card:nth-child(3),
    .career-info-card:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
    }

    .career-application-section {
        padding: 60px 0;
    }

    /* Stack HR Contact and Tips layouts vertically on mobile */
    .career-hr-contact-layout,
    .career-tips-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .career-hr-contact-content h3,
    .career-tips-content h3 {
        text-align: center;
    }

    .career-contact-info p {
        justify-content: center;
    }
}

.career-application-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 0 20px;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

@media (max-width: 992px) {
    .career-application-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
        max-width: 100%;
    }
}

.career-form-header {
    margin-bottom: 40px;
    width: 100%;
}

.career-form-header h2 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.career-form-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.career-career-form {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    width: 100%;
}

.career-form-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.career-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.career-form-message:not(.error) {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.career-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .career-form-row {
        grid-template-columns: 1fr;
    }
}

.career-form-group.career-full-width {
    grid-column: 1 / -1;
}

.career-form-group {
    display: flex;
    flex-direction: column;
}

.career-form-group label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.career-form-group input,
.career-form-group select,
.career-form-group textarea {
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;

    transition: all 0.3s ease;
    background: white;
}

.career-form-group input:focus,
.career-form-group select:focus,
.career-form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.career-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.career-file-upload {
    position: relative;
}

.career-file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.career-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
}

.career-file-label:hover {
    border-color: #6366f1;
    background: #f8fafc;
}

.career-file-label i {
    font-size: 2rem;
    color: #6366f1;
    margin-bottom: 10px;
}

.career-file-text {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
    font-size: 0.95rem;
    text-align: center;
}

.career-file-size {
    font-size: 0.85rem;
    color: #64748b;
}

.career-file-name {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #6366f1;
    font-weight: 500;
}

.career-file-name.career-success {
    color: #10b981;
}

.career-file-note {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.career-file-note i {
    color: #6366f1;
}

.career-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.career-checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
}

.career-checkbox-group label {
    font-weight: normal;
    color: #475569;
}

.career-checkbox-group a {
    color: #6366f1;
    text-decoration: none;
}

.career-checkbox-group a:hover {
    text-decoration: underline;
}

.career-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.career-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.career-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.career-info-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.career-info-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid #f1f5f9;
    opacity: 0;
    transform: translateY(30px);
    width: 100%;
}

.career-info-card h3 i {
    color: #6366f1;
}

.career-contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    margin-bottom: 10px;
}

.career-contact-info i {
    color: #6366f1;
    width: 20px;
}

.career-tips-list {
    list-style: none;
}

.career-tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #475569;
}

.career-tips-list i {
    color: #10b981;
    margin-top: 3px;
}

.career-process-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.career-process-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.career-step-number {
    background: #6366f1;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.career-step-content h4 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 4px;
}

.career-step-content p {
    font-size: 0.9rem;
    color: #64748b;
}

.career-faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.career-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.career-faq-item p {
    color: #475569;
    line-height: 1.6;
}

.career-faq-item strong {
    color: #1e293b;
}

.career-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.career-modal-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.career-modal-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
}

.career-modal-content h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.career-modal-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.career-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.career-modal-btn {
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #6366f1;
    background: white;
    color: #6366f1;
}

.career-modal-btn:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
}

.career-modal-btn.career-secondary {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.career-modal-btn.career-secondary:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    color: #1e293b;
}

/* Profile Photo Styles */
.career-photo-upload-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.career-photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.career-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-photo-placeholder {
    font-size: 3rem;
    color: #94a3b8;
}

.career-photo-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.career-photo-upload-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.career-or-divider {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    position: relative;
}

.career-or-divider::before,
.career-or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e2e8f0;
}

.career-or-divider::before {
    left: 0;
}

.career-or-divider::after {
    right: 0;
}

.career-camera-btn {
    padding: 12px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.career-camera-btn:hover {
    background: #0da271;
    transform: translateY(-2px);
}

.career-cancel-btn {
    background: #ef4444 !important;
}

.career-cancel-btn:hover {
    background: #dc2626 !important;
}

.career-photo-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.career-photo-note i {
    color: #6366f1;
}

/* Additional Documents Styles */
.career-additional-docs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.career-add-doc-btn {
    padding: 8px 16px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.career-add-doc-btn:hover {
    background: #0da271;
    transform: translateY(-2px);
}

.career-additional-doc-item {
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.career-additional-doc-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.career-remove-doc-btn {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 32px;
}

.career-remove-doc-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* Salary Slips Styles */
.career-salary-slips-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.career-add-slip-btn {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.career-add-slip-btn:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-2px);
}

.career-add-slip-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
}

.career-salary-slip-item {
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.career-salary-slip-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.career-remove-slip-btn {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 32px;
}

.career-remove-slip-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* Document Upload Improvements */
.career-document-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.career-document-item {
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .career-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .career-hero-title {
        font-size: 2.5rem;
    }

    .career-section-header h2 {
        font-size: 2rem;
    }

    .career-benefits-grid,
    .career-job-openings-grid {
        grid-template-columns: 1fr;
    }

    .career-form-row {
        grid-template-columns: 1fr;
    }

    .career-career-form {
        padding: 20px;
        margin: 0;
    }

    .career-info-card {
        margin: 0;
    }

    .career-modal-content {
        padding: 30px 20px;
    }

    .career-modal-actions {
        flex-direction: column;
    }

    .career-back-home-btn {
        top: 10px;
        left: 10px;
        padding: 8px 15px;
        font-size: 13px;
    }

    .career-photo-upload-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .career-photo-preview {
        align-self: center;
    }

    .career-application-container {
        padding: 0 10px;
        max-width: 100%;
    }

    .career-why-join-section,
    .career-openings-section,
    .career-application-section,
    .career-footer {
        padding: 60px 0;
    }

    .career-photo-upload-options {
        gap: 10px;
    }

    .career-additional-doc-row {
        flex-direction: column;
        gap: 10px;
    }

    /* buttons used inside popup navigation */
    .career-modal-btn {
        background: #667eea;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 500;
    }

    .career-modal-btn:hover {
        opacity: 0.9;
    }

    /* ensure card inside modal matches Home popup design */
    .dsa-modal.ln-app-card {
        /* replicate .dsa-modal appearance */
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border-radius: 24px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(99, 102, 241, 0.2);
        padding: 0;
        /* inner padding from ln-app-form keeps layout */
        max-height: 90vh;
        overflow-y: auto;
    }

    /* make header stretch to top corners as in home popup */
    .dsa-modal.ln-app-card .ln-app-header {
        border-radius: 24px 24px 0 0;
        margin-top: -1px;
        /* overlap the card edge slightly */
    }

    /* scrollbar styling inherited from Home; apply to both dsa-modal and card */
    .dsa-modal::-webkit-scrollbar,
    .dsa-modal.ln-app-card::-webkit-scrollbar {
        width: 8px;
    }

    .dsa-modal::-webkit-scrollbar-track,
    .dsa-modal.ln-app-card::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 0 24px 24px 0;
    }

    .dsa-modal::-webkit-scrollbar-thumb,
    .dsa-modal.ln-app-card::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

    .dsa-modal::-webkit-scrollbar-thumb:hover,
    .dsa-modal.ln-app-card::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    .career-remove-doc-btn {
        align-self: flex-end;
        margin-top: 0;
    }

    .career-additional-docs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .career-add-doc-btn {
        align-self: flex-start;
    }

    .career-salary-slips-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .career-add-slip-btn {
        align-self: flex-start;
    }

    .career-salary-slip-row {
        flex-direction: column;
        gap: 10px;
    }

    .career-remove-slip-btn {
        align-self: flex-end;
        margin-top: 0;
    }

    .career-salary-slip-item {
        padding: 12px;
        margin-bottom: 12px;
    }

    .career-file-label {
        min-height: 100px;
        padding: 20px;
    }

    .career-file-label i {
        font-size: 1.8rem;
    }

    .career-file-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .career-hero-title {
        font-size: 2rem;
    }

    .career-hero-subtitle {
        font-size: 1rem;
    }

    .career-stat-number {
        font-size: 2rem;
    }

    .career-department-tabs {
        gap: 10px;
    }

    .career-tab-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .career-career-form {
        padding: 15px;
        margin: 0;
    }

    .career-info-card {
        margin: 0;
    }

    .career-hero-content {
        padding: 0 15px;
    }

    .career-application-container {
        padding: 0 5px;
        max-width: 100%;
    }

    .career-salary-slip-item {
        padding: 10px;
        margin-bottom: 10px;
    }

    .career-file-label {
        min-height: 80px;
        padding: 15px;
    }

    .career-file-label i {
        font-size: 1.5rem;
    }
}


.career-form-message.api-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.career-form-message.api-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Add to career.css */
.career-form-required-note {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 5px;
    margin-bottom: 10px;
}

.career-form-required-note span {
    color: #ef4444;
    font-weight: bold;
}

.career-field-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.career-form-group input.error,
.career-form-group select.error,
.career-form-group textarea.error {
    border-color: #ef4444;
}

.career-form-group input.error:focus,
.career-form-group select.error:focus,
.career-form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Email domain suggestions */
.career-domain-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.career-domain-suggestion {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.95rem;
    color: #1e293b;
}

.career-domain-suggestion:hover {
    background: #f1f5f9;
    color: #6366f1;
}

/* Close button for career modal */
.dsa-modal .close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.dsa-modal .close-modal-btn:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg);
    border-color: #ef4444;
}

/* Responsive styles for career popup modal */
@media (max-width: 768px) {
    .dsa-modal .close-modal-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .dsa-modal.ln-app-card {
        width: 95%;
        max-height: 85vh;
        padding: 0;
    }

    .dsa-modal .ln-app-header {
        padding: 25px 20px;
    }

    .dsa-modal .ln-app-header h2 {
        font-size: 20px;
    }

    .dsa-modal .ln-app-header p {
        font-size: 13px;
    }

    .dsa-modal .ln-app-form {
        padding: 20px 15px;
    }

    .dsa-modal .ln-btn-primary,
    .dsa-modal .ln-btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
        height: 44px;
    }

    .dsa-modal .ln-app-actions {
        gap: 10px;
    }

    .dsa-modal .ln-app-stepper {
        padding: 0 30px;
    }

    .dsa-modal .ln-step-line {
        left: 30px;
    }

    .dsa-modal .ln-app-stepper::before {
        left: 30px;
        right: 30px;
    }

    /* Salary Slips & Additional Docs - Header with button */
    .dsa-modal .ln-app-group>div[style*="justifyContent: space-between"][style*="marginBottom: 15px"] {
        flex-wrap: wrap !important;
    }

    .dsa-modal .ln-app-group>div[style*="justifyContent: space-between"][style*="marginBottom: 15px"] button {
        font-size: 13px !important;
        padding: 8px 14px !important;
    }
}

@media (max-width: 480px) {
    .dsa-modal .close-modal-btn {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .dsa-modal.ln-app-card {
        width: 98%;
        max-height: 90vh;
    }

    .dsa-modal .ln-app-header {
        padding: 20px 15px;
    }

    .dsa-modal .ln-app-header h2 {
        font-size: 18px;
    }

    .dsa-modal .ln-app-header p {
        font-size: 12px;
    }

    .dsa-modal .ln-app-form {
        padding: 15px 12px;
    }

    .dsa-modal .ln-btn-primary,
    .dsa-modal .ln-btn-secondary {
        padding: 10px 16px;
        font-size: 13px;
        height: 40px;
    }

    .dsa-modal .ln-app-actions {
        flex-direction: column;
        gap: 10px;
    }

    .dsa-modal .ln-btn-primary,
    .dsa-modal .ln-btn-secondary {
        width: 100%;
    }

    .dsa-modal .ln-app-stepper {
        padding: 0 20px;
    }

    .dsa-modal .ln-step-line {
        left: 20px;
    }

    .dsa-modal .ln-app-stepper::before {
        left: 20px;
        right: 20px;
    }

    .dsa-modal .ln-step-circle {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .dsa-modal .ln-app-input,
    .dsa-modal .ln-app-select {
        padding: 10px 14px;
        font-size: 14px;
    }

    .dsa-modal .ln-app-label {
        font-size: 12px;
    }

    .dsa-modal .ln-app-step-content {
        gap: 15px;
    }

    .dsa-modal .ln-app-row {
        gap: 15px;
    }
}

/* Specific mobile responsive styles for Salary Slips and Additional Documents */
@media (max-width: 768px) {

    /* Salary Slips & Additional Documents - Header section */
    .dsa-modal .ln-app-group>div[style*="display: flex"][style*="justifyContent: space-between"][style*="marginBottom: 15px"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .dsa-modal .ln-app-group>div[style*="display: flex"][style*="justifyContent: space-between"][style*="marginBottom: 15px"] label.ln-app-label {
        margin-bottom: 0 !important;
    }

    .dsa-modal .ln-app-group>div[style*="display: flex"][style*="justifyContent: space-between"][style*="marginBottom: 15px"] button {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
    }

    /* Salary Slip Item - Each slip container */
    .dsa-modal .ln-app-group>div>div[style*="marginBottom: 15px"][style*="padding: 15px"][style*="background: #f8fafc"] {
        padding: 12px !important;
    }

    /* Salary Slip Item - Inner flex container (month + upload + remove) */
    .dsa-modal .ln-app-group>div>div[style*="marginBottom: 15px"][style*="padding: 15px"][style*="background: #f8fafc"]>div[style*="display: flex"][style*="gap: 15px"] {
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* Salary Slip Item - Month dropdown and upload sections */
    .dsa-modal .ln-app-group>div>div[style*="marginBottom: 15px"][style*="padding: 15px"][style*="background: #f8fafc"]>div[style*="display: flex"]>div[style*="flex: 1"],
    .dsa-modal .ln-app-group>div>div[style*="marginBottom: 15px"][style*="padding: 15px"][style*="background: #f8fafc"]>div[style*="display: flex"]>div[style*="flex: 2"] {
        width: 100% !important;
        flex: none !important;
    }

    /* Salary Slip Item - Remove button */
    .dsa-modal .ln-app-group>div>div[style*="marginBottom: 15px"][style*="padding: 15px"][style*="background: #f8fafc"]>div[style*="display: flex"]>button {
        width: 100% !important;
        height: 40px !important;
        flex-shrink: 1 !important;
    }

    /* Additional Documents - Same treatment */
    .dsa-modal .ln-app-group>div>div[style*="marginBottom: 15px"][style*="padding: 15px"][style*="background: #f8fafc"]>div[style*="display: flex"][style*="alignItems: flex-start"] {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .dsa-modal .ln-app-group>div>div[style*="marginBottom: 15px"][style*="padding: 15px"][style*="background: #f8fafc"]>div[style*="display: flex"][style*="alignItems: flex-start"]>div {
        width: 100% !important;
        flex: none !important;
    }

    .dsa-modal .ln-app-group>div>div[style*="marginBottom: 15px"][style*="padding: 15px"][style*="background: #f8fafc"]>div[style*="display: flex"][style*="alignItems: flex-start"]>button {
        width: 100% !important;
        height: 40px !important;
    }

    /* Profile photo section */
    .dsa-modal .ln-app-group>div[style*="display: flex"][style*="gap: 20px"][style*="alignItems: center"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .dsa-modal .ln-app-group>div[style*="display: flex"][style*="gap: 20px"][style*="alignItems: center"]>div:last-child {
        width: 100% !important;
        flex: none !important;
    }

    /* File upload sections - reduce padding */
    .dsa-modal .ln-app-file-upload[style*="padding: 20px"] {
        padding: 15px !important;
    }

    .dsa-modal .ln-app-file-upload[style*="padding: 15px"] {
        padding: 12px !important;
    }

    .dsa-modal .ln-app-file-upload[style*="padding: 12px"] {
        padding: 10px !important;
    }

    /* Terms checkbox */
    .dsa-modal .ln-app-group>div[style*="display: flex"][style*="alignItems: flex-start"][style*="gap: 12px"] {
        padding: 12px !important;
    }

    .dsa-modal .ln-app-group>div[style*="display: flex"][style*="alignItems: flex-start"][style*="gap: 12px"] label {
        font-size: 12px !important;
    }
}

/* Email domain suggestions dropdown */
.domain-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
    list-style: none;
    margin: 0;
    padding: 6px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.domain-suggestions li {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    color: #475569;
    font-size: 14px;
    border-radius: 6px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.domain-suggestions li:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(4px);
}

.domain-suggestions li:last-child {
    margin-bottom: 0;
}

.domain-suggestions li::before {
    content: '✉';
    margin-right: 10px;
    font-size: 16px;
    opacity: 0.7;
}

.domain-suggestions li:hover::before {
    opacity: 1;
}

/* Scrollbar styling */
.domain-suggestions::-webkit-scrollbar {
    width: 6px;
}

.domain-suggestions::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.domain-suggestions::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.domain-suggestions::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Make the email input group relative for absolute positioning */
.ln-app-group {
    position: relative;
}

/* Career Popup - Salary Slips & Additional Documents Styles */
.career-section-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.career-section-header label {
    margin-bottom: 0 !important;
}

.career-add-btn {
    padding: 6px 12px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.career-add-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.career-item-container {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.career-item-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.career-item-col-1 {
    flex: 1;
}

.career-item-col-2 {
    flex: 2;
}

.career-remove-btn {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

/* Responsive styles for Career sections */
@media (max-width: 768px) {
    .career-section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .career-add-btn {
        width: 100%;
        justify-content: center;
    }

    .career-item-row {
        flex-direction: column;
        gap: 10px;
    }

    .career-item-col-1,
    .career-item-col-2 {
        flex: none;
        width: 100%;
    }

    .career-remove-btn {
        width: 100%;
        height: 40px;
    }

    .career-item-container {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .career-add-btn {
        font-size: 13px;
        padding: 10px 16px;
    }

    .career-item-container {
        padding: 10px;
        margin-bottom: 12px;
    }
}

/* Success Modal Responsive Styles */
@media (max-width: 768px) {
    .career-modal-content {
        padding: 35px 25px;
        max-width: 90%;
        margin: 0 15px;
    }

    .career-modal-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .career-modal-content h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .career-modal-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .career-modal-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .career-modal-btn {
        width: 100%;
        padding: 14px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .career-modal-content {
        padding: 30px 20px;
        max-width: 95%;
        margin: 0 10px;
    }

    .career-modal-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .career-modal-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .career-modal-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .career-modal-actions {
        gap: 10px;
    }

    .career-modal-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Container and Overall Section */
.cv-hero-section {
    background-color: #ffffff;
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Left Content Area */
.hero-left {
    max-width: 700px;
    /* Limits text width for better readability */
}

/* Title Styling */
.hero-title {
    font-size: 4.5rem;
    /* Large, bold impact */
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* Blue Accent Text */
.text-blue-italic {
    background: linear-gradient(135deg, #6366F1, #A855F7, #EC4899, #6366F1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    position: relative;
    display: inline-block;
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Underline animation on hover (optional) */
.text-blue-italic::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 3px;
}

.hero-title:hover .text-blue-italic::after {
    transform: scaleX(1);
}

/* Subtitle/Paragraph */
.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 550px;
}

/* Button Styling */
.button-group {
    display: flex;
    gap: 16px;
}

.btn-filled {
    background-color: #6366f1;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(14, 50, 233, 0.3);
    transition: all 0.3s ease;
}

.btn-filled:hover {
    background-color: #525efb;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(14, 54, 233, 0.4);
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .cv-hero-section {
        padding: 60px 20px;
        text-align: center;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .button-group {
        width: 100%;
        justify-content: center;
    }
}
  /* ============================================================
     LOAN APPLY FORM / MODAL STYLES (from common/loan-apply-form/loan-apply-form.css)
     ============================================================ */


.ln-app-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);

  padding: 20px;
  position: relative;
}

.ln-app-card {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  position: relative;
}

.ln-app-header {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  padding: 30px;
  text-align: center;
  color: white;
}

.ln-app-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.ln-app-header p {
  margin: 8px 0 0;
  font-size: 14px;
  opacity: 0.9;
}

/* Stepper Design */
.ln-app-stepper {
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  position: relative;
  margin-top: -20px;
  z-index: 2;
}

.ln-step-line {
  position: absolute;
  top: 20px;
  left: 50px;
  height: 4px;
  background: #4F46E5;
  z-index: -1;
  transition: width 0.4s ease-in-out;
}

.ln-app-stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50px;
  right: 50px;
  height: 4px;
  background: #e2e8f0;
  z-index: -2;
}

.ln-step-item {
  background: white;
  border-radius: 50%;
  padding: 5px;
}

.ln-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.ln-step-item.active .ln-step-circle {
  background: #4F46E5;
  color: white;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

/* Form Content */
.ln-app-form {
  padding: 20px;
}

.ln-app-step-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.animation-fade {
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ln-app-row {
  display: flex;
  gap: 20px;
}

.ln-app-row .ln-app-group {
  flex: 1;
}

.ln-app-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ln-app-label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.ln-app-input,
.ln-app-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  color: #1e293b;
  background: #f8fafc;
  transition: all 0.2s ease;
  box-sizing: border-box;

}

.ln-app-input:focus,
.ln-app-select:focus {
  outline: none;
  border-color: #4F46E5;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.ln-app-select:disabled {
  background-color: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
  opacity: 0.7;
}

.ln-app-input::placeholder {
  color: #94a3b8;
}

.uppercase-text {
  text-transform: uppercase;
}

.ln-app-error {
  color: #ef4444;
  font-size: 12px;
  font-weight: 500;
  margin-top: 2px;
}

/* Checkbox Consent */
.ln-app-consent-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: #f1f5f9;
  border-radius: 10px;
  margin-top: 10px;
}

.ln-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-top: 2px;
}

.ln-consent-label {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  cursor: pointer;
}

/* Buttons */
.ln-app-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
  gap: 15px;
}

.ln-spacer {
  flex: 1;
}

.ln-btn-primary {
  background: #4F46E5;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.ln-btn-primary:hover:not(:disabled) {
  background: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.ln-btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ln-btn-secondary {
  background: white;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* ============================================================
   RESUME AUTO-FILL (hero upload + status banner + field highlight)
   ============================================================ */
.ln-resume-hero {
  border: 2px dashed rgba(79, 70, 229, 0.35);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(217, 70, 239, 0.06) 100%);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ln-resume-hero:hover {
  border-color: #4F46E5;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(217, 70, 239, 0.1) 100%);
}

.ln-resume-hero .ln-resume-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}

.ln-resume-hero h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.ln-resume-hero p {
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
}

.ln-resume-hero .ln-resume-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Section dividers inside the form */
.ln-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 -6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.ln-section-header i {
  color: #4F46E5;
  font-size: 14px;
}

.ln-section-header span {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.ln-field-hint {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: -2px;
}

@media (max-width: 480px) {
  .ln-resume-hero { padding: 20px 14px; }
  .ln-resume-hero .ln-resume-icon { width: 46px; height: 46px; font-size: 18px; margin-bottom: 10px; }
  .ln-resume-hero h4 { font-size: 14px; }
}


/* .btn {
  padding: 8px 12px;
  background: var(--gradient-hover);
  color: white;
  border: none;
  border-radius: 15px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  text-align: center;
  height: 45px;
  width: 100px;
  font-weight: 500;
  cursor: pointer;

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 30px;
  left: 10px;
  display: flex;

  align-items: center;
} */

.btn-home:hover {
  opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .ln-app-row {
    flex-direction: column;
    gap: 0px;
  }

  .ln-app-form {
    padding: 30px 20px;
  }

  .ln-app-stepper {
    padding: 0 30px;
  }

  .ln-step-line {
    left: 30px;
  }

  .ln-app-stepper::before {
    left: 30px;
    right: 30px;
  }
}


/* Success/Error Message Styles */
.ln-app-message {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ln-app-message.success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid #10b981;
}

.ln-app-message.error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 2px solid #ef4444;
}

.ln-app-message-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.ln-app-message.success .ln-app-message-icon {
  color: #10b981;
}

.ln-app-message.error .ln-app-message-icon {
  color: #ef4444;
}

.ln-app-message-content {
  flex: 1;
}

.ln-app-message-content p {
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: pre-line;
}

.ln-app-message.success .ln-app-message-content p {
  color: #065f46;
}

.ln-app-message.error .ln-app-message-content p {
  color: #991b1b;
}

.ln-app-message-note {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #047857 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px !important;
}

.ln-app-message-note i {
  font-size: 0.9rem;
}

/* Loading spinner in button */
.ln-btn-primary i.fa-spinner {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .ln-app-message {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .ln-app-message-icon {
    font-size: 1.5rem;
  }

  .ln-app-message-content p {
    font-size: 0.95rem;
  }

  .ln-app-message-note {
    font-size: 0.85rem !important;
    justify-content: center;
  }
}


/* Error Border Validation */
.ln-app-input.error,
.ln-app-select.error {
  border-color: #ef4444 !important;
  border-width: 2px !important;
}

.ln-app-input.error:focus,
.ln-app-select.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
  border-color: #ef4444 !important;
}

/* Success Popup Modal Styles */
.ln-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.ln-popup-modal {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
}

/* Scrollbar styling for popup */
.ln-popup-modal::-webkit-scrollbar {
  width: 8px;
}

.ln-popup-modal::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.ln-popup-modal::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.ln-popup-modal::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.ln-popup-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.ln-popup-icon i {
  font-size: 40px;
  color: white;
}

.ln-popup-title {
  font-size: 1.8rem;
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 700;
}

.ln-popup-message {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 30px;
}

.ln-popup-btn {
  background: linear-gradient(135deg, #4F46E5, #6366F1);
  color: white;
  border: none;
  padding: 14px 50px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.ln-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.ln-popup-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .ln-popup-modal {
    padding: 30px 20px;
    width: 95%;
    max-height: 85vh;
  }

  .ln-popup-icon {
    width: 60px;
    height: 60px;
  }

  .ln-popup-icon i {
    font-size: 30px;
  }

  .ln-popup-title {
    font-size: 1.4rem;
  }

  .ln-popup-message {
    font-size: 0.95rem;
  }

  .ln-popup-btn {
    padding: 12px 40px;
    font-size: 1rem;
  }
}

/* Email domain suggestions dropdown */
.domain-suggestions {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.domain-suggestions li {
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #475569;
  font-size: 14px;
  border-radius: 6px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.domain-suggestions li:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateX(4px);
}

.domain-suggestions li:last-child {
  margin-bottom: 0;
}

.domain-suggestions li::before {
  content: '✉';
  margin-right: 10px;
  font-size: 16px;
  opacity: 0.7;
}

.domain-suggestions li:hover::before {
  opacity: 1;
}

/* Scrollbar styling */
.domain-suggestions::-webkit-scrollbar {
  width: 6px;
}

.domain-suggestions::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.domain-suggestions::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.domain-suggestions::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}


/* Close button for loan form */
.ln-app-card .close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.ln-app-card .close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments for close button and submit button */
@media (max-width: 768px) {
  .ln-app-card .close-modal-btn {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .ln-btn-primary,
  .ln-btn-secondary {
    padding: 12px 20px;
    font-size: 14px;
    height: 44px;
  }

  .ln-app-actions {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .ln-app-card .close-modal-btn {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .ln-btn-primary,
  .ln-btn-secondary {
    padding: 10px 16px;
    font-size: 13px;
    height: 40px;
  }

  .ln-app-actions {
    flex-direction: column;
    gap: 10px;
  }

  .ln-btn-primary,
  .ln-btn-secondary {
    width: 100%;
  }
}

/* Bank Dropdown Styles */
.bank-dropdown-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  animation: slideDown 0.2s ease;
}

.bank-dropdown-item {
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #475569;
  font-size: 14px;
  border-radius: 6px;
  margin-bottom: 2px;
}

.bank-dropdown-item:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateX(4px);
}

.bank-dropdown-item:last-child {
  margin-bottom: 0;
}

/* Scrollbar styling for bank dropdown */
.bank-dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.bank-dropdown-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.bank-dropdown-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.bank-dropdown-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}  
