/* =========================================================
   Trainer Management System — Global Styles
   Theme: Light Professional (Modern & Clean)
   ========================================================= */



:root {
  --navy: #f8fafc;
  /* Page Background */
  --navy2: #ffffff;
  /* Card/Navbar Background */
  --navy3: #f1f5f9;
  /* Subtle sidebar/bg */
  --card: #ffffff;
  --card2: #f8fafc;
  --border: rgba(0, 0, 0, 0.08);
  --teal: #00b894;
  --teal2: #00a884;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --amber: #f59e0b;
  --red: #ef4444;
  --green: #22c55e;
  --text: #0f172a;
  /* Main text */
  --text2: #475569;
  /* Muted text */
  --text3: #94a3b8;
  /* Lighter text */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --glow: 0 0 20px rgba(0, 184, 148, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Verdana, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 184, 148, 0.03), transparent),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.03), transparent);
  pointer-events: none;
  z-index: 0;
}

/* ─────────── NAVBAR ─────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: Arial, Verdana, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.navbar-brand span {
  color: var(--teal);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: #b7efe3;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-user .btn-sm {
  white-space: nowrap;
}

/* ─────────── COMMON ─────────── */
.wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-header h2 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.card-header .icon {
  width: 32px;
  height: 32px;
  background: var(--navy3);
  color: var(--teal);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text3);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text2);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb span:last-child {
  color: var(--text3);
}

/* ─────────── FORMS ─────────── */
.form-group {
  margin-bottom: 1.25rem;
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--navy3);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--navy2);
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.form-control::placeholder {
  color: var(--text3);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text3);
  margin-top: 0.35rem;
}

.form-error {
  display: block;
  font-size: 0.72rem;
  color: var(--red);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text2);
}

.btn-outline:hover {
  background: var(--navy3);
  color: var(--text);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  display: flex;
}

/* ─────────── ALERTS ─────────── */
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ─────────── BADGES ─────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-teal {
  background: rgba(0, 184, 148, 0.1);
  color: var(--teal2);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
}

.badge-green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
}

.badge-red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

/* ─────────── AVATAR ─────────── */
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--navy2);
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.2s, box-shadow 0.2s;
}

.avatar-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.avatar-link:hover .avatar {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 184, 148, 0.2);
}

.avatar-link.active .avatar {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(0, 184, 148, 0.3);
}

.avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy3);
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  object-fit: cover;
}

/* ─────────── HOME / HERO ─────────── */
.hero {
  padding: 4rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--navy3);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: Arial, Verdana, sans-serif;
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--teal);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text2);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.hero-stat .num {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
}

.hero-stat .lbl {
  font-size: 0.8rem;
  color: var(--text2);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  height: 400px;
}

.hcard {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  position: absolute;
}

.hcard-main {
  width: 320px;
  z-index: 2;
  top: 10%;
  right: 5%;
}

.hcard-mini {
  width: 220px;
  z-index: 3;
}

.hcard-mini.c1 {
  top: 0;
  left: 0;
  animation: float 6s ease-in-out infinite;
}

.hcard-mini.c2 {
  bottom: 0;
  right: 0;
  animation: float 6s ease-in-out infinite 3s;
}

.hcard-mini.c3 {
  bottom: 20%;
  left: -10%;
  animation: float 8s ease-in-out infinite 1s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* ─────────── SECTIONS ─────────── */
.section {
  padding: 6rem 0;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: Arial, Verdana, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text2);
  font-size: 1rem;
}

/* ─────────── HOW IT WORKS ─────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.how-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
}

.how-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: Arial, Verdana, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  opacity: 0.3;
}

.how-icon {
  width: 56px;
  height: 56px;
  background: var(--navy3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

.how-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.how-card p {
  font-size: 0.825rem;
  color: var(--text2);
}

/* ─────────── ROLES ─────────── */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.role-card {
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--navy2);
  display: flex;
  flex-direction: column;
}

