/* ========================
   Branding & Global Styles
   ======================== */
:root {
  --font-family-base: 'Manrope', sans-serif;

  /* Brand Colors */
  --color-primary: #45b8ff;
  --color-secondary-1: #5ae5de;
  --color-secondary-2: #ef7fef;

  /* UI Helpers */
  --color-text: #2c2c2c;
  --color-light: #f9f9f9;
  --color-dark: #1c1c1c;

  /* Semantic Feedback Colors */
  --color-success: #28a745;
  --color-danger: #dc3545;
  --color-warning: #ffc107;
  --color-info: #17a2b8;
}

.content-wrapper {
    padding-bottom: 50px;
}



/* ========================
   Global Font & Base
   ======================== */
body {
  font-family: var(--font-family-base);
  color: var(--color-text);
  background-color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* ========================
   Sticky Footer Layout
   ======================== */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}


/* ========================
   Typography
   ======================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

p, label, input, select, button {
  font-weight: 400;
  font-size: 0.95rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-secondary-2);
}

/* ========================
   Buttons
   ======================== */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  font-weight: 500;
}
.btn-primary:hover {
  background-color: var(--color-secondary-2);
  border-color: var(--color-secondary-2);
}

.btn-secondary-1 {
  background-color: var(--color-secondary-1);
  border-color: var(--color-secondary-1);
  color: #fff;
  font-weight: 500;
}

.btn-secondary-1:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn-secondary-2 {
  background-color: var(--color-secondary-2);
  border-color: var(--color-secondary-2);
  color: #fff;
  font-weight: 500;
}

.btn-secondary-2:hover {
  background-color: var(--color-secondary-1);
  border-color: var(--color-secondary-1);
  color: #fff;
}

.btn-outline-secondary {
  border-color: var(--color-secondary-1);
  color: var(--color-secondary-1);
}
.btn-outline-secondary:hover {
  background-color: var(--color-secondary-1);
  color: white;
}

/* Modern Rounded Buttons */
.custom-btn {
  border-radius: 25px;
  padding: 6px 18px;
  font-weight: 500;
}

/* Simple Hover Styles (no animation) */
.btn-outline-light.custom-btn:hover {
  background-color: #fff;
  color: #212529 !important;
}
.btn-warning.custom-btn:hover {
  background-color: #e0a800 !important;
  color: #000 !important;
}
.btn-danger.custom-btn:hover {
  background-color: #c82333 !important;
  color: #fff !important;
}

/* ========================
   Global Modal Theme
   ======================== */
