@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* =========================================================
   CAREER AI — UNIFIED PREMIUM THEME
========================================================= */
html {
  overflow-y: auto !important;
  height: auto !important;
}

body {
  margin: 0;
  min-height: 100vh;
  height: auto !important;
  overflow-x: hidden;
  overflow-y: auto !important;
}

#root {
  min-height: 100vh;
  height: auto !important;
  overflow: visible !important;
}

.ai-counsellor {
  min-height: 100vh;
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

* {
  box-sizing: border-box;
}

/* =========================================================
   MAIN
========================================================= */

.ai-counsellor {
  --bg: #070b17;
  --bg-2: #0a1020;

  --surface: rgba(16, 23, 42, 0.78);
  --surface-2: rgba(20, 28, 50, 0.72);

  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #6d28d9;

  --blue: #6366f1;
  --cyan: #22d3ee;

  --white: #f8fafc;
  --text: #dbe4f0;
  --muted: #8995aa;
  --dim: #59667b;

  --border: rgba(148, 163, 184, 0.11);

  position: relative;

  min-height: 100vh;

  

  color: var(--white);

  font-family:
    "Inter",
    Arial,
    sans-serif;

  background:
    radial-gradient(
      900px 500px at 50% -180px,
      rgba(124, 58, 237, 0.18),
      transparent 70%
    ),
    radial-gradient(
      700px 500px at 100% 40%,
      rgba(34, 211, 238, 0.06),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      #070b17 0%,
      #080d1b 45%,
      #060a14 100%
    );
}

/* =========================================================
   BACKGROUND
========================================================= */

.grid-background {
  position: fixed;

  inset: 0;

  z-index: 0;

  pointer-events: none;

  opacity: 0.3;

  background-image:
    linear-gradient(
      rgba(148, 163, 184, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(148, 163, 184, 0.035) 1px,
      transparent 1px
    );

  background-size: 60px 60px;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 85%
    );
}

.ambient {
  position: fixed;

  z-index: 0;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  filter: blur(150px);

  opacity: 0.08;

  pointer-events: none;
}

.ambient-one {
  top: -280px;
  left: -220px;

  background: #7c3aed;
}

.ambient-two {
  right: -250px;
  top: 450px;

  background: #2563eb;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  position: relative;

  z-index: 10;

  width: min(
    1240px,
    calc(100% - 64px)
  );

  height: 78px;

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.055);
}

/* LOGO */

.brand {
  display: flex;

  align-items: center;

  gap: 12px;
}

.brand-mark {
  position: relative;

  width: 40px;
  height: 40px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      #8b5cf6,
      #6366f1
    );

  box-shadow:
    0 8px 25px
      rgba(124, 58, 237, 0.25);
}

/* AI symbol */

.brand-mark::before {
  content: "";

  width: 17px;
  height: 17px;

  border: 2px solid white;

  border-radius: 50%;

  opacity: 0.95;
}

.brand-mark::after {
  content: "";

  position: absolute;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: white;

  box-shadow:
    0 0 8px white;
}

.brand-mark span {
  display: none;
}

.brand-title {
  color: #ffffff;

  font-size: 17px;

  font-weight: 800;

  letter-spacing: -0.3px;
}

.brand-subtitle {
  margin-top: 3px;

  color: #66738a;

  font-size: 9px;
}

.secure-badge {
  display: flex;

  align-items: center;

  gap: 7px;

  padding: 8px 13px;

  border:
    1px solid rgba(148, 163, 184, 0.1);

  border-radius: 999px;

  color: #8995aa;

  background:
    rgba(15, 23, 42, 0.5);

  font-size: 9px;
}

.green-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #34d399;

  box-shadow:
    0 0 10px rgba(52, 211, 153, 0.8);
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  z-index: 2;

  width: min(
    880px,
    calc(100% - 40px)
  );

  margin: auto;

  padding: 68px 0 55px;

  text-align: center;
}

/* BADGE */

.eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 8px 14px;

  border:
    1px solid rgba(139, 92, 246, 0.25);

  border-radius: 999px;

  color: #b9a8f8;

  background:
    rgba(124, 58, 237, 0.07);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 1.5px;
}

.eyebrow span {
  color: #a78bfa;
}

/* HEADING */

.hero h1 {
  margin: 22px 0 17px;

  color: #f8fafc;

  font-size:
    clamp(
      44px,
      6vw,
      68px
    );

  line-height: 1.02;

  letter-spacing: -3.5px;

  font-weight: 800;
}

.hero h1 span {
  background:
    linear-gradient(
      90deg,
      #c4b5fd,
      #8b5cf6 45%,
      #60a5fa 100%
    );

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;
}

.hero > p {
  width: min(
    600px,
    100%
  );

  margin: auto;

  color: #8995aa;

  font-size: 14px;

  line-height: 1.75;
}

/* =========================================================
   AI ORB
========================================================= */

.orb-container {
  position: relative;

  width: 300px;
  height: 300px;

  margin: 28px auto 4px;

  display: flex;

  align-items: center;

  justify-content: center;
}

/* MAIN ORB */

.ai-orb {
  position: relative;

  z-index: 5;

  width: 128px;
  height: 128px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 30% 25%,
      #ede9fe 0%,
      #c4b5fd 15%,
      #8b5cf6 35%,
      #6d28d9 58%,
      #21154d 85%,
      #101525 100%
    );

  border:
    1px solid
    rgba(255, 255, 255, 0.18);

  box-shadow:
    0 0 40px
      rgba(139, 92, 246, 0.5),
    0 0 100px
      rgba(109, 40, 217, 0.18),
    inset -20px -20px 35px
      rgba(4, 7, 18, 0.5);

  animation:
    orbFloat 5s ease-in-out infinite;
}

/* LIGHT */

.orb-shine {
  position: absolute;

  top: 18px;
  left: 25px;

  width: 32px;
  height: 18px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.3);

  filter: blur(7px);
}

/* CENTER */

.orb-center {
  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;

  justify-content: center;
}

.orb-center span {
  color: white;

  font-size: 34px;

  text-shadow:
    0 0 18px white;
}

/* INNER RINGS */

.ai-orb i {
  position: absolute;

  border:
    1px solid
    rgba(255, 255, 255, 0.15);

  border-radius: 50%;

  animation:
    innerPulse 3s ease-in-out infinite;
}

.ai-orb i:nth-child(3) {
  inset: 18px;
}

