​
/* ROOT COLORS  */
:root {

  --font-family: 'Poppins', sans-serif;
  /* --primary-color: #1999FB; */
  --primary-color: #1E3A8A;
  --primary-light:#5dadea;
  --primary-dark: #1d4ed8;
  --text-color: #1e293b;
  --border-color: #e5e7eb;
  --white: #ffffff;
}
body {
  font-family: var(--font-family);
}
/* Button hover animation */
/* Shimmer sweep effect */
.animi-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.animi-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.animi-btn:hover::before {
  left: 100%;
}

.animi-btn:hover,
.animi-btn:active {
  background-color: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.35) !important;
  color: white !important;
}

.animi-btn:active {
  transform: translateY(-1px);
  color: #1e293b !important;

}

/* =========================================
   White Button Animation Utility
========================================= */

.white-animi-btn {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease;

    will-change: transform;
}

/* Keep content above shimmer */
.white-animi-btn > * {
    position: relative;
    z-index: 2;
}

/* Shimmer layer */
.white-animi-btn::before {
    content: '';

    position: absolute;
    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );

    transition: left 0.7s ease;

    z-index: 1;
}

/* Shimmer move */
.white-animi-btn:hover::before {
    left: 100%;
}

/* Hover effect */
.white-animi-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 25px rgba(0,0,0,0.12),
        0 4px 10px rgba(0,0,0,0.06);
}

/* Active effect */
.white-animi-btn:active {
    transform: translateY(-1px);
    color: var(--text-primary) !important;
    background-color: var(--bg-section) !important;
}


/* NAVBAR */
.navbar-custom {
  /* background: var(--white); */
  padding: 6px 0;
   box-shadow: 0 2px 15px rgba(0,0,0,.08);
   background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(9px);
  /* border-bottom: 1px solid var(--border-color); */
  /* position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; */
}

/* LOGO */
.logo-img {
  height: 41px;
  width: 196px;
   border: none;
}


/* NAV LINKS */
.nav-item{
  position: relative;
}
.navbar-nav .nav-link {
  position: relative;

  color: var(--text-color) !important;
  font-weight: 400;
  font-size: 1.188rem;
  margin: 0 12px;
  transition: 0.3s;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}
/* Animated Underline */
.nav-item .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2.5px;
  background: var(--primary-color);
  transition: all 0.35s ease;
  transform: translateX(-50%);
  border-radius: 10px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* BUTTONS */
.btn.btn-primary-custom {
  background: var(--primary-color);
  color: white !important;
  border-radius: 6px;
  /* padding: 8px 18px; */
  width: 194px;
  height: 45px;
  border: none;
  font-weight: 500;
  font-size: 1.188rem;
}
/* .btn-primary-custom:hover{
    background: var(--primary-light);
    color: var(--white);
} */

.btn-outline-custom {
  border-radius: 6px;
  /* padding: 8px 18px; */
  background: transparent;
  font-weight: 500;
  font-size: 1.188rem;
}
.btn-outline-custom:hover{
    background-color: #f8f8f8;
    box-shadow: 0 0.9px 3px 0 rgba(0,0,0,0.19);
}
/* =========================
   MOBILE TOGGLER
========================= */
.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .ms-lg-5 {
        margin-left: 0 !important;
    }}



/* ============================================
    NAVBAR USER DROPDOWN - nb- PREFIX
    ============================================ */

/* User Dropdown Container */

/* ============================================
    NAVBAR USER DROPDOWN - nb- PREFIX
    ============================================ */

/* Ensure navbar stays above backdrop */
.navbar-custom.fixed-top {
  z-index: 1035 !important;
}

/* User Dropdown Container */
.nb-user-dropdown {
  position: relative;
  z-index: 1041;
}

/* User Avatar Button */
.nb-user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
}

.nb-user-avatar-btn:hover {
  background: rgba(30, 58, 138, 0.08);
}