.modal-content {
  border-radius: 1rem !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* Modal Header */
.modal-header {
  background: var(--color-primary);
  color: #fff;
  border-bottom: none;
  align-items: center;
  padding: 1rem 1.25rem;
}

.modal-header .modal-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.modal-header .btn-close:hover {
  opacity: 1;
}

/* Modal Body */
.modal-body {
  background-color: #fff;
  color: var(--color-text);
  padding: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Modal Footer */
.modal-footer {
  background-color: var(--color-light);
  border-top: none;
  padding: 1rem 1.25rem;
}

/* Modal Buttons */
.modal-footer .btn {
  border-radius: 25px;
  font-weight: 500;
}
.modal-footer .btn-outline-secondary {
  border-color: var(--color-secondary-1);
  color: var(--color-secondary-1);
}
.modal-footer .btn-outline-secondary:hover {
  background-color: var(--color-secondary-1);
  color: #fff;
}

/* ========================
   Cards
   ======================== */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.card-header {
  background-color: var(--color-primary) !important;
  color: #fff !important;
  font-weight: 600;
}

/* ========================
   Unified Stat Cards
   ======================== */
.stat-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

/* Color Variants */
.card-primary { 
  background-color: var(--color-primary) !important; 
  color: #ffffff !important; 
}
.card-sec-1 { 
  background-color: var(--color-secondary-1) !important; 
  color: #ffffff !important; 
}
.card-sec-2 { 
  background-color: var(--color-secondary-2) !important; 
  color: #ffffff !important; 
}
.card-dark { 
  background-color: #4a4a4a !important;
  color: white !important;
}

.card-white { 
  background-color: #ffffff !important; 
  color: var(--color-text) !important; 
}

/* Icon backgrounds within cards for contrast */
.stat-card .icon-wrapper {
  background: rgba(255, 255, 255, 0.2);
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* For white cards, use a light gray wrapper */
.card-white .icon-wrapper {
  background: rgba(0, 0, 0, 0.05);
}

/* Ensure headings/text inside colored cards are visible */
.stat-card .text-muted-white {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ========================
   Forms
   ======================== */
.form-control, .form-select {
  border-radius: 0.5rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(69, 184, 255, 0.25);
  outline: none;
}

/* ========================
   Tables
   ======================== */
table.table th a {
  color: inherit;
  text-decoration: none;
}
table.table th a:hover {
  color: #000;
}
table.table th {
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}
table.table td {
  vertical-align: middle;
}
.sort-icon {
  font-size: 0.8rem;
  color: #6c757d;
}

/* ========================
   Navbar & Top Bar
   ======================== */
.top-bar {
    background-color: #1a1e21; /* Slightly darker than main nav */
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 1050;
    overflow: visible;
}

.top-bar .container {
    gap: 1rem;
    overflow: visible;
}

.top-info {
    min-width: 0;
}

.top-auth {
    flex-shrink: 0;
    position: relative;
    overflow: visible;
}

.top-auth .dropdown {
    position: static;
    overflow: visible;
}

@media (min-width: 992px) {
    .top-auth .dropdown {
        position: relative;
    }
}

.top-bar-profile-img {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border: 1.5px solid #fff;
}

.top-auth .btn-topbar.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.top-auth-dropdown,
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px;
}

.top-bar .top-auth-dropdown,
.top-bar-account-dropdown .dropdown-menu {
    z-index: 1060;
}

.top-bar .social-links i {
    font-size: 0.9rem;
    transition: color 0.2s;
}

.top-bar .social-links i:hover {
    color: var(--color-primary);
}

.navbar {
  background: linear-gradient(90deg, #212529, #343a40);
  transition: all 0.3s ease;
}

.navbar.sticky-top {
  z-index: 1030;
}

/* Profiles & Dropdowns (Moved from Header) */
.nav-profile-img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 1.5px solid #fff;
    border-radius: 50%;
}

.main-nav-links .nav-link {
    white-space: nowrap;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    font-size: 0.95rem;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .main-nav-links .nav-link {
        padding-left: 0.45rem;
        padding-right: 0.45rem;
        font-size: 0.875rem;
    }
}

.navbar-nav .nav-link.active {
    color: var(--color-warning) !important;
}

.navbar-logo {
  height: 70px; /* Reduced slightly for better proportions with top-bar */
  width: auto;
}

.btn-topbar {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    min-width: 90px; /* Ensures both buttons are the exact same width */
    text-align: center;
    display: inline-block;
    line-height: 1.5;
}

/* Primary Button (Login) */
.btn-topbar-primary {
    background-color: var(--color-primary);
    color: #fff !important;
}

/* Secondary Button (Sign Up) */
.btn-topbar-secondary {
    background-color: var(--color-secondary-2);
    color: #fff !important;
}

/* Hover State - Both turn to Secondary-1 */
.btn-topbar:hover {
    background-color: var(--color-secondary-1) !important;
    color: var(--color-dark) !important; /* Dark text for better contrast on light teal */
    transform: translateY(-1px);
}

.top-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Icons specifically in Primary Color */
.top-link i {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

/* Hover State: Icon and Text both shift to Secondary-1 */
.top-link:hover, 
.top-link:hover i {
    color: var(--color-secondary-1) !important;
}

/* Ensure social icons also follow hover behavior if needed */
.social-links a i {
    transition: color 0.3s ease;
}

.social-links a:hover i {
    color: var(--color-secondary-1) !important;
}

/* Mobile Adjustments for Top Bar */
@media (max-width: 991px) {
  .top-bar {
    display: none;
  }

  .mobile-auth-panel .btn-topbar {
    min-width: 0;
  }
}

/* ========================
   Home Page Unified Styles
   ======================== */

/* 1. Hero Carousel */
.full-bleed-carousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -1.5rem; /* This pulls it up to touch the navbar */
}

.carousel-item {
    height: 80vh;
    min-height: 750px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* ADD THESE FOUR LINES */
    display: flex !important;       /* Forces flex behavior */
    flex-direction: column;         /* Keeps text stacked vertically */
    align-items: center;            /* Centers horizontally */
    justify-content: center;         /* Centers vertically */
}

.carousel-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.70); /* Subtle dark overlay */
}

.carousel-caption {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 80%;
    max-width: 900px;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0;
}

.carousel-caption h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
    color: #ffffff !important;
    margin-bottom: 1rem;
}

.carousel-caption .lead {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    color: #ffffff !important;
}

/* Ensure navigation arrows are visible and clickable */
.carousel-control-prev, .carousel-control-next {
    width: 7%;
    z-index: 15;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(0,0,0,0.3); /* Adds a small dark circle background */
    border-radius: 50%;
}

/* 2. Section Headers & Global Elements */
.section-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.brand-line {
    width: 60px;
    height: 3px;
    background: var(--color-secondary-2);
    border-radius: 2px;
    margin-top: 10px; /* Kept from original for spacing */
}