.ai-orb i:nth-child(4) {
  inset: 32px;

  animation-delay: 0.7s;
}

.ai-orb i:nth-child(5) {
  inset: 46px;

  animation-delay: 1.4s;
}

/* OUTER RINGS */

.orbit {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;
}

.orbit-a {
  width: 195px;
  height: 195px;

  border:
    1px solid
    rgba(167, 139, 250, 0.14);

  animation:
    rotate 16s linear infinite;
}

.orbit-b {
  width: 245px;
  height: 245px;

  border:
    1px dashed
    rgba(96, 165, 250, 0.12);

  animation:
    rotateReverse 22s linear infinite;
}

.orbit-c {
  width: 295px;
  height: 295px;

  border:
    1px solid
    rgba(139, 92, 246, 0.07);
}

/* ORB STATUS */

.orb-label {
  position: absolute;

  z-index: 8;

  bottom: -3px;

  padding: 7px 13px;

  border:
    1px solid
    rgba(148, 163, 184, 0.1);

  border-radius: 999px;

  color: #8995aa;

  background:
    rgba(7, 11, 23, 0.9);

  font-size: 9px;

  backdrop-filter: blur(10px);
}

/* =========================================================
   VOICE BUTTON
========================================================= */

.voice-cta {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  min-width: 235px;

  padding: 14px 21px;

  border:
    1px solid
    rgba(167, 139, 250, 0.28);

  border-radius: 12px;

  color: white;

  background:
    linear-gradient(
      135deg,
      #8b5cf6,
      #6366f1
    );

  box-shadow:
    0 12px 35px
      rgba(99, 102, 241, 0.22);

  cursor: pointer;

  font-size: 12px;

  font-weight: 700;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.voice-cta:hover {
  transform: translateY(-2px);

  box-shadow:
    0 18px 45px
      rgba(99, 102, 241, 0.32);
}

.voice-active {
  background:
    linear-gradient(
      135deg,
      #06b6d4,
      #2563eb
    );
}

.voice-cta-icon {
  font-size: 15px;
}

.arrow {
  font-size: 17px;

  color: #ddd6fe;
}

.voice-support {
  margin-top: 9px;

  color: #4f5d73;

  font-size: 9px;
}

/* =========================================================
   DASHBOARD
========================================================= */

.dashboard {
  position: relative;

  z-index: 3;

  width: min(
    1240px,
    calc(100% - 64px)
  );

  margin: auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(310px, 0.75fr);

  gap: 18px;
}

/* =========================================================
   COMMON CARDS
========================================================= */

.conversation-panel,
.side-card,
.privacy-card {
  border:
    1px solid var(--border);

  background:
    linear-gradient(
      145deg,
      rgba(17, 25, 45, 0.82),
      rgba(8, 13, 27, 0.88)
    );

  box-shadow:
    0 20px 60px
      rgba(0, 0, 0, 0.2);

  backdrop-filter: blur(18px);
}

/* =========================================================
   CONVERSATION PANEL
========================================================= */

.conversation-panel {
  min-height: 590px;

  display: flex;

  flex-direction: column;

  overflow: hidden;

  border-radius: 18px;
}

/* PANEL HEADER */

.panel-top {
  padding: 18px 20px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.055);
}

.panel-heading {
  display: flex;

  align-items: center;

  gap: 10px;
}

.panel-icon {
  width: 35px;
  height: 35px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 10px;

  color: #c4b5fd;

  background:
    rgba(124, 58, 237, 0.12);

  border:
    1px solid
    rgba(167, 139, 250, 0.12);
}

.panel-heading span,
.side-card-title span {
  display: block;

  color: #59677e;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 1.4px;
}

.panel-heading h2,
.side-card-title h3 {
  margin: 4px 0 0;

  color: #e8edf5;

  font-size: 15px;

  font-weight: 650;
}

/* RESET */

.reset-button {
  padding: 7px 10px;

  color: #69768b;

  background:
    transparent;

  border:
    1px solid
    rgba(148, 163, 184, 0.1);

  border-radius: 8px;

  cursor: pointer;

  font-size: 9px;
}

.reset-button:hover {
  color: #dbe4f0;

  border-color:
    rgba(167, 139, 250, 0.25);
}

/* =========================================================
   CHAT
========================================================= */

.chat-area {
  flex: 1;

  min-height: 395px;

  max-height: 460px;

  padding: 21px;

  overflow-y: auto;

  scrollbar-width: thin;

  scrollbar-color:
    #334155 transparent;
}

.chat-row {
  display: flex;

  align-items: flex-end;

  gap: 9px;

  margin-bottom: 17px;
}

.chat-user {
  justify-content: flex-end;
}

.chat-avatar {
  width: 29px;
  height: 29px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 9px;

  font-size: 8px;

  font-weight: 700;
}

.ai-avatar {
  color: #c4b5fd;

  background:
    rgba(124, 58, 237, 0.12);

  border:
    1px solid
    rgba(167, 139, 250, 0.13);
}

.user-avatar {
  color: #93c5fd;

  background:
    rgba(37, 99, 235, 0.1);

  border:
    1px solid
    rgba(96, 165, 250, 0.12);
}

/* MESSAGE */

.chat-message {
  position: relative;

  max-width: 72%;

  padding: 12px 14px;

  border-radius: 13px;

  font-size: 11px;

  line-height: 1.65;
}

.chat-message small {
  display: block;

  margin-top: 5px;

  color: #627087;

  font-size: 7px;
}

.ai-message {
  color: #c5cfdd;

  background:
    rgba(30, 41, 59, 0.48);

  border:
    1px solid
    rgba(148, 163, 184, 0.07);

  border-bottom-left-radius: 3px;
}

.user-message {
  color: #f8f7ff;

  background:
    linear-gradient(
      135deg,
      #7c3aed,
      #5b4bd8
    );

  border:
    1px solid
    rgba(196, 181, 253, 0.15);

  border-bottom-right-radius: 3px;
}

/* SPEAK */

.speak-button {
  position: absolute;

  right: -33px;

  bottom: 0;

  width: 26px;
  height: 26px;

  border:
    1px solid
    rgba(148, 163, 184, 0.1);

  border-radius: 7px;

  background: #11192b;

  cursor: pointer;

  opacity: 0;

  transition: 0.2s;
}

.ai-message:hover .speak-button {
  opacity: 1;
}

/* =========================================================
   TYPING
========================================================= */