/* Remove Bootstrap default dropdown toggle arrow */
.nb-user-avatar-btn.dropdown-toggle::after {
  display: none !important;
}

/* User Initial Circle */
.nb-user-initial {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.nb-user-avatar-btn:hover .nb-user-initial {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Dropdown Chevron */
.nb-dropdown-chevron {
  font-size: 0.75rem;
  color: var(--text-color);
  transition: transform 0.3s ease;
}

.nb-user-dropdown.show .nb-dropdown-chevron {
  transform: rotate(180deg);
}

/* ============================================
    DROPDOWN MENU
    ============================================ */

.nb-user-menu {
  width: 280px;
  padding: 8px 0;
  margin-top: 12px !important;
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: nbDropdownSlide 0.25s ease;
  z-index: 1040 !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
}

.dropdown-menu-end.nb-user-menu.show {
  right: 0 !important;
  left: auto !important;
  top: 100% !important;
}

@keyframes nbDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* User Menu Header */
.nb-user-menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  list-style: none;
}

.nb-user-menu-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0;
}

.nb-user-menu-info {
  min-width: 0;
}

.nb-user-menu-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
  text-transform: capitalize;
}

.nb-user-menu-email {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Menu Divider */
.nb-menu-divider {
  margin: 8px 16px;
  border-color: var(--border-color);
}

/* Menu Items */
.nb-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-color);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 0;
}

.nb-menu-item i {
  font-size: 1.125rem;
  color: var(--text-secondary);
  width: 24px;
  text-align: center;
  transition: color 0.2s ease;
}

.nb-menu-item:hover {
  background: rgba(30, 58, 138, 0.05);
  color: var(--primary-color);
}

.nb-menu-item:hover i {
  color: var(--primary-color);
}

/* Logout Item */
.nb-menu-logout {
  color: #dc3545;
}

.nb-menu-logout i {
  color: #dc3545;
}

.nb-menu-logout:hover {
  background: #fef2f2;
  color: #dc3545;
}

.nb-menu-logout:hover i {
  color: #dc3545;
}

/* ============================================
    PAGE BACKDROP OVERLAY
    ============================================ */

.nb-page-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1020;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.nb-page-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* ============================================
    RESPONSIVE
    ============================================ */