/* 3. Core Offer Cards (Section 2) */
.offer-card-link {
    color: inherit;
    display: block;
}

.offer-card-link:hover {
    color: inherit;
}

.offer-card {
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent !important;
}

.offer-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--color-primary) !important;
}

.icon-box {
    /* Increased size from 60px to 80px to accommodate larger icons */
    width: 80px;
    height: 80px;
    background: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Color is still handled here, but size is handled by fs-2 class in HTML */
    color: var(--color-primary);
}

/* 4. Premium Feature Cards (Trainers Pool & Membership) */
.feature-card {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.feature-content {
    background: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
    transition: background 0.4s ease;
}

/* Text reveal logic for feature cards */
.feature-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-content {
    background: rgba(69, 184, 255, 0.85); /* Primary color shift */
}

.feature-card:hover .feature-text {
    opacity: 1;
    transform: translateY(0);
}

/* 5. Unified Hover Animation (Team & News Cards) */
.hover-animate-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-animate-card .img-wrapper {
    overflow: hidden;
    height: 250px; /* Unified height for consistency */
}

.hover-animate-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hover-animate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.hover-animate-card:hover img {
    transform: scale(1.1);
}

/* 6. Opportunity List (Database Results) */
.opportunity-list {
    display: flex;
    flex-direction: column;
}

.opportunity-list .list-group-item {
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.opportunity-list .list-group-item:hover {
    background: #f8f9fa;
    border-left-color: var(--color-primary);
}

.opportunity-list .list-group-item a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
}

.opportunity-list .opportunity-title {
    color: var(--color-dark);
    line-height: 1.3;
}

/* 7. Utilities & Helpers */
.x-small { font-size: 0.8rem; }

.bg-secondary-1 { background-color: var(--color-secondary-1) !important; }
.bg-secondary-2 { background-color: var(--color-secondary-2) !important; }

/* Contact Form Specific Styling */
.home-wrapper section form .form-control {
    border: 1px solid #eee;
    padding: 12px;
}

.home-wrapper section form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: none;
}

/* ========================
   Partners Marquee
   ======================== */
.partners-section {
  background: linear-gradient(135deg, rgba(69, 184, 255, 0.06), rgba(234, 127, 239, 0.06));
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.25rem 0 0.5rem;
}

.partners-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  gap: 1rem;
  animation: partners-scroll 24s linear infinite;
  will-change: transform;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

.partner-card {
  min-width: 210px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  opacity: 1;
}

.partner-logo {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 991px) {
  .partner-card {
    min-width: 185px;
    height: 110px;
    padding: 1.1rem 1.25rem;
  }

  .partner-logo {
    max-height: 64px;
  }
}

@media (max-width: 767px) {
  .partner-card {
    min-width: 155px;
    height: 100px;
    padding: 0.95rem 1rem;
  }

  .partner-logo {
    max-height: 56px;
  }
}

/* ========================
   SDG Row Styles
   ======================== */