.typing-box {
  display: flex;

  gap: 4px;

  padding: 13px 16px;

  border-radius: 12px;

  background:
    rgba(30, 41, 59, 0.5);

  border:
    1px solid
    rgba(148, 163, 184, 0.06);
}

.typing-box span {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #a78bfa;

  animation:
    typing 1.2s infinite;
}

.typing-box span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-box span:nth-child(3) {
  animation-delay: 0.4s;
}

/* =========================================================
   INPUT
========================================================= */

.composer {
  padding: 14px 16px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.055);
}

.composer-box {
  display: flex;

  align-items: flex-end;

  gap: 6px;

  padding: 5px;

  border:
    1px solid
    rgba(148, 163, 184, 0.11);

  border-radius: 12px;

  background:
    #070c18;
}

.composer-box:focus-within {
  border-color:
    rgba(139, 92, 246, 0.4);

  box-shadow:
    0 0 0 3px
      rgba(139, 92, 246, 0.05);
}

.composer textarea {
  flex: 1;

  min-width: 0;

  height: 40px;

  resize: none;

  outline: none;

  border: none;

  padding: 11px;

  color: #edf2f7;

  background:
    transparent;

  font-size: 11px;
}

.composer textarea::placeholder {
  color: #4e5b70;
}

.composer-actions {
  display: flex;

  gap: 5px;
}

.mic-button,
.send-button {
  width: 38px;
  height: 38px;

  border-radius: 9px;

  cursor: pointer;
}

.mic-button {
  color: #8995aa;

  background:
    #11192b;

  border:
    1px solid
    rgba(148, 163, 184, 0.08);
}

.mic-button:hover,
.mic-on {
  color: white;

  background:
    rgba(124, 58, 237, 0.2);

  border-color:
    rgba(167, 139, 250, 0.3);
}

.send-button {
  color: white;

  border:
    1px solid
    rgba(167, 139, 250, 0.15);

  background:
    linear-gradient(
      135deg,
      #8b5cf6,
      #6366f1
    );

  font-size: 16px;
}

.send-button:disabled {
  opacity: 0.25;

  cursor: not-allowed;
}

.composer-hint {
  margin-top: 6px;

  color: #3e4b61;

  text-align: right;

  font-size: 8px;
}

/* =========================================================
   RIGHT SIDE
========================================================= */

.side-panel {
  display: flex;

  flex-direction: column;

  gap: 14px;
}

.side-card {
  padding: 20px;

  border-radius: 18px;
}

.side-card-title {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  padding-bottom: 15px;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.055);
}

.mini-star {
  width: 31px;
  height: 31px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 9px;

  color: #c4b5fd;

  background:
    rgba(124, 58, 237, 0.11);
}

/* =========================================================
   PROFILE
========================================================= */

.profile-list {
  padding-top: 15px;

  display: flex;

  flex-direction: column;

  gap: 8px;
}

.profile-row {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 10px;

  border:
    1px solid
    rgba(148, 163, 184, 0.06);

  border-radius: 10px;

  background:
    rgba(15, 23, 42, 0.35);
}

.profile-icon {
  width: 30px;
  height: 30px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 8px;

  color: #a78bfa;

  background:
    rgba(124, 58, 237, 0.09);
}

.profile-row small {
  display: block;

  color: #59677e;

  font-size: 8px;
}

.profile-row strong {
  display: block;

  margin-top: 3px;

  color: #c3cedc;

  font-size: 9px;

  font-weight: 600;
}

/* =========================================================
   PROCESS
========================================================= */

.process {
  padding-top: 17px;
}

.process-item {
  display: flex;

  gap: 10px;
}

.process-item b {
  width: 29px;
  height: 29px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 8px;

  color: #a78bfa;

  background:
    rgba(124, 58, 237, 0.09);

  font-size: 8px;
}

.process-item strong {
  color: #cbd5e1;

  font-size: 10px;
}

.process-item p {
  margin: 3px 0 0;

  color: #5d6a7f;

  font-size: 8px;

  line-height: 1.5;
}

.process-line {
  width: 1px;

  height: 15px;

  margin-left: 14px;

  background:
    rgba(139, 92, 246, 0.18);
}

/* =========================================================
   PRIVACY
========================================================= */

.privacy-card {
  display: flex;

  gap: 10px;

  padding: 13px;

  border-radius: 15px;

  background:
    rgba(15, 23, 42, 0.55);
}

.privacy-icon {
  font-size: 14px;
}

.privacy-card strong {
  color: #cbd5e1;

  font-size: 9px;
}

.privacy-card p {
  margin: 3px 0 0;

  color: #59667b;

  font-size: 8px;

  line-height: 1.5;
}

/* =========================================================
   FEATURES
========================================================= */

.feature-row {
  position: relative;

  z-index: 3;

  width: min(
    1240px,
    calc(100% - 64px)
  );

  margin: 16px auto 0;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 9px;
}

.feature {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 12px;

  border:
    1px solid
    rgba(148, 163, 184, 0.07);

  border-radius: 12px;

  background:
    rgba(10, 16, 29, 0.65);
}

.feature > div {
  width: 32px;
  height: 32px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 8px;

  background:
    rgba(124, 58, 237, 0.09);

  font-size: 13px;
}

.feature span {
  color: #59667b;

  font-size: 8px;
}

.feature strong {
  display: block;

  margin-bottom: 2px;

  color: #bdc8d6;

  font-size: 9px;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  position: relative;

  z-index: 3;

  padding: 28px;

  color: #354157;

  text-align: center;

  font-size: 8px;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes innerPulse {
  0%,
  100% {
    transform: scale(0.9);

    opacity: 0.2;
  }

  50% {
    transform: scale(1.07);

    opacity: 0.65;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes typing {
  0%,
  100% {
    transform: translateY(0);

    opacity: 0.3;
  }

  50% {
    transform: translateY(-4px);

    opacity: 1;
  }
}

@keyframes listeningPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.07);
  }
}

/* =========================================================
   LISTENING / SPEAKING STATES
========================================================= */

.ai-orb.is-listening {
  animation:
    orbFloat 5s ease-in-out infinite,
    listeningPulse 1s ease-in-out infinite;

  box-shadow:
    0 0 45px
      rgba(34, 211, 238, 0.55),
    0 0 100px
      rgba(34, 211, 238, 0.2);
}

.ai-orb.is-speaking {
  box-shadow:
    0 0 45px
      rgba(99, 102, 241, 0.65),
    0 0 100px
      rgba(139, 92, 246, 0.22);
}