.role-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.role-card h3 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.role-card p {
  font-size: 0.9rem;
  color: var(--text2);
  margin-bottom: 1.5rem;
}

.role-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.role-features li {
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.role-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

.cta-banner {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 30px;
  padding: 4rem;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  opacity: 0.8;
  margin-bottom: 2.5rem;
}

.cta-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ─────────── DASHBOARD ─────────── */
.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
}

.page-header p {
  color: var(--text2);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-icon.teal {
  background: rgba(0, 184, 148, 0.1);
  color: var(--teal2);
}

.stat-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
}

.stat-icon.amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
}

.stat-icon.pink {
  background: rgba(236, 72, 153, 0.1);
  color: var(--pink);
}

.stat-info .num {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-info .label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text3);
  margin-top: 0.25rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.empty-state h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.85rem;
  color: var(--text3);
}

.skill-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--navy3);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text2);
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
  border: 1px solid var(--border);
}

/* ─────────── PROFILE ─────────── */
.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.profile-sidebar {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.profile-avatar-wrap {
  position: relative;
  width: 110px;
  margin: 0 auto 1.5rem;
}

.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--navy3);
}

.profile-avatar-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--navy3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text3);
}

.profile-avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 34px;
  height: 34px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  color: white;
  border: 3px solid var(--navy2);
}

.profile-name {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.profile-sub {
  font-size: 0.85rem;
  color: var(--text2);
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.profile-stat .n {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.profile-stat .l {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─────────── SESSIONS GRID ─────────── */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.session-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}

.session-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
}

.company-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text3);
  margin-bottom: 1rem;
}

.session-card h3 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.session-card p {
  font-size: 0.85rem;
  color: var(--text2);
  margin-bottom: 1.25rem;
  flex: 1;
}

.session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text2);
}

.meta-item .ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--navy3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 0.7rem;
}

.session-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.applicants-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text3);
}

/* ─────────── NOTIFICATIONS ─────────── */
.notif-btn {
  background: none;
  border: none;
  color: var(--text2);
  font-size: 1.25rem;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-btn:hover {
  background: var(--navy3);
  color: var(--text);
}

.notif-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--navy2);
}

.notif-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 10;
  overflow: hidden;
}

.notif-dropdown.active {
  display: block;
}

.notif-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.875rem;
}

.notif-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  transition: background 0.2s;
}

.notif-item:hover {
  background: var(--navy3);
}

.notif-item.unread {
  background: rgba(0, 184, 148, 0.04);
}

.notif-item .time {
  font-size: 0.68rem;
  color: var(--text3);
  margin-top: 0.4rem;
}

.notif-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text3);
  font-size: 0.8rem;
}

/* ─────────── AUTH ─────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../images/bg-for-login-registration.jpg');
  background-size: cover;
  background-position: center;
}

.auth-box {
  width: 100%;
  max-width: 440px;
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo .brand {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
}

.auth-logo p {
  font-size: 0.85rem;
  color: var(--text3);
  margin-top: 0.25rem;
}

.auth-box h2 {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.auth-sub {
  color: var(--text3);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text3);
}

.auth-footer a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

/* ─────────── FOOTER ─────────── */
.footer {
  padding: 1rem 0 2rem;
  background: var(--navy3);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: Arial, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: block;
  text-decoration: none;
  color: var(--text);
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text2);
  max-width: 300px;
}

.footer-h {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text2);
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text3);
}



/* ─────────── FILE UPLOAD ZONE ─────────── */
.file-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
  border-color: var(--teal);
  background: rgba(0, 184, 148, 0.04);
}

.upload-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.upload-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
}

.upload-text span {
  color: var(--teal);
}

.upload-hint {
  font-size: 0.72rem;
  color: var(--text3);
  margin-top: 0.25rem;
}

/* ─────────── STEPS INDICATOR ─────────── */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step.active .step-num {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy3);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text3);
  position: relative;
  z-index: 1;
  transition: all 0.2s;
}