.sdg-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.sdg-row img {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  flex: 1 1 auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.sdg-row img:hover {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .sdg-row {
    justify-content: flex-start !important;
    gap: 10px;
  }

  .sdg-row img {
    max-height: 84px;
  }
}

/* ========================
   Jobs Module Styles
   ======================== */

/* Job Card & Hover Effects */
.job-card {
    border-left: 5px solid transparent !important;
    transition: all 0.2s ease-in-out;
}

.job-card:hover { 
    border-left-color: var(--color-primary) !important; 
    transform: translateX(5px); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

/* Typography Colors */
.job-title-link {
    color: var(--color-primary) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.job-title-link:hover {
    color: var(--color-secondary-2) !important;
}

.employer-name {
    color: var(--color-secondary-2) !important;
}

/* Custom View Details Button */
.btn-job-details {
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 25px; /* Matches your custom-btn style */
}

.btn-job-details:hover {
    background-color: var(--color-secondary-2);
    border-color: var(--color-secondary-2);
    color: #fff !important;
}

/* Fee Badges */
.bg-success-subtle {
    background-color: #d1e7dd;
}

/* Pagination Customization */
.page-link {
    border: none;
    margin: 0 3px;
    border-radius: 8px !important;
    color: var(--color-text);
}

.page-item.active .page-link {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: white !important;
}

/* ========================
   Footer Styling
   ======================== */
footer h5 {
  color: var(--color-secondary-2);
  font-weight: 600;
}
footer a {
  color: #f8f9fa;
  font-size: 0.95rem;
}

footer a:hover {
  color: var(--color-secondary-2);
  text-decoration: underline;
}
footer p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ========================
   Profile Module Styles
   ======================== */

.profile-header { 
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary-1)); 
    color: white; 
    border-radius: 15px; 
}

.profile-photo { 
    width: 140px; 
    height: 140px; 
    object-fit: cover; 
    border: 4px solid #fff; 
}

.section-title { 
    border-left: 4px solid var(--color-primary); 
    padding-left: 12px; 
    font-weight: 700; 
    color: var(--color-dark); 
    margin-bottom: 20px; 
}

.card-custom { 
    border: 1px solid #e5e7eb; 
    border-radius: 12px; 
    background: #fff; 
    margin-bottom: 1.5rem; 
}

.info-label { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    color: #6b7280; 
    font-weight: 700; 
    letter-spacing: 0.05em; 
}

.timeline-item { 
    border-left: 2px solid #e5e7eb; 
    padding-left: 20px; 
    position: relative; 
    padding-bottom: 20px; 
}

.timeline-item::before { 
    content: ""; 
    position: absolute; 
    left: -7px; 
    top: 5px; 
    width: 12px; 
    height: 12px; 
    background: var(--color-secondary-1); 
    border-radius: 50%; 
}

.profile-header .btn-light:hover {
    color: var(--color-secondary-2) !important;
}

.text-brand-primary { color: var(--color-primary) !important; }
.text-brand-sec-2 { color: var(--color-secondary-2) !important; }

/* ========================
   Edit Profile Specific
   ======================= */
.section-card { 
    border-radius: 12px; 
    border: 1px solid #e0e0e0; 
    margin-bottom: 2rem; 
    background: #fff; 
    scroll-margin-top: 2rem; 
}

.x-small-label { 
    font-size: 0.72rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    color: #6c757d; 
    font-weight: 700; 
    margin-bottom: 4px; 
    display: block; 
}

.dynamic-item { 
    position: relative; 
    padding: 1.5rem; 
    border: 1px solid #f0f0f0; 
    border-radius: 8px; 
    background: #fafafa; 
    margin-bottom: 1.5rem; 
    transition: 0.3s; 
}

.dynamic-item:hover { 
    border-color: var(--color-primary); 
}

.btn-remove { 
    position: absolute; 
    top: 10px; 
    right: 10px; 
    z-index: 10; 
}

.sticky-sidebar { 
    position: sticky; 
    top: 20px; 
}

/* Sidebar Active State using Brand Color */
#sidebar-nav .nav-link.active { 
    background-color: var(--color-primary) !important; 
    color: #fff !important; 
}

#sidebar-nav .nav-link {
    color: var(--color-text);
    transition: all 0.2s;
}

#sidebar-nav .nav-link:hover:not(.active) {
    color: var(--color-primary);
    background-color: var(--color-light);
}

.nav-profile-img {
    width: 35px;
    height: 35px;
    object-fit: cover; /* Prevents stretching */
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
}

/* ========================
   Password Toggle & Security Specific
   ======================== */

.bg-primary-subtle { 
    background-color: rgba(69, 184, 255, 0.1) !important; 
}

/* Password Visibility Toggle Buttons */
.btn-toggle-pwd {
    border-color: #dee2e6 !important;
    border-radius: 0 0.5rem 0.5rem 0 !important;
    background-color: #f8f9fa;
    color: #6c757d;
}

.btn-toggle-pwd:hover {
    background-color: #e9ecef;
    color: var(--color-dark);
}

/* Input Group adjustments for rounded corners */
.input-group > .form-control-pwd {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
}

.input-group-text-pwd {
    border-radius: 0.5rem 0 0 0.5rem !important;
}

/* Security Icon Wrapper */
.icon-circle-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/* ========================
   Trainer Intro Module Refined
   ======================== */

/* Hero Section with Brand Gradient */
.trainer-hero {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary-1));
    border-radius: 0 0 50px 50px;
    padding: 80px 0;
}

/* Dashboard-style Icon Wrapper */
.icon-wrapper-premium {
    background: rgba(239, 127, 239, 0.15); /* Magenta (secondary-2) with transparency */
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper-premium i {
    color: var(--color-primary); /* Brand Blue */
    font-size: 1.75rem;
}

/* Selection Process Arrows */
.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary-1);
    font-size: 1.5rem;
}

@media (max-width: 767px) {
    .process-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

/* ========================
   Trainer Enrollment Module
   ======================== */

/* Tag Input System */
.tag-container-box {
    min-height: 50px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tag-container-box:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(69, 184, 255, 0.25);
}

.tag {
    background-color: var(--color-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tag .remove-tag {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.8;
}

.tag .remove-tag:hover {
    opacity: 1;
}

#tag-input {
    outline: none;
    min-width: 150px;
}

/* Switches & Layout Adjustments */
.trainer-form-card {
    border-radius: 1.5rem !important;
}

.alert-link {
    text-decoration: underline !important;
}