@media (max-width: 991.98px) {
  .nb-user-menu {
    width: 260px;
  }

  .nb-user-initial {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .nb-user-menu {
    width: calc(100vw - 32px);
    max-width: 320px;
    position: fixed !important;
    top: 72px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-top: 0 !important;
  }

  .dropdown-menu-end.nb-user-menu.show {
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) scale(1) !important;
  }

  .nb-user-menu-header {
    padding: 12px 16px;
  }

  .nb-menu-item {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .nb-menu-item i {
    font-size: 1rem;
  }
}

@media (max-width: 399.98px) {
  .nb-user-initial {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }

  .nb-user-avatar-btn {
    padding: 2px 4px;
    gap: 4px;
    min-width: 40px;
    min-height: 40px;
  }

  .nb-dropdown-chevron {
    font-size: 0.625rem;
  }

  .nb-user-menu {
    width: calc(100vw - 24px);
    max-width: 300px;
    top: 68px !important;
  }
}

/* Safe area for notched phones */
/* @supports (padding: max(0px)) {
  @media (max-width: 575.98px) {
    .nb-user-menu {
      left: max(16px, env(safe-area-inset-left)) !important;
      right: max(16px, env(safe-area-inset-right)) !important;
      width: auto;
      transform: none !important;
    }

    .dropdown-menu-end.nb-user-menu.show {
      left: max(16px, env(safe-area-inset-left)) !important;
      right: max(16px, env(safe-area-inset-right)) !important;
      transform: translateX(0) scale(1) !important;
    }
  }
} */


/* =========================
   SIGN UP MODAL - TUISHALA
   Student & Employer Dual Flow
   ========================= */

/* =========================
   MODAL BACKDROP & BASE
========================= */
.modal-upgrad {
    max-width: 820px !important;
}

.tuishala-left,
.tuishala-right {
    min-height: unset !important;
}

.btn-close {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 10;
}

.modal-header {
    padding: 0px!important;
}

/* =========================
   MAIN MODAL
========================= */
.tuishala-modal {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

/* =========================
   LEFT PANEL
========================= */
.tuishala-left {
    background: linear-gradient(180deg, #f8f9ff 0%, #eef4ff 100%);
    min-height: 650px;
    position: relative;
    padding: 30px 20px;
    overflow: hidden;
}

.tuishala-logo {
    width: 140px;
    margin-bottom: 20px;
}

.tuishala-illustration {
    width: 220px;
    margin: 20px auto 3rem;
    display: block;
}

.tuishala-left h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 20px 0 20px;
}

.tuishala-left p {
    color: #575757;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

/* Floating cards */
.float-card {
    position: absolute;
    background: #fff;
    padding: 6px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.c2 { top: 120px; right: 20px; }
.c3 { bottom: 40px; left: 10px; }
.c4 { bottom: -5px; right: 15px; }
.c5 { top: 92px; left: 25px; }

/* =========================
   RIGHT PANEL
========================= */
.tuishala-right {
    padding: 30px !important;
    min-height: 650px;
    position: relative;
}

.tuishala-right-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Back button */
.back-btn {
    position: absolute;
    top: 0px;
    left: 25px;
    font-size: 22px;
    border: none;
    background: transparent;
}

@media (max-width: 991px) {
    .back-btn {
        top: 5px;
    }
}

/* =========================
   STEP 0: ROLE SELECTION
========================= */
.subtext-0 {
    font-size: 12px;
    font-weight: 400;
    color: #575757;
}

.role-radio {
    display: none;
}

.role-card {
    display: block;
    position: relative;
    border: 2px solid #E8EAF2;
    border-radius: 20px;
    padding: 12px;
    cursor: pointer;
    transition: .35s;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, .08);
}

.role-radio:checked + .role-card {
    border: 2px solid var(--primary-color);
    box-shadow: 0 15px 35px rgba(30, 64, 175, .15);
    transform: translateY(-5px);
}

.custom-radio {
    width: 22px;
    height: 22px;
    border: 2px solid #C8CDD6;
    border-radius: 50%;
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-radio i {
    opacity: 0;
    transform: scale(.5);
    transition: .3s;
    color: #fff;
    font-size: 12px;
}

.role-radio:checked + .role-card .custom-radio {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.role-radio:checked + .role-card .custom-radio i {
    opacity: 1;
    transform: scale(1);
}

/* =========================
   STEP 1: MOBILE INPUT
   (Shared between Student & Employer)
========================= */
.tuishala-right h2 {
    font-size: 21px;
    font-weight: 600;
    color: #111827;
}

.subtext {
    color: #6b7280;
    font-size: 12px;
    font-weight: 400;
}

/* =========================
   EMPLOYER STEP 1: HEADER
========================= */
.p4-phone-shield-wrapper {
    display: flex;
    justify-content: center;
}

.p4-phone-shield-bg {
    width: 80px;
    height: 80px;
    position: relative;
    top: -14px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p4-phone-shield-bg img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.p4-phone-header {
    text-align: center;
    font-size: 1.563rem;
    font-weight: 600;
    color: black;
}

.p4-employee-subtext {
    font-size: 1rem;
    font-weight: 400;
    color: #565656;
    text-align: center;

}

/* =========================
   MOBILE NUMBER INPUT
========================= */
.mobile-label {
    font-size: 0.938rem;
    font-weight: 400;
    color: #000000;
    margin-bottom: 12px;
    display: block;
}

.mobile-input-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    background: #fff;
    border: 1px solid #D8D8D8;
    border-radius: 22px;
    overflow: hidden;
    transition: .3s ease;
}

.mobile-input-box:focus-within {
    border-color: #0D6EFD;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, .12);
}

.mobile-icon {
    width: 60px;
    min-width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #8A8A8A;
    font-size: 20px;
    border-right: 1px solid #CACACA;
}

.mobile-input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 18px;
    font-size: 0.875rem;
    font-weight: 400;
    color: #575757;
    background: transparent;
}

.mobile-input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.mobile-input::-webkit-outer-spin-button,
.mobile-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mobile-input[type=number] {
    -moz-appearance: textfield;
}

/* =========================
   FEATURE BOX
========================= */
.feature-card {
    background: #fff;
    border-radius: 22px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .04);
}

.feature-item {
    flex: 1;
    text-align: center;
}

.feature-divider {
    width: 1px;
    align-self: stretch;
    background: #E6E6E6;
    margin: 0 8px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.blue { background: #EEF6FF; }
.green { background: #ECFAF1; }
.purple { background: #F5ECFF; }

.feature-item h6 {
    margin-top: 15px;
    font-size: 15px;
    font-weight: 500;
    color: #4B5563;
    line-height: 1.3;
}

/* Continue button */
.continue-btn {
    width: 100%;
    height: 44px;
    border-radius: 13px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
}

.continue-btn:disabled {
    pointer-events: none;
    background: #a5c5ff;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Privacy */
.privacy {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-top: 20px;
}

.privacy a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* =========================
   STEP 2: OTP VERIFICATION
========================= */
.otp-shield-wrapper {
    display: flex;
    justify-content: center;
}

.otp-header > span {
    font-size: 21px;
    font-weight: 500;
    color: var(--primary-color);
}

.otp-header + .subtext {
    font-size: 1rem;
    font-weight: 400;
    color: #565656;
}

.otp-shield-bg {
    width: 100px;
    height: 100px;
    position: relative;
    top: -14px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-mobile-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 12px 20px;
    border-radius: 16px;
    font-size: 15px;
}

.edit-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.edit-link:hover {
    color: var(--primary-color);
}

.edit-link .fa-solid,
.edit-link .fas {
    color: var(--primary-color);
}

.otp-boxes {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.otp-boxes input {
    width: 48px;
    height: 56px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    background: #f9fafb;
    transition: all 0.2s;
}

.otp-boxes input:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.resend-text {
    font-weight: 400;
    font-size: 1rem;
    color: #575757;
}

.resend-text > a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-footer {
    font-size: 12px;
    color: #111827;
    line-height: 1.6;
}

.legal-footer a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.tuishala-step-2 .continue-btn,
.p4-employer-step-2 .continue-btn {
    height: 50px;
    font-size: 16px;
    border-radius: 14px;
}

/* =========================
   STEP 3: COMPLETE PROFILE
========================= */
.profile-step-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.profile-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.profile-subtitle {
    font-size: 1rem;
    color: #565656;
    margin-bottom: 0;
}

.profile-avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #e8f4fd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.profile-avatar img[src*="default"],
.profile-avatar img[src*="user1"] {
    display: block;
    width: 40px;
    height: 40px;
    opacity: 0.5;
}

.profile-avatar-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 36px;
}

.profile-avatar img:not([src*="default"]):not([src*="user1"]) + .profile-avatar-overlay {
    display: none;
}

.profile-avatar img:not([src*="default"]):not([src*="user1"]) {
    display: block;
}

.profile-camera-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, background 0.2s;
}

.profile-camera-btn:hover {
    transform: scale(1.1);
    background: #1d4ed8;
}

.profile-label {
    font-size: 0.938rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 6px;
}

.profile-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #CACACA;
    border-radius: 12px;
    padding: 0 14px;
    height: 46px;
    transition: all 0.2s;
}

.profile-input-box:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.profile-input-box.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.profile-input-icon {
    color: #2143DA;
    font-size: 21px;
    margin-right: 10px;
    flex-shrink: 0;
}

.profile-input {
    border: none !important;
    background: transparent !important;
    padding: 0!important;
    font-size: 0.938rem!important;
    font-weight: 400!important;
    color: #A1A1A1!important;
    flex: 1!important;
    height: 100%!important;
    box-shadow: none !important;
}

.profile-input::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

.profile-input:focus {
    outline: none;
    box-shadow: none;
}

.profile-select-box {
    padding-right: 14px;
}

.profile-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 20px;
}

.profile-select-arrow {
    position: absolute;
    right: 14px;
    color: #9ca3af;
    font-size: 12px;
    pointer-events: none;
}

.gender-toggle-group {
    display: flex;
    gap: 10px;
}

.gender-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
}

.gender-btn i {
    font-size: 18px;
}

.gender-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.gender-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.gender-btn.active:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.invalid-feedback {
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.profile-input-box.is-invalid ~ .invalid-feedback {
    display: block;
}

.step3-scroll {
    flex: 1;
    min-height: 0;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.tuishala-step-3 .continue-btn {
    height: 48px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
}

/* =========================
   PREMIUM TOAST STYLES
========================= */
.custom-success-toast {
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden;
    width: 350px;
}

.success-icon-mini {
    width: 24px;
    height: 24px;
    background: #22C55E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.toast-title {
    color: #111827;
    font-weight: 700;
}

.toast-body {
    color: #4B5563;
    font-size: 14px;
}

.toast-progress-bar {
    height: 4px;
    width: 100%;
    background: #e5e7eb;
    position: relative;
}

.toast-progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #22C55E;
    animation: toastProgress 4s linear forwards;
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

.toast.showing {
    animation: slideInRight 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {
    .tuishala-right {
        padding: 30px;
        min-height: auto;
    }
    .tuishala-right h2 {
        font-size: 26px;
    }
    .mobile-input-box {
        height: 58px;
        border-radius: 18px;
    }
    .mobile-icon {
        width: 56px;
        min-width: 56px;
        font-size: 18px;
    }
    .mobile-input {
        font-size: 16px;
    }
    .step3-scroll {
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    .feature-card {
        padding: 18px 12px;
        border-radius: 18px;
    }
    .feature-icon {
        width: 56px;
        height: 56px;
    }
    .feature-icon img {
        width: 26px;
        height: 26px;
    }
    .feature-item h6 {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .mobile-label {
        font-size: 15px;
    }
    .mobile-input-box {
        height: 54px;
        border-radius: 16px;
    }
    .mobile-icon {
        width: 52px;
        min-width: 52px;
        font-size: 17px;
    }
    .mobile-input {
        padding: 0 14px;
        font-size: 15px;
    }
    .profile-title {
        font-size: 18px;
    }
    .profile-input-box {
        height: 48px;
    }
    .gender-btn {
        padding: 10px 6px;
        font-size: 11px;
    }
    .gender-btn i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 16px 8px;
    }
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    .feature-icon img {
        width: 22px;
        height: 22px;
    }
    .feature-item h6 {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .mobile-input-box {
        height: 50px;
    }
    .mobile-icon {
        width: 48px;
        min-width: 48px;
        font-size: 16px;
    }
    .mobile-input {
        font-size: 14px;
    }
}

/* ===================================
   EMPLOYER STEP 3: COMPLETE COMPANY PROFILE
   All classes prefixed with p4-emp-
   =================================== */

.p4-emp-step-3 {
    height: 100%;
}

.p4-emp-profile-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header */
.p4-emp-header {
    flex-shrink: 0;
}

.p4-emp-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.p4-emp-subtitle {
    font-size: 1rem;
    color: #565656;
    margin-bottom: 0;
}

/* Profile Avatar */
.p4-emp-avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto;
    flex-shrink: 0;
}

.p4-emp-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #e8f4fd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.p4-emp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.p4-emp-avatar img[src*="user1"] {
    display: block;
    width: 40px;
    height: 40px;
    opacity: 0.5;
}

.p4-emp-avatar img:not([src*="user1"]) {
    display: block;
}

.p4-emp-camera-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, background 0.2s;
}

.p4-emp-camera-btn:hover {
    transform: scale(1.1);
    background: #1d4ed8;
}

/* Scrollable Form Container */
.p4-emp-scroll {
    flex: 1;
    min-height: 0;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 8px;
}

/* Custom Scrollbar */
.p4-emp-scroll::-webkit-scrollbar {
    width: 4px;
}

.p4-emp-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.p4-emp-scroll::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.p4-emp-scroll::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Form Labels */
.p4-emp-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

/* Input Boxes */
.p4-emp-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    padding: 0 14px;
    height: 46px;
    transition: all 0.2s;
}

.p4-emp-input-box:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.p4-emp-input-box.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.p4-emp-input-icon {
    color: #2143DA;
    font-size: 21px;
    margin-right: 10px;
    flex-shrink: 0;
}

.p4-emp-input {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 400;
    color: #111827;
    flex: 1;
    height: 100%;
    box-shadow: none !important;
}

.p4-emp-input::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

.p4-emp-input:focus {
    outline: none;
    box-shadow: none;
}

/* Select Box */
.p4-emp-select-box {
    padding-right: 14px;
}

.p4-emp-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 20px;
    color: #9ca3af;
}

.p4-emp-select option {
    color: #111827;
}

.p4-emp-select option:first-child {
    color: #9ca3af;
}

.p4-emp-select:valid {
    color: #111827;
}

.p4-emp-select-arrow {
    position: absolute;
    right: 14px;
    color: #6B7280;
    font-size: 12px;
    pointer-events: none;
}

/* Textarea */
.p4-emp-textarea-box {
    position: relative;
    display: flex;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.2s;
}

.p4-emp-textarea-box:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.p4-emp-textarea-box .p4-emp-input-icon {
    margin-top: 2px;
}

.p4-emp-textarea {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 400;
    color: #111827;
    flex: 1;
    resize: none;
    box-shadow: none !important;
    min-height: 60px;
}

.p4-emp-textarea::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

.p4-emp-textarea:focus {
    outline: none;
    box-shadow: none;
}

/* Checkbox */
.p4-emp-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.p4-emp-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1.5px solid #D1D5DB;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #2563eb;
    flex-shrink: 0;
}

.p4-emp-checkbox-label {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
    cursor: pointer;
    margin-bottom: 0;
}

.p4-emp-checkbox-label a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.p4-emp-checkbox-label a:hover {
    text-decoration: underline;
}

/* Invalid Feedback */
.p4-emp-step-3 .invalid-feedback {
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.p4-emp-input-box.is-invalid ~ .invalid-feedback,
.p4-emp-textarea-box.is-invalid ~ .invalid-feedback,
.p4-emp-checkbox-wrapper.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Submit Button */
.p4-emp-step-3 .continue-btn {
    height: 48px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .p4-emp-scroll {
        max-height: 360px;
    }
}

@media (max-width: 576px) {
    .p4-emp-title {
        font-size: 18px;
    }
    .p4-emp-input-box {
        height: 48px;
    }
    .p4-emp-scroll {
        max-height: 340px;
    }
}


/* wishlist Love icon */
.feature-course-card, .cdp-related-card, .program-card {
    position: relative;
}

.wishlist-toggle-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.wishlist-toggle-btn i {
    font-size: 18px;
}

.wishlist-toggle-btn:hover {
    background: #dc3545;
    color: #fff;
    transform: scale(1.08);
}

.wishlist-toggle-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.wishlist-toggle-btn.active {
    background: #dc3545;
    color: #fff;
}