.step-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text3);
  margin-top: 0.4rem;
}

/* ─────────── REQUIRED FIELD MARKER ─────────── */
.req {
  color: var(--red);
  margin-left: 2px;
}

/* ─────────── NOTIFICATION OPEN alias ─────────── */
.notif-dropdown.open {
  display: block;
}

/* ─────────── TABLE ─────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.9rem 1rem;
  text-align: left;
}

.data-table thead tr {
  border-bottom: 2px solid var(--border);
}

.data-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text3);
}

.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.data-table tbody tr:hover {
  background: var(--navy3);
}

.data-table tbody td {
  font-size: 0.875rem;
  color: var(--text2);
}

/* ─────────── ALERT INFO ─────────── */
.alert-info {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ─────────── CORPORATE DASHBOARD STAT ─────────── */
.corp-stat {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}

.corp-stat .big-num {
  font-family: Arial, Verdana, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.corp-stat .big-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  margin-top: 0.4rem;
}

/* ═══════════════════════════════════════════
   LANDING PAGE — New Sections
═══════════════════════════════════════════ */

/* Button extras */
.btn-xl { padding: 0.85rem 1.75rem; font-size: 1rem; border-radius: 10px; }
.btn-white { background: #fff; color: var(--teal); font-weight: 700; }
.btn-white:hover { background: #f0fdf9; transform: translateY(-1px); }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.4); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

/* Eyebrow dot */
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

/* ─── HERO 3D SCENE ─── */
.hero-visual { position: relative; min-height: 480px; }

.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0;
}
.hero-orb-teal { width: 280px; height: 280px; background: rgba(0,184,148,.18); top: -40px; right: -60px; }
.hero-orb-blue { width: 220px; height: 220px; background: rgba(59,130,246,.14); bottom: 0; left: 0; }

.scene-3d { position: relative; width: 100%; height: 480px; z-index: 1; }

.img-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  border: 3px solid #fff;
}
.img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.img-main  { width: 340px; height: 260px; top: 60px; right: 20px; z-index: 2; animation: float 7s ease-in-out infinite; }
.img-side1 { width: 180px; height: 150px; top: 0;    left: 20px;  z-index: 3; animation: float 6s ease-in-out infinite 1.5s; }
.img-side2 { width: 180px; height: 150px; bottom: 30px; right: 0; z-index: 3; animation: float 8s ease-in-out infinite 3s; }

/* Floating chips */
.chip {
  position: absolute;
  z-index: 4;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.12));
}
.chip-a { top: 20px; left: 50%; transform: translateX(-50%); animation: float 5s ease-in-out infinite; }
.chip-b { bottom: 80px; left: 0; animation: float 6s ease-in-out infinite 2s; }
.chip-c { top: 220px; left: 120px; animation: float 7s ease-in-out infinite 1s; }

.chip-inner {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: .55rem 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.chip-icon { font-size: 1.1rem; }
.chip-text .t1 { font-size: .75rem; font-weight: 700; color: var(--text); }
.chip-text .t2 { font-size: .65rem; color: var(--text3); margin-top: .1rem; }

/* Trainer badge on hero */
.trainer-badge {
  position: absolute;
  bottom: 0; left: 0;
  z-index: 5;
  animation: float 8s ease-in-out infinite 2s;
}
.trainer-badge-inner {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.10);
  max-width: 260px;
}
.trainer-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg,var(--teal),var(--blue));
  color: #fff; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trainer-name { font-weight: 700; font-size: .85rem; color: var(--text); }