.ai-orb.is-thinking {
  filter: brightness(1.25);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {
  .dashboard {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns:
      repeat(2, 1fr);
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .header,
  .dashboard,
  .feature-row {
    width: calc(100% - 28px);
  }

  .hero {
    width: calc(100% - 28px);

    padding-top: 50px;
  }

  .hero h1 {
    font-size: 40px;

    letter-spacing: -2.3px;
  }

  .hero > p {
    font-size: 12px;
  }

  .orb-container {
    width: 270px;
    height: 270px;
  }

  .ai-orb {
    width: 118px;
    height: 118px;
  }

  .orbit-a {
    width: 180px;
    height: 180px;
  }

  .orbit-b {
    width: 225px;
    height: 225px;
  }

  .orbit-c {
    width: 265px;
    height: 265px;
  }

  .voice-cta {
    width: 100%;
  }

  .chat-message {
    max-width: 78%;
  }

  .speak-button {
    display: none;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .secure-badge {
    display: none;
  }
}

/* Streamlined career chat */
html,
body,
#root {
  width: 100%;
  min-height: 100%;
  height: auto !important;
}

body {
  overflow: auto !important;
}

.counsellor-page {
  --page-bg: #080808;
  --panel-bg: #111111;
  --panel-border: rgba(255, 255, 255, 0.12);
  --text-main: #ffffff;
  --text-muted: #a6a6a6;
  --accent: #ef3c3c;
  min-height: 100vh;
  padding: 0 24px 32px;
  color: var(--text-main);
  background:
    radial-gradient(ellipse at 50% -25%, rgba(216, 39, 39, 0.12), transparent 50%),
    var(--page-bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.counsellor-page .top-header {
  width: min(100%, 1000px);
  min-height: 92px;
  padding: 8px 0;
  margin: 0 auto;
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.counsellor-page .brand {
  gap: 11px;
  text-decoration: none;
}

.counsellor-page .brand-logo {
  width: 122px;
  height: 76px;
  flex: none;
  overflow: hidden;
  border-radius: 6px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
}

.counsellor-page .brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.counsellor-page .brand-text strong,
.counsellor-page .brand-text span {
  display: block;
}

.counsellor-page .brand-text strong {
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.counsellor-page .brand-text span {
  margin-top: 3px;
  color: #d7d7d7;
  font-size: 11px;
}

.counsellor-page .reset-button {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #ffffff;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.counsellor-page .reset-button:hover {
  border-color: #ef3c3c;
  background: rgba(239, 60, 60, 0.1);
}

.counsellor-page .intro {
  width: min(100%, 850px);
  margin: 32px auto 22px;
}

.counsellor-page .intro-eyebrow {
  margin: 0 0 8px;
  color: #ff6262;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.counsellor-page .intro h1 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.8px;
  font-weight: 750;
}

.counsellor-page .intro-copy {
  max-width: 600px;
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.counsellor-page .dashboard {
  width: min(100%, 850px);
  margin: 0 auto;
  display: block;
}

.counsellor-page .chat-panel {
  height: min(670px, calc(100svh - 245px));
  min-height: 480px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background: var(--panel-bg);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
}

.counsellor-page .panel-header {
  min-height: 70px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.counsellor-page .panel-header h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 650;
}

.counsellor-page .panel-header p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 11px;
}

.counsellor-page .online-status {
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b7c0d4;
  font-size: 11px;
}

.counsellor-page .online-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #54d49b;
  box-shadow: 0 0 10px rgba(84, 212, 155, 0.45);
}

.counsellor-page .online-status.is-thinking span {
  background: #f1c76f;
  box-shadow: 0 0 10px rgba(241, 199, 111, 0.45);
}

.counsellor-page .messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-behavior: smooth;
}

.counsellor-page .message-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.counsellor-page .message-row.message-user {
  flex-direction: row-reverse;
}

.counsellor-page .message-avatar {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 60, 60, 0.34);
  border-radius: 8px;
  color: #ff7777;
  background: rgba(239, 60, 60, 0.1);
  font-size: 10px;
  font-weight: 650;
}

.counsellor-page .message-user .message-avatar {
  border-color: rgba(140, 167, 219, 0.2);
  color: #d3def3;
  background: rgba(104, 132, 187, 0.15);
}

.counsellor-page .message-content {
  max-width: min(78%, 620px);
  min-width: 0;
}

.counsellor-page .message-user .message-content {
  text-align: right;
}

.counsellor-page .message-name {
  margin: 0 0 5px 2px;
  color: #b6bfd2;
  font-size: 10px;
}

.counsellor-page .message-bubble {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px 12px 12px;
  color: #eeeeee;
  background: #1a1a1a;
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.counsellor-page .message-user .message-bubble {
  border-color: rgba(239, 60, 60, 0.42);
  border-radius: 12px 4px 12px 12px;
  color: white;
  background: linear-gradient(140deg, #d93636, #a91f1f);
}

.counsellor-page .message-time {
  margin: 5px 3px 0;
  color: #79849b;
  font-size: 9px;
}

.counsellor-page .starter-prompts {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-left: 40px;
}

.counsellor-page .starter-prompts > span {
  width: 100%;
  color: var(--text-muted);
  font-size: 11px;
}

.counsellor-page .starter-prompts button {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: #eeeeee;
  background: #151515;
  font-size: 11px;
  cursor: pointer;
}

.counsellor-page .starter-prompts button:hover {
  border-color: rgba(239, 60, 60, 0.65);
  background: rgba(239, 60, 60, 0.12);
}

.counsellor-page .thinking-bubble {
  min-width: 56px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.counsellor-page .thinking-bubble span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff6262;
  animation: typing 1.1s infinite ease-in-out;
}

.counsellor-page .thinking-bubble span:nth-child(2) {
  animation-delay: 0.15s;
}

.counsellor-page .thinking-bubble span:nth-child(3) {
  animation-delay: 0.3s;
}

.counsellor-page .chat-input-area {
  margin: 0 18px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: #090909;
}

.counsellor-page .chat-input-area:focus-within {
  border-color: rgba(239, 60, 60, 0.8);
  box-shadow: 0 0 0 3px rgba(239, 60, 60, 0.1);
}

.counsellor-page .chat-input-area textarea {
  flex: 1;
  min-width: 0;
  max-height: 120px;
  padding: 8px 7px;
  resize: vertical;
  border: 0;
  outline: 0;
  color: var(--text-main);
  background: transparent;
  font-size: 13px;
  line-height: 1.5;
}

.counsellor-page .chat-input-area textarea::placeholder {
  color: #8792a9;
}

.counsellor-page .mic-button,
.counsellor-page .send-button {
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid transparent;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #202020;
  cursor: pointer;
}

.counsellor-page .mic-button:hover,
.counsellor-page .mic-button.mic-active {
  border-color: #ef3c3c;
  background: rgba(239, 60, 60, 0.17);
}

.counsellor-page .send-button {
  color: #fff;
  background: #d93232;
  font-size: 19px;
}

.counsellor-page .send-button:disabled {
  color: #9da4b7;
  background: #333333;
  cursor: not-allowed;
}

.counsellor-page .input-hint {
  padding: 8px 18px 12px;
  color: #838ea4;
  font-size: 10px;
  text-align: center;
}

.counsellor-page .course-recommendation {
  width: min(100% - 40px, 620px);
  align-self: flex-start;
  margin-left: 40px;
}

.counsellor-page .course-recommendation-label {
  margin-bottom: 8px;
  color: #ff7777;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.counsellor-page .course-card-list {
  display: grid;
  gap: 12px;
}

.counsellor-page .course-warning {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.counsellor-page .course-card {
  padding: 16px;
  border: 1px solid var(--panel-border);
  border-radius: 13px;
  background: #141414;
}

.counsellor-page .course-card h3 {
  color: var(--text-main);
  font-size: 14px;
}

.counsellor-page .course-card p,
.counsellor-page .course-card li {
  color: #c5cddd;
  font-size: 12px;
  line-height: 1.6;
}

.counsellor-page .course-card-footer {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 11px;
}

.counsellor-page .course-card-footer a {
  color: #ff7777;
}

.counsellor-page .course-syllabus {
  margin: 16px 0;
}

.counsellor-page .course-syllabus h4 {
  margin: 0 0 9px;
  color: #ff7777;
  font-size: 13px;
}

.counsellor-page .syllabus-modules {
  display: grid;
  gap: 7px;
}

.counsellor-page .syllabus-module {
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.counsellor-page .syllabus-module summary {
  padding: 10px 12px;
  color: #eeeeee;
  font-size: 12px;
  cursor: pointer;
}

.counsellor-page .syllabus-module[open] summary {
  color: #ff7777;
}

.counsellor-page .syllabus-module ul {
  margin: 0;
  padding: 0 16px 12px 30px;
  columns: 2;
}

.counsellor-page .syllabus-module li {
  padding: 3px 8px 3px 0;
  color: #c5cddd;
  font-size: 11px;
  line-height: 1.5;
  break-inside: avoid;
}

@media (max-width: 600px) {
  .counsellor-page {
    padding: 0 14px 18px;
  }

  .counsellor-page .top-header {
    min-height: 72px;
  }

  .counsellor-page .brand-logo {
    width: 90px;
    height: 56px;
  }

  .counsellor-page .intro {
    margin: 24px auto 16px;
  }

  .counsellor-page .intro-copy {
    font-size: 13px;
  }

  .counsellor-page .chat-panel {
    height: calc(100svh - 205px);
    min-height: 400px;
    border-radius: 14px;
  }

  .counsellor-page .panel-header {
    min-height: 62px;
    padding: 12px 14px;
  }

  .counsellor-page .panel-header p {
    max-width: 210px;
    line-height: 1.4;
  }

  .counsellor-page .online-status {
    font-size: 10px;
  }

  .counsellor-page .messages {
    padding: 16px 12px;
    gap: 14px;
  }

  .counsellor-page .message-content {
    max-width: 84%;
  }

  .counsellor-page .message-bubble {
    padding: 10px 12px;
    font-size: 12px;
  }

  .counsellor-page .starter-prompts {
    padding-left: 0;
  }

  .counsellor-page .chat-input-area {
    margin: 0 10px;
  }

  .counsellor-page .course-recommendation {
    width: 100%;
    margin-left: 0;
  }

  .counsellor-page .syllabus-module ul {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .counsellor-page *,
  .counsellor-page *::before,
  .counsellor-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   CAREER ASSESSMENT
========================================================= */

.career-assessment {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid rgba(120, 100, 255, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(92, 72, 190, 0.16),
      rgba(20, 22, 42, 0.92)
    );
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.assessment-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #9c8cff;
}

.assessment-header h2 {
  margin: 7px 0 4px;
  font-size: 25px;
}

.assessment-header p {
  margin: 0;
  opacity: 0.65;
  font-size: 13px;
}

.best-career-card {
  margin-top: 22px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.best-career-info span {
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 800;
  opacity: 0.55;
}

.best-career-info h3 {
  margin: 7px 0 0;
  font-size: 20px;
}

.match-score {
  min-width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid currentColor;
}

.match-score strong {
  font-size: 22px;
  line-height: 1;
}

.match-score small {
  margin-top: 5px;
  font-size: 10px;
  opacity: 0.7;
}

.score-excellent {
  color: #48e6a4;
}

.score-very-good {
  color: #65c7ff;
}

.score-good {
  color: #a88cff;
}

.score-possible {
  color: #ffc857;
}

.score-low {
  color: #ff7373;
}

.career-options {
  margin-top: 24px;
}

.career-options > h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.career-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px;
  margin-top: 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.career-option-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.career-rank {
  font-size: 21px;
}

.career-option h4 {
  margin: 0;
  font-size: 14px;
}

.score-label {
  display: inline-block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
}

.career-option-score strong {
  font-size: 19px;
}

.assessment-note {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.assessment-note span {
  opacity: 0.7;
}

.assessment-note p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  opacity: 0.62;
}

@media (max-width: 600px) {
  .career-assessment {
    padding: 18px;
  }

  .best-career-card {
    align-items: flex-start;
  }

  .match-score {
    min-width: 68px;
    height: 68px;
  }

  .match-score strong {
    font-size: 18px;
  }

  .best-career-info h3 {
    font-size: 17px;
  }
}

/* =========================================================
   PERSONALIZED CAREER REPORT
========================================================= */

.career-report-card {
  margin: 24px 0;
  padding: 26px;
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(80, 70, 180, 0.18),
      rgba(20, 22, 42, 0.96)
    );
  border: 1px solid rgba(130, 110, 255, 0.30);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
}

.report-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #a493ff;
}

.report-header h2 {
  margin: 7px 0 4px;
  font-size: 26px;
}

.report-header p {
  margin: 0;
  font-size: 13px;
  opacity: 0.6;
}

.profile-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.profile-box {
  padding: 13px;
  border-radius: 13px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
}

.profile-box span {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  letter-spacing: 1px;
  opacity: 0.5;
}

.profile-box strong {
  font-size: 12px;
  line-height: 1.4;
}

.report-career {
  margin-top: 22px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.report-career span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  opacity: 0.55;
}

.report-career h3 {
  margin: 7px 0 0;
  font-size: 20px;
}

.report-score {
  width: 82px;
  height: 82px;
  min-width: 82px;
  border-radius: 50%;
  border: 3px solid #8e7cff;
  color: #a493ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
}

.report-score small {
  font-size: 9px;
  opacity: 0.65;
}

.report-section {
  margin-top: 25px;
}

.report-section h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.report-section ul {
  margin: 0;
  padding-left: 20px;
}

.report-section li {
  margin: 7px 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.82;
}

.report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-tags span {
  padding: 7px 11px;
  border-radius: 20px;
  background: rgba(80, 220, 160, 0.09);
  border: 1px solid rgba(80, 220, 160, 0.2);
  font-size: 11px;
}

.report-gap-tags span {
  background: rgba(255, 190, 80, 0.08);
  border-color: rgba(255, 190, 80, 0.2);
}

.roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-item {
  display: flex;
  gap: 14px;
  padding: 15px;
  border-radius: 15px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
}

.roadmap-number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(130,110,255,0.16);
  color: #a493ff;
  font-weight: 800;
}

.roadmap-content > span {
  font-size: 10px;
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.roadmap-content h4 {
  margin: 4px 0 8px;
  font-size: 14px;
}

.roadmap-content ul {
  padding-left: 18px;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.035);
  font-size: 13px;
}

.project-item span {
  display: inline-flex;
  width: 23px;
  height: 23px;
  margin-right: 9px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(130,110,255,0.15);
  color: #a493ff;
  font-size: 10px;
  font-weight: 800;
}

.next-step {
  margin-top: 24px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(120,100,255,0.10);
  border: 1px solid rgba(120,100,255,0.20);
}

.next-step span {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #a493ff;
}

.next-step strong {
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 700px) {

  .career-report-card {
    padding: 18px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .report-career {
    align-items: flex-start;
  }

  .report-score {
    width: 68px;
    height: 68px;
    min-width: 68px;
    font-size: 18px;
  }
}


/* =====================================================
   TALK TO US BUTTON
   ===================================================== */

.intro-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.talk-to-us-button {
  border: none;
  outline: none;
  cursor: pointer;

  padding: 14px 24px;
  border-radius: 12px;

  background: #25d366;
  color: #ffffff;

  font-size: 15px;
  font-weight: 700;

  white-space: nowrap;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.talk-to-us-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 10px 25px rgba(37, 211, 102, 0.25);
}


/* =====================================================
   WHATSAPP MODAL
   ===================================================== */

.whatsapp-modal-overlay {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.65);

  backdrop-filter: blur(6px);
}

.whatsapp-modal {
  position: relative;

  width: min(440px, 100%);

  padding: 34px;

  border-radius: 22px;

  background: #111827;

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.45);

  text-align: center;

  animation: whatsappModalIn 0.2s ease-out;
}

@keyframes whatsappModalIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.whatsapp-close {
  position: absolute;

  top: 12px;
  right: 15px;

  width: 34px;
  height: 34px;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  color: #ffffff;

  font-size: 24px;

  cursor: pointer;

  line-height: 1;

  transition: background 0.2s ease;
}

.whatsapp-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.whatsapp-modal-icon {
  width: 64px;
  height: 64px;

  margin: 0 auto 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(37, 211, 102, 0.12);

  font-size: 32px;
}

.whatsapp-modal h2 {
  margin: 0 0 10px;

  font-size: 26px;
  font-weight: 700;

  color: #ffffff;
}

.whatsapp-modal p {
  margin: 0 auto 24px;

  max-width: 340px;

  color: rgba(255, 255, 255, 0.7);

  line-height: 1.6;
}

.whatsapp-location-title {
  margin-bottom: 14px;

  color: #ffffff;

  font-size: 14px;
  font-weight: 600;
}

.whatsapp-location-buttons {
  display: flex;

  flex-direction: column;

  gap: 10px;
}

.whatsapp-location-buttons button {
  width: 100%;

  padding: 13px 16px;

  border: 1px solid rgba(37, 211, 102, 0.25);

  border-radius: 12px;

  background: rgba(37, 211, 102, 0.08);

  color: #ffffff;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.whatsapp-location-buttons button:hover {
  background: #25d366;

  border-color: #25d366;

  transform: translateY(-1px);
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

  .intro-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .talk-to-us-button {
    width: 100%;
  }

  .whatsapp-modal {
    padding: 28px 20px;
  }

}

/* Shiva Concept visual polish */
.counsellor-page {
  --panel-border: rgba(255, 255, 255, 0.1);
  --accent: #e44747;
  --accent-soft: rgba(228, 71, 71, 0.12);
  --sacred-gold: #d9b477;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% -22%, rgba(190, 35, 35, 0.2), transparent 52%),
    radial-gradient(ellipse at 8% 42%, rgba(116, 28, 28, 0.08), transparent 36%),
    radial-gradient(rgba(255, 255, 255, 0.026) 0.7px, transparent 0.7px),
    var(--page-bg);
  background-size: auto, auto, 28px 28px, auto;
}

.counsellor-page .top-header {
  min-height: 88px;
  border-bottom-color: rgba(228, 71, 71, 0.2);
}

.counsellor-page .brand-logo {
  border-color: rgba(217, 180, 119, 0.42);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28), 0 0 24px rgba(228, 71, 71, 0.08);
}

.counsellor-page .brand-text strong {
  letter-spacing: 0.1px;
}

.counsellor-page .brand-text span {
  color: var(--sacred-gold);
}

.counsellor-page .reset-button,
.counsellor-page .starter-prompts button,
.counsellor-page .mic-button {
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.counsellor-page .reset-button:hover,
.counsellor-page .starter-prompts button:hover {
  color: #fff;
  border-color: rgba(228, 71, 71, 0.72);
  background: rgba(228, 71, 71, 0.12);
}

.counsellor-page .intro {
  width: min(100%, 960px);
  margin-top: 34px;
  margin-bottom: 20px;
}

.counsellor-page .intro-main {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid rgba(228, 71, 71, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(105deg, rgba(35, 20, 21, 0.82), rgba(18, 16, 17, 0.88) 58%, rgba(22, 17, 17, 0.72));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 18px 55px rgba(0, 0, 0, 0.14);
}

.counsellor-page .intro-content {
  position: relative;
  z-index: 1;
}

.counsellor-page .intro-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f07868;
  letter-spacing: 1.8px;
}

.counsellor-page .intro-eyebrow::before {
  width: 22px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--sacred-gold), transparent);
}

.counsellor-page .intro h1 {
  font-size: clamp(30px, 4.3vw, 42px);
  letter-spacing: -1.3px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.38);
}

.counsellor-page .intro-copy {
  max-width: 510px;
  color: #b4b4b8;
  line-height: 1.75;
}

.counsellor-page .dashboard {
  width: min(100%, 960px);
}

.counsellor-page .chat-panel {
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(25, 18, 19, 0.98), rgba(13, 13, 14, 0.99) 42%);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.48),
    0 0 40px rgba(164, 31, 31, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.035);
}

.counsellor-page .panel-header {
  min-height: 78px;
  border-bottom-color: rgba(255, 255, 255, 0.075);
  background: linear-gradient(90deg, rgba(130, 27, 27, 0.1), transparent 70%);
}

.counsellor-page .panel-header h2 {
  font-size: 16px;
  letter-spacing: -0.2px;
}

.counsellor-page .panel-header p {
  color: #9999a1;
}

.counsellor-page .online-status {
  padding: 7px 10px;
  border: 1px solid rgba(84, 212, 155, 0.16);
  border-radius: 999px;
  background: rgba(84, 212, 155, 0.045);
}

.counsellor-page .online-status.is-thinking {
  border-color: rgba(241, 199, 111, 0.2);
  background: rgba(241, 199, 111, 0.06);
}

.counsellor-page .messages {
  padding: 24px;
  gap: 20px;
  scrollbar-color: #562727 transparent;
}

.counsellor-page .message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.counsellor-page .message-name {
  color: #c6c4c6;
  font-weight: 600;
}

.counsellor-page .message-bubble {
  padding: 13px 16px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 5px 15px 15px;
  background: linear-gradient(145deg, #202020, #181718);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.counsellor-page .message-user .message-bubble {
  border-color: rgba(244, 116, 100, 0.3);
  border-radius: 15px 5px 15px 15px;
  background: linear-gradient(135deg, #d9443e, #a92225);
  box-shadow: 0 8px 24px rgba(169, 34, 37, 0.15);
}

.counsellor-page .starter-prompts {
  gap: 9px;
}

.counsellor-page .starter-prompts > span {
  margin-bottom: 2px;
}

.counsellor-page .starter-prompts button {
  padding: 9px 13px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(145deg, #1b1919, #141414);
}

.counsellor-page .starter-prompts button:hover {
  transform: translateY(-1px);
}

.counsellor-page .chat-input-area {
  margin-bottom: 2px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: #101011;
}

.counsellor-page .chat-input-area:focus-within {
  border-color: rgba(228, 71, 71, 0.72);
  box-shadow: 0 0 0 4px rgba(228, 71, 71, 0.09);
}

.counsellor-page .mic-button,
.counsellor-page .send-button {
  border-radius: 10px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.counsellor-page .mic-button:hover,
.counsellor-page .send-button:not(:disabled):hover {
  transform: translateY(-1px);
}

.counsellor-page .send-button {
  background: linear-gradient(135deg, #e34c43, #b52328);
  box-shadow: 0 5px 15px rgba(181, 35, 40, 0.2);
}

.counsellor-page .input-hint {
  color: #77747a;
}

.counsellor-page .course-recommendation-label,
.counsellor-page .course-syllabus h4 {
  color: #f07868;
}

.counsellor-page .course-card {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: linear-gradient(145deg, #1c1919, #141313);
}

.counsellor-page .course-card-footer a {
  color: #f07868;
}

.counsellor-page .career-assessment,
.counsellor-page .career-report-card {
  border-color: rgba(228, 71, 71, 0.25);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(217, 180, 119, 0.07), transparent 42%),
    linear-gradient(145deg, rgba(78, 28, 29, 0.34), rgba(20, 18, 19, 0.97) 58%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.counsellor-page .assessment-eyebrow,
.counsellor-page .report-eyebrow,
.counsellor-page .next-step span {
  color: #f07868;
}

.counsellor-page .best-career-card,
.counsellor-page .report-career {
  border-color: rgba(217, 180, 119, 0.19);
  background: linear-gradient(110deg, rgba(217, 180, 119, 0.07), rgba(255, 255, 255, 0.035));
}

.counsellor-page .match-score.score-good,
.counsellor-page .report-score {
  color: var(--sacred-gold);
  border-color: var(--sacred-gold);
}

.counsellor-page .career-option,
.counsellor-page .profile-box,
.counsellor-page .roadmap-item,
.counsellor-page .project-item {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.counsellor-page .roadmap-number,
.counsellor-page .project-item span {
  color: #f07868;
  background: rgba(228, 71, 71, 0.13);
}

.counsellor-page .next-step {
  border-color: rgba(228, 71, 71, 0.22);
  background: rgba(228, 71, 71, 0.08);
}

.counsellor-page .talk-to-us-button {
  position: relative;
  z-index: 1;
  flex: none;
  border: 1px solid rgba(255, 133, 111, 0.35);
  background: linear-gradient(135deg, #d8443d, #aa2226);
  box-shadow: 0 10px 28px rgba(170, 34, 38, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.counsellor-page .talk-to-us-button:hover {
  border-color: rgba(255, 190, 151, 0.65);
  box-shadow: 0 13px 32px rgba(170, 34, 38, 0.3);
}

.counsellor-page .whatsapp-modal {
  border-color: rgba(228, 71, 71, 0.24);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(164, 31, 31, 0.18), transparent 52%),
    #151313;
}

.counsellor-page .whatsapp-modal-icon {
  border: 1px solid rgba(228, 71, 71, 0.24);
  background: rgba(228, 71, 71, 0.1);
}

.counsellor-page .whatsapp-location-buttons button {
  border-color: rgba(228, 71, 71, 0.24);
  background: rgba(228, 71, 71, 0.07);
}

.counsellor-page .whatsapp-location-buttons button:hover {
  border-color: #d8443d;
  background: #b72d2d;
}

.counsellor-page .chat-panel {
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.counsellor-page .chat-panel:hover {
  border-color: rgba(228, 71, 71, 0.2);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.48),
    0 0 48px rgba(164, 31, 31, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.035);
}

.counsellor-page :is(button, a, summary):focus-visible {
  outline: 2px solid var(--sacred-gold);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .counsellor-page .intro {
    margin-top: 24px;
  }

  .counsellor-page .intro-main {
    gap: 20px;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .counsellor-page .intro h1 {
    font-size: clamp(29px, 8vw, 36px);
  }

  .counsellor-page .chat-panel {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  }

  .counsellor-page .messages {
    padding: 18px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .counsellor-page .reset-button,
  .counsellor-page .starter-prompts button,
  .counsellor-page .mic-button,
  .counsellor-page .send-button,
  .counsellor-page .talk-to-us-button {
    transition: none;
  }
}

/* =========================================================
   CUSTOMER DETAILS LEAD CAPTURE & RAG ENHANCEMENTS
========================================================= */

.register-lead-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.register-lead-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  filter: brightness(1.08);
}

.registered-lead-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lead-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.lead-modal {
  position: relative;
  width: min(520px, 100%);
  background: linear-gradient(180deg, #181515 0%, #121010 100%);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(220, 38, 38, 0.15);
  color: #f8fafc;
  animation: whatsappModalIn 0.25s ease-out;
}

.lead-modal-header {
  text-align: center;
  margin-bottom: 22px;
}

.lead-modal-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.lead-modal h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
}

.lead-modal p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.5;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: space-between;
}

.form-group label span.req {
  color: #f87171;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #ffffff;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #ef4444;
  background: rgba(255, 255, 255, 0.08);
}

.form-group select option {
  background: #181515;
  color: #ffffff;
}

.lead-submit-btn {
  margin-top: 6px;
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35);
  transition: all 0.2s ease;
}

.lead-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  transform: translateY(-1px);
}

.lead-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lead-success-alert {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

/* Free Counselling Banner */
.free-counselling-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.14) 0%, rgba(37, 99, 235, 0.12) 100%);
  border: 1px solid rgba(220, 38, 38, 0.26);
  border-radius: 12px;
  padding: 10px 16px;
  margin: 12px 0 16px;
}

.nudge-text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.nudge-btn {
  white-space: nowrap;
  background: #dc2626;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.nudge-btn:hover {
  background: #ef4444;
}

/* =========================================================
   INLINE WHATSAPP SUGGESTION CARD
========================================================= */

.inline-whatsapp-card {
  margin-top: 14px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(18, 140, 126, 0.05) 100%);
  border: 1px solid rgba(37, 211, 102, 0.26);
  border-radius: 14px;
  padding: 14px 16px;
}

.whatsapp-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.whatsapp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(37, 211, 102, 0.18);
  color: #25d366;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
}

.whatsapp-card-head h4 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
}

.whatsapp-card-copy {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.whatsapp-branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.branch-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.branch-action-pill:hover {
  background: #25d366;
  color: #111b21;
  border-color: #25d366;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* =========================================================
   OFFICIAL RAG SOURCES CITATION BAR
========================================================= */

.rag-sources-bar {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rag-sources-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
}

.rag-sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rag-source-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.15s ease;
}

.rag-source-chip:hover {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.35);
  color: #fca5a5;
}

/* =========================================================
   MARKDOWN & RICH TABLE FORMATTING
========================================================= */

.markdown-content {
  color: #dbe4f0;
  font-size: 14.5px;
  line-height: 1.65;
  word-break: break-word;
}

.markdown-content p {
  margin: 0 0 12px;
  line-height: 1.65;
}

.markdown-content p:last-child {
  margin-bottom: 0;
}

.markdown-content strong {
  color: #ffffff;
  font-weight: 700;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
  color: #ffffff;
  margin: 16px 0 10px;
  font-weight: 700;
  line-height: 1.35;
}

.markdown-content h2 {
  font-size: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.markdown-content h3 {
  font-size: 16px;
  color: #fca5a5;
}

.markdown-content h4 {
  font-size: 14.5px;
  color: #e2e8f0;
}

.markdown-content ul,
.markdown-content ol {
  margin: 8px 0 14px;
  padding-left: 22px;
}

.markdown-content li {
  margin-bottom: 6px;
  line-height: 1.55;
  color: #cbd5e1;
}

.markdown-content blockquote {
  margin: 14px 0;
  padding: 12px 16px;
  background: rgba(220, 38, 38, 0.1);
  border-left: 4px solid #ef4444;
  border-radius: 0 10px 10px 0;
  color: #fecaca;
  font-size: 13.5px;
  line-height: 1.6;
}

.markdown-content hr {
  margin: 18px 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.markdown-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13.5px;
  display: table;
}

.markdown-content thead {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.35) 0%, rgba(185, 28, 28, 0.25) 100%);
}

.markdown-content th {
  padding: 12px 14px;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  letter-spacing: 0.3px;
}

.markdown-content td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  line-height: 1.55;
  vertical-align: top;
}

.markdown-content tr:last-child td {
  border-bottom: none;
}

.markdown-content tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.markdown-content tbody tr:hover td {
  background: rgba(220, 38, 38, 0.06);
}

.markdown-content code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12.5px;
  color: #fca5a5;
}


.course-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:12px 0;padding:12px;border-radius:12px;background:rgba(99,102,241,.08)}
.course-fact small{display:block;opacity:.7;font-size:12px}
.course-fact strong{display:block;font-size:15px}
.course-fact-fee{grid-column:1/-1}
.course-fact-fee strong{font-size:20px}
.course-fact-fee span{display:block;font-size:13px;opacity:.85;margin-top:2px}
.course-fee-old{font-size:13px;font-weight:400;opacity:.6;margin-left:8px}
.course-fact-note{grid-column:1/-1;margin:0;font-size:12px;opacity:.65}

/* ---- Bigger chat box ---- */
.counsellor-page .dashboard { width: min(100%, 1120px); }
.counsellor-page .chat-panel {
  height: min(880px, calc(100svh - 90px));
  min-height: 640px;
}
@media (max-width: 700px) {
  .counsellor-page .chat-panel { height: calc(100svh - 70px); min-height: 520px; }
}