.trainer-role { font-size: .7rem; color: var(--text3); margin: .1rem 0 .5rem; }
.trainer-skills { display: flex; flex-wrap: wrap; gap: .3rem; }
.badge-avail {
  display: inline-block; padding: .15rem .6rem;
  background: rgba(34,197,94,.12); color: var(--green);
  border-radius: 99px; font-size: .65rem; font-weight: 700;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--navy3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-label {
  text-align: center;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text3);
  margin-bottom: 1rem;
}
.logo-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: .6rem;
}
.logo-pill {
  background: #fff; border: 1px solid var(--border);
  border-radius: 99px; padding: .35rem 1.1rem;
  font-size: .78rem; font-weight: 700; color: var(--text2);
  transition: border-color .2s, color .2s;
}
.logo-pill:hover { border-color: var(--teal); color: var(--teal); }

/* ─── PEOPLE STRIP ─── */
.people-strip {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.people-strip::-webkit-scrollbar { height: 4px; }
.people-strip::-webkit-scrollbar-track { background: var(--navy3); border-radius: 99px; }
.people-strip::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 99px; }
.people-strip.active { cursor: grabbing; }

.people-card {
  position: relative;
  width: 200px;
  min-height: 280px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy3);
}
.people-card img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .4s;
}
.people-card:hover img { transform: scale(1.05); }

.people-card-link {
  position: absolute; inset: 0; z-index: 10;
}
.people-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(15,23,42,.85));
  padding: 2rem 1rem .9rem;
  color: #fff; z-index: 5;
}
.people-name { font-weight: 700; font-size: .85rem; margin-bottom: .1rem; }
.people-role { font-size: .7rem; opacity: .75; margin-bottom: .35rem; }
.people-stars { font-size: .65rem; color: #f59e0b; display: flex; align-items: center; gap: .15rem; }
.rating-num { font-size: .7rem; color: rgba(255,255,255,.75); margin-left: .2rem; }

/* ─── STATS BAND (dark) ─── */
.stats-band {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 4rem 0;
  color: #fff;
}
.stats-band .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-icon-wrap { font-size: 2rem; margin-bottom: .75rem; }
.stats-band .big { font-family: Arial, Verdana, sans-serif; font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1; }
.stats-band .lbl { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.6); margin-top: .4rem; }

/* How step override */
.how-step {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-family: Arial, Verdana, sans-serif; font-size: 2rem; font-weight: 800;
  opacity: .12; color: var(--teal); line-height: 1;
}

/* ─── ROLE CARDS WITH IMAGES ─── */
.role-img-wrap {
  position: relative; height: 180px;
  border-radius: 16px; overflow: hidden;
  margin: -2.5rem -2.5rem 1.5rem;
}
.role-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.role-card:hover .role-img-wrap img { transform: scale(1.04); }
.role-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15,23,42,.55));
}
.role-icon-badge {
  position: absolute; bottom: .75rem; left: 1.25rem;
  font-size: 2rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

/* ─── TESTIMONIALS ─── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.quote-mark {
  font-size: 5rem; line-height: .8; font-family: Georgia, serif;
  color: var(--teal); opacity: .15;
  position: absolute; top: 1rem; right: 1.5rem;
  pointer-events: none;
}
.testi-stars { color: #f59e0b; font-size: .85rem; margin-bottom: 1rem; display: flex; gap: .2rem; }
.testi-quote { font-size: .875rem; color: var(--text2); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .85rem; }
.testi-av-placeholder {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .875rem; color: var(--text); }
.testi-role { font-size: .72rem; color: var(--text3); margin-top: .1rem; }

/* CTA actions row */
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* -------------------------------------------
   RESPONSIVE DESIGN (Media Queries)
   ------------------------------------------- */

/* Large Tablets & Small Laptops (992px to 1200px) */
@media (max-width: 1200px) {
  .hero-grid { gap: 2rem; }
  .hero-title { font-size: 3rem; }
  .wrapper, .section-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; min-height: 400px; }
  .scene-3d { height: 400px; }

  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  
  .stats-band .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile & Small Tablets (up to 767px) */
@media (max-width: 767px) {
  .navbar { padding: 0 1rem; }
  
  .menu-toggle { display: block; order: 1; }
  
  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    text-align: center;
  }

  .nav-user { order: 0; }
  .nav-user .btn-sm { padding: 0.4rem 0.6rem; font-size: 0.7rem; }
  
  .wrapper { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .section { padding: 3rem 0; }
  
  .hero-title { font-size: 2.25rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  
  .how-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  
  .form-grid { grid-template-columns: 1fr; }
  
  .card { padding: 1.25rem; }
  .card-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  
  .cta-banner { padding: 2.5rem 1.5rem; border-radius: 20px; }
  .cta-banner h2 { font-size: 1.75rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .hero-visual { display: none; }
  
  .page-header h1 { font-size: 1.5rem; }
  
  .people-card { width: 160px; min-height: 240px; }
  
  .stats-band .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat-item { text-align: left; display: flex; align-items: center; gap: 1rem; }
  .stat-icon-wrap { margin-bottom: 0; font-size: 1.5rem; }
  
  .role-img-wrap { height: 140px; }
}

/* Smallest phones (up to 480px) */
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .logo-row { gap: 0.4rem; }
  .logo-pill { padding: 0.3rem 0.8rem; font-size: 0.7rem; }
  
  .nav-user .btn:not(.avatar-link) { display: none; }
}

/* ----------- CONTACT PAGE ----------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-hero { padding: 3rem 1rem !important; }
  .contact-hero h1 { font-size: 2rem !important; }
}

@media (max-width: 480px) {
  .contact-form-row { grid-template-columns: 1fr !important; }
}

/* ----------- PUBLIC PAGES (Trainers/Trainings) ----------- */
.public-hero {
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

@media (max-width: 767px) {
  .public-hero { padding: 2.5rem 1rem 2rem; }
  .public-hero h1 { font-size: 1.75rem !important; }
  
  .search-bar-wrap { 
    flex-direction: column; 
    align-items: stretch !important; 
    padding: 1rem !important;
  }
  
  .search-bar-wrap input { font-size: 0.85rem !important; }
}


/* Refined Contact Form Row */
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.search-bar-wrap {
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  gap: 0.75rem;
  border: 1.5px solid var(--border);
}


/* Additional Layouts */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .profile-layout { grid-template-columns: 1fr; }
}


.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}


/* ----------- MESSAGES SECTION ----------- */
.msg-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 75vh;
  min-height: 600px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.msg-list {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background: var(--navy3);
}

.msg-list-header {
  padding: 1.5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: var(--navy2);
}

.msg-thread {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--navy3);
}

.msg-thread:hover {
  background: #f1f5f9;
}

.msg-thread.active {
  background: var(--navy2);
  border-left: 4px solid var(--teal);
}

.msg-thread-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-thread-preview {
  font-size: 0.78rem;
  color: var(--text2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.25rem;
}

.msg-window {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.msg-window-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--navy2);
}

.msg-window-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

.msg-window-header p {
  font-size: 0.75rem;
  color: var(--text3);
  margin-top: 0.2rem;
}

.msg-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--navy);
  scroll-behavior: smooth;
}

.msg-bubble {
  max-width: 75%;
  padding: 0.85rem 1.15rem;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}

.msg-bubble.me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 184, 148, 0.2);
}

.msg-bubble.them {
  align-self: flex-start;
  background: var(--navy2);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.msg-bubble .time {
  font-size: 0.65rem;
  margin-top: 0.4rem;
  opacity: 0.8;
  font-weight: 600;
  display: block;
}

.msg-bubble.me .time {
  text-align: right;
  color: rgba(255,255,255,0.8);
}

.msg-bubble.them .time {
  color: var(--text3);
}

.msg-input-wrap {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--navy2);
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.msg-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  outline: none;
  resize: none;
  max-height: 120px;
  transition: all 0.2s;
}

.msg-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

@media (max-width: 850px) {
  .msg-layout {
    grid-template-columns: 1fr;
  }
  .msg-list {
    display: none;
  }
  .msg-list.show {
    display: flex;
    position: absolute;
    inset: 0;
    z-index: 50;
  }
}
