* {
  font-family: Arial, Helvetica, sans-serif !important;
}







:root {
  --dark-blue: #07152d;
  --blue: #0876d8;
  --cyan: #10d5c2;
  --green: #16c7a8;
  --text: #102342;
  --shadow: 0 22px 60px rgba(9, 50, 90, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(16,213,194,0.12), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(8,118,216,0.13), transparent 30%),
    linear-gradient(135deg, #f8fdff 0%, #eaf7fb 45%, #f8fdff 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
}

button, a, input {
  font-family: inherit;
}

button {
  cursor: pointer;
}

.accent {
  color: var(--green);
}

/* LOGO */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  text-decoration: none;
}

.brand-logo {
  width: 210px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.side-logo .brand-logo {
  width: 210px;
  height: 62px;
}

.login-logo-img {
  width: 235px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* BUTTONS */

.btn-primary {
  border: 0;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  padding: 15px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0876d8 0%, #10d5c2 100%);
  box-shadow: 0 16px 35px rgba(8,118,216,.26);
  transition: .25s;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(8,118,216,.34);
}

.btn-secondary {
  border: 1px solid rgba(8,118,216,.16);
  color: #0b2b54;
  font-weight: 800;
  font-size: .95rem;
  padding: 15px 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(14px);
  transition: .25s;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(16,213,194,.45);
  box-shadow: 0 18px 38px rgba(8,118,216,.12);
}

/* NAVBAR */

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 86px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(8,118,216,.08);
  box-shadow: 0 10px 30px rgba(8, 34, 70, .05);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  text-decoration: none;
  color: #1b2c4a;
  font-weight: 750;
  font-size: .95rem;
  position: relative;
  transition: .2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -18px;
  width: 44px;
  height: 4px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

/* LANDING */

.hero {
  max-width: 1450px;
  margin: 0 auto;
  padding: 68px 58px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8,118,216,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,118,216,.055) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  pointer-events: none;
}

.hero h1 {
  position: relative;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 4.55rem);
  line-height: 1.08;
  color: #092b59;
  letter-spacing: -3px;
  margin-bottom: 18px;
}

.hero p {
  position: relative;
  max-width: 890px;
  margin: 0 auto 34px;
  color: #596a83;
  font-size: 1.16rem;
  line-height: 1.7;
  font-weight: 500;
}

.hero-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.visual-wrap {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
}

.visual-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -45px;
  transform: translateX(-50%);
  width: 130vw;
  height: 185px;
  background: linear-gradient(135deg, #063e78, #007c8e);
  z-index: 0;
}

.visual-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: stretch;
}

.surgery-window {
  border-radius: 26px;
  background: #07152d;
  box-shadow: 0 28px 70px rgba(4, 34, 75, .32);
  border: 6px solid #0ac7d8;
  overflow: hidden;
  text-align: left;
  min-height: 335px;
}

.window-bar {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: #081e3f;
  color: white;
  font-weight: 800;
  font-size: .82rem;
}

.bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.small-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #d7e8ff;
  font-size: .72rem;
  font-weight: 700;
}

.operation-view {
  height: 287px;
  position: relative;
  overflow: hidden;
  background: #07152d;
}

.operation-view img,
.vr-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.05);
}

.operation-view::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,21,45,.10), rgba(7,21,45,.48)),
    radial-gradient(circle at 50% 50%, transparent 0 50%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
  z-index: 1;
}

.viewer-controls {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  height: 42px;
  background: rgba(3, 14, 33, .76);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #dbefff;
  font-size: .76rem;
  font-weight: 700;
  z-index: 2;
}

.vr-card {
  border-radius: 26px;
  min-height: 335px;
  border: 6px solid #0ac7d8;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(4, 34, 75, .24);
  position: relative;
  background: #07152d;
}

.vr-card img {
  min-height: 335px;
}

.vr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,21,45,.08), rgba(7,21,45,.48)),
    radial-gradient(circle at 70% 18%, rgba(16,213,194,.22), transparent 28%);
  z-index: 1;
}

.vr-card::after {
  content: "Virtual Əməliyyat Otağı";
  position: absolute;
  left: 30px;
  bottom: 30px;
  color: white;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-shadow: 0 10px 25px rgba(0,0,0,.35);
  z-index: 2;
}

.info-cards {
  max-width: 1120px;
  margin: -6px auto 58px;
  padding: 0 30px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.info-card {
  background: white;
  border-radius: 24px;
  padding: 24px 26px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(8,118,216,.08);
  transition: .25s;
}

.info-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 75px rgba(9, 50, 90, 0.2);
}

.info-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d9fbff, #effeff);
  border: 1.5px solid rgba(16,213,194,.35);
  box-shadow: 0 14px 28px rgba(8,118,216,.08);
}

.info-icon svg {
  width: 44px;
  height: 44px;
  stroke: #0b3766;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3 {
  font-family: "Sora", sans-serif;
  color: #172848;
  font-size: 1.12rem;
  line-height: 1.35;
}

.bottom-cta {
  text-align: center;
  padding: 22px 20px 85px;
}

.bottom-cta h2 {
  font-family: "Sora", sans-serif;
  color: #12264b;
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin-bottom: 12px;
}

.bottom-cta p {
  color: #6b7b94;
  font-weight: 500;
}

/* LOGIN */

#loginPage {
  background:
    linear-gradient(rgba(246,253,255,.76), rgba(246,253,255,.82)),
    url("photo/1.jpeg") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

#loginPage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(16,213,194,.22), transparent 35%),
    linear-gradient(135deg, rgba(233,251,255,.65), rgba(248,255,255,.72));
  pointer-events: none;
}

.login-shell {
  min-height: calc(100vh - 86px);
  display: grid;
  place-items: center;
  padding: 45px 20px;
  position: relative;
  z-index: 2;
}

.login-card {
  width: min(440px, 100%);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(22px);
  border-radius: 30px;
  border: 2px solid rgba(16,213,194,.44);
  box-shadow:
    0 30px 85px rgba(8,118,216,.18),
    0 0 0 8px rgba(16,213,194,.06);
  padding: 40px;
  text-align: center;
}

.login-card h2 {
  font-family: "Sora", sans-serif;
  color: #102342;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.login-logo {
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}

.field {
  position: relative;
  margin-bottom: 16px;
}

.field input {
  width: 100%;
  height: 55px;
  border-radius: 16px;
  border: 1.5px solid rgba(13, 55, 89, .16);
  background: rgba(255,255,255,.9);
  padding: 0 48px;
  color: #102342;
  outline: none;
  font-size: .97rem;
  font-weight: 650;
  transition: .22s;
}

.field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 5px rgba(16,213,194,.13);
}

.field span {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: #73859f;
  font-size: 1.1rem;
}

.field button {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  font-size: 1.05rem;
}

.login-submit {
  width: 100%;
  height: 55px;
  margin-top: 6px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, #0876d8, #10d5c2);
  box-shadow: 0 18px 35px rgba(16,213,194,.26);
  transition: .22s;
}

.login-submit:hover {
  transform: translateY(-2px);
}

.forgot {
  margin: 18px 0;
  display: inline-block;
  text-decoration: none;
  color: #137f86;
  font-weight: 750;
  font-size: .92rem;
}

.guest-login {
  width: 100%;
  height: 52px;
  margin: 0 0 18px;
  border: 1.5px solid rgba(16, 213, 194, .35);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  color: #0b2c58;
  font-weight: 900;
  font-size: .96rem;
  transition: .22s;
  box-shadow: 0 12px 28px rgba(8, 118, 216, .08);
}

.guest-login:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(16, 213, 194, .12), rgba(8, 118, 216, .10));
  border-color: rgba(16, 213, 194, .65);
}

.line {
  height: 1px;
  background: rgba(9, 55, 90, .13);
  margin: 4px 0 20px;
}

.register-text {
  color: #52667f;
  font-weight: 600;
}

.register-text a {
  color: #102342;
  font-weight: 900;
  text-decoration: none;
}

/* DASHBOARD */

#dashboard {
  background: #f4f8fe;
}

.dashboard-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.sidebar {
  background: rgba(255,255,255,.83);
  backdrop-filter: blur(24px);
  border-right: 1px solid rgba(8,118,216,.09);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.side-menu {
  display: grid;
  gap: 9px;
  flex: 1;
}

.menu-item {
  border: 0;
  background: transparent;
  padding: 15px 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #334967;
  font-weight: 800;
  text-align: left;
  transition: .2s;
  font-size: .98rem;
}

.menu-item:hover,
.menu-item.active {
  background: linear-gradient(135deg, rgba(8,118,216,.10), rgba(16,213,194,.13));
  color: #0b2e5c;
  box-shadow: inset 0 0 0 1px rgba(16,213,194,.18);
}

.menu-item .mi {
  width: 28px;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.side-user {
  border-radius: 24px;
  background: linear-gradient(135deg, #eef8ff, #ffffff);
  border: 1px solid rgba(8,118,216,.09);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0 16px 40px rgba(9, 50, 90, 0.08);
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 12px 26px rgba(8,118,216,.22);
  position: relative;
  flex-shrink: 0;
}

.avatar::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 13px;
  height: 13px;
  background: #23d18b;
  border: 3px solid white;
  border-radius: 50%;
}

.user-name {
  font-weight: 900;
  color: #102342;
}

.user-role {
  color: #71839f;
  font-weight: 700;
  font-size: .84rem;
}

.main {
  padding: 24px;
}

.dash-top {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.mobile-menu {
  display: none;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 14px 30px rgba(9, 50, 90, .08);
  font-size: 1.25rem;
}

.search {
  flex: 1;
  max-width: 620px;
  height: 58px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(8,118,216,.08);
  box-shadow: 0 14px 30px rgba(9, 50, 90, .06);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
}

.search input {
  border: 0;
  outline: none;
  flex: 1;
  font-size: 1rem;
  color: #102342;
  font-weight: 650;
  background: transparent;
}

.top-icons {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  position: relative;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 17px;
  background: white;
  color: #0b2b54;
  font-size: 1.2rem;
  box-shadow: 0 14px 30px rgba(9, 50, 90, .07);
}

.notif {
  position: absolute;
  top: -5px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: .72rem;
  display: grid;
  place-items: center;
  border: 3px solid #f4f8fe;
  font-weight: 900;
}

.profile-pill {
  height: 58px;
  padding: 0 16px 0 7px;
  border: 0;
  border-radius: 999px;
  background: white;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #163054;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(9, 50, 90, .07);
}

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
}

.welcome {
  min-height: 360px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(8,41,90,.84) 0%, rgba(7,28,60,.78) 55%, rgba(7,21,45,.74) 100%),
    url("photo/4.jpeg") center / cover no-repeat;
  position: relative;
  overflow: hidden;
  padding: 50px;
  color: white;
  box-shadow: 0 30px 70px rgba(8, 35, 75, .22);
}

.welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 72%);
}

.welcome-content {
  position: relative;
  z-index: 3;
  max-width: 590px;
}

.welcome h4 {
  font-family: "Sora", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.welcome h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.welcome h2 span {
  color: var(--green);
}

.welcome p {
  color: rgba(255,255,255,.86);
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 34px;
}

.welcome-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.white-btn {
  border: 0;
  padding: 15px 28px;
  border-radius: 999px;
  background: white;
  color: #0a2b57;
  font-weight: 900;
  font-size: 1rem;
}

.green-btn {
  border: 0;
  padding: 15px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: white;
  font-weight: 900;
  font-size: 1rem;
}

.popular-panel {
  grid-row: span 2;
  background: white;
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 20px 55px rgba(9, 50, 90, .09);
  border: 1px solid rgba(8,118,216,.08);
}

.popular-panel h3 {
  font-family: "Sora", sans-serif;
  color: #14284d;
  margin-bottom: 22px;
  font-size: 1.1rem;
}

.case-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(8,118,216,.08);
}

.case-img {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

.case-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,118,216,.20), rgba(7,21,45,.35));
}

.case-img.one {
  background-image: linear-gradient(135deg, rgba(255,73,94,.2), rgba(7,21,45,.25)), url("photo/3.jpeg");
}

.case-img.two {
  background-image: linear-gradient(135deg, rgba(77,44,255,.15), rgba(7,21,45,.22)), url("photo/beyin.jpeg");
}


.case-img.three {
  background-image: linear-gradient(135deg, rgba(13,121,200,.12), rgba(7,21,45,.24)), url("photo/rengen.jpeg");
}


.play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #0b2e5c;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 900;
  z-index: 2;
}

.case-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-info h4 {
  color: #172848;
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.case-info span {
  color: #5d6f8b;
  font-weight: 700;
  font-size: .92rem;
}

.all-btn {
  width: 100%;
  height: 58px;
  margin-top: 20px;
  border: 1px solid rgba(8,118,216,.08);
  border-radius: 20px;
  background: #f5f9ff;
  color: #14335d;
  font-weight: 900;
  font-size: 1rem;
}

.section-head {
  margin: 24px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.section-head h3 {
  font-family: "Sora", sans-serif;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-size: 1rem;
  color: #14284d;
}

.section-head a {
  color: #173c70;
  text-decoration: none;
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.category {
  min-height: 170px;
  border-radius: 24px;
  color: white;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 20px 45px rgba(9, 50, 90, .14);
  position: relative;
  overflow: hidden;
  transition: .25s;
  background-size: cover;
  background-position: center;
}

.category:hover {
  transform: translateY(-7px);
}

.category::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,20,44,.10), rgba(5,20,44,.72));
  z-index: 1;
}

.category::after {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 2.6rem;
  z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.22));
}

.category.c1 {
  background-image: url("photo/3.jpeg"), linear-gradient(135deg, #053f87, #07152d);
}

.category.c2 {
  background-image: url("photo/xray.jpeg"), linear-gradient(135deg, #0f7ead, #07152d);
}

.category.c3 {
  background-image: url("photo/brain-video.jpeg"), linear-gradient(135deg, #783adf, #07152d);
}

.category.c4 {
  background-image: url("photo/heart-video.jpeg"), linear-gradient(135deg, #c5334c, #07152d);
}

.category.c5 {
  background-image: url("photo/orthopedia.jpeg"), linear-gradient(135deg, #0ca88e, #07152d);
}

.category.c1::after { content: "🫀"; }
.category.c2::after { content: "🩻"; }
.category.c3::after { content: "🧠"; }
.category.c4::after { content: "❤️"; }
.category.c5::after { content: "🦴"; }

.category h4 {
  position: relative;
  z-index: 2;
  font-family: "Sora", sans-serif;
  font-size: .98rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-shadow: 0 10px 20px rgba(0,0,0,.30);
}

.progress-panel {
  margin-top: 24px;
  background: white;
  border-radius: 28px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, .7fr);
  gap: 20px;
  align-items: center;
  box-shadow: 0 20px 55px rgba(9, 50, 90, .08);
  border: 1px solid rgba(8,118,216,.08);
}

.progress-title {
  font-family: "Sora", sans-serif;
  color: #14284d;
  font-weight: 800;
  margin-bottom: 12px;
}

.progress-bar {
  height: 13px;
  background: #e8eef7;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 75%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.progress-percent {
  margin-top: 8px;
  color: var(--green);
  font-weight: 900;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 16px;
  border-left: 1px solid rgba(8,118,216,.08);
}

.stat-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(8,118,216,.10), rgba(16,213,194,.13));
}

.stat-num {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  color: #0b2e5c;
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  color: #70829d;
  font-weight: 700;
  font-size: .9rem;
  margin-top: 5px;
}

.overlay {
  display: none;
}

/* DEMO VIDEO MODAL */

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 13, 26, .78);
  backdrop-filter: blur(8px);
  place-items: center;
  padding: 22px;
}

.video-modal.show {
  display: grid;
}

.video-box {
  width: min(980px, 100%);
  background: #07152d;
  border-radius: 28px;
  border: 3px solid rgba(16, 213, 194, .55);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .45);
  overflow: hidden;
  position: relative;
}

.video-box video {
  width: 100%;
  max-height: 78vh;
  display: block;
  background: #000;
}

.video-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #07152d;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.video-close:hover {
  background: #10d5c2;
  color: white;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .top-nav {
    padding: 0 28px;
  }

  .nav-links {
    gap: 20px;
  }

  .brand-logo {
    width: 180px;
  }
}

@media (max-width: 1100px) {
  .visual-grid,
  .dash-grid {
    grid-template-columns: 1fr;
  }

  .popular-panel {
    grid-row: auto;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .progress-panel {
    grid-template-columns: 1fr;
  }

  .stat {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .top-nav {
    padding: 0 18px;
    height: 76px;
  }

  .nav-links {
    display: none;
  }

  .brand-logo {
    width: 175px;
    height: 54px;
  }

  .hero {
    padding: 45px 18px 20px;
  }

  .hero h1 {
    letter-spacing: -1.5px;
  }

  .info-cards {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 285px;
    height: 100vh;
    z-index: 100;
    transform: translateX(-105%);
    transition: .25s;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .overlay.show {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(4,13,26,.55);
    backdrop-filter: blur(4px);
    z-index: 90;
  }

  .mobile-menu {
    display: block;
  }

  .search {
    display: none;
  }

  .profile-pill span {
    display: none;
  }

  .dash-grid {
    gap: 16px;
  }

  .welcome {
    padding: 32px 24px;
    min-height: 330px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-icons {
    gap: 8px;
  }

  .icon-btn {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 520px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-actions,
  .welcome-buttons {
    flex-direction: column;
  }

  .visual-grid {
    gap: 18px;
  }

  .surgery-window,
  .vr-card {
    min-height: 260px;
    border-width: 4px;
  }

  .operation-view {
    height: 212px;
  }

  .vr-card img {
    min-height: 260px;
  }

  .viewer-controls {
    font-size: .62rem;
    gap: 8px;
  }

  .login-card {
    padding: 30px 22px;
  }

  .main {
    padding: 14px;
  }

  .dash-top {
    margin-bottom: 12px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .welcome h2 {
    font-size: 2.4rem;
  }

  .welcome p {
    font-size: 1.08rem;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* CLEAN VECTOR SIDEBAR STYLE */

.sidebar {
  background: #ffffff;
  border-right: 1px solid rgba(80, 105, 150, 0.08);
  padding: 26px 20px;
}

.side-menu {
  display: grid;
  gap: 10px;
  flex: 1;
}

.menu-item {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #263f6d;
  font-weight: 500;
  text-align: left;
  transition: 0.22s ease;
  font-size: 1rem;
  letter-spacing: 0;
}

.menu-item:hover,
.menu-item.active {
  background: linear-gradient(135deg, #edf6ff, #f4fbff);
  color: #172e61;
  box-shadow: inset 0 0 0 1px rgba(80, 130, 220, 0.06);
}

.menu-item .mi {
  width: 26px;
  min-width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4e65a3;
}

.menu-item .mi svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-item.active .mi,
.menu-item:hover .mi {
  color: #4058a8;
}

.menu-item.active {
  font-weight: 550;
}

/* ROUND LOGO FIX */

.brand {
  min-width: auto !important;
  gap: 12px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
  background: #ffffff;
  padding: 4px;
  border: 2px solid rgba(16, 213, 194, 0.45);
  box-shadow:
    0 12px 28px rgba(8, 118, 216, 0.18),
    0 0 0 6px rgba(16, 213, 194, 0.08);
}

/* Navbar və sidebar yanında yazı */
.brand::after {
  content: "MED SPECT";
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #0a2b57;
  white-space: nowrap;
}

.side-logo .brand-logo {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
}

/* Login səhifəsindəki böyük logo */
.login-logo-img {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
  margin: 0 auto;
  background: #ffffff;
  padding: 8px;
  border: 2px solid rgba(16, 213, 194, 0.5);
  box-shadow:
    0 18px 40px rgba(8, 118, 216, 0.18),
    0 0 0 8px rgba(16, 213, 194, 0.08);
}

/* Sidebar-da logo yazısı çox sıx olmasın */
.sidebar .brand::after {
  font-size: 1.05rem;
}

/* Mobil uyğunlaşma */
@media (max-width: 900px) {
  .brand-logo {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
  }

  .brand::after {
    font-size: 1rem;
  }

  .login-logo-img {
    width: 130px !important;
    height: 130px !important;
    max-width: 130px !important;
  }
}

@media (max-width: 520px) {
  .brand::after {
    display: none;
  }

  .brand-logo {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
  }
}

/* LOGOUT BUTTON */

.logout-btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.10), rgba(255, 255, 255, 0.95));
  color: #b42335;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 0.98rem;
  font-weight: 800;
  transition: 0.22s ease;
  box-shadow: inset 0 0 0 1px rgba(180, 35, 53, 0.10);
}

.logout-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff4d5f, #ff7b8b);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(180, 35, 53, 0.18);
}

.logout-icon-svg {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logout-icon-svg svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobil menyuda aşağı hissə rahat görünsün */
.sidebar {
  overflow-y: auto;
}

/* LOGOUT BUTTON */

.logout-btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.10), rgba(255, 255, 255, 0.95));
  color: #b42335;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 0.98rem;
  font-weight: 800;
  transition: 0.22s ease;
  box-shadow: inset 0 0 0 1px rgba(180, 35, 53, 0.10);
}

.logout-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff4d5f, #ff7b8b);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(180, 35, 53, 0.18);
}

.logout-icon-svg {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logout-icon-svg svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar {
  overflow-y: auto;
}

/* IMAGE BASED CATEGORY CARDS */

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.category {
  min-height: 185px;
  border-radius: 18px;
  color: white;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 18px 42px rgba(8, 35, 75, 0.18);
  border: 1px solid rgba(255,255,255,0.45);
  transition: 0.25s ease;
}

.category:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 55px rgba(8, 35, 75, 0.25);
}

/* Şəklin üstündə yazı oxunsun deyə qaranlıq gradient */
.category::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 20, 44, 0.05) 0%, rgba(5, 20, 44, 0.35) 45%, rgba(5, 20, 44, 0.82) 100%);
  z-index: 1;
}

/* Əvvəlki emoji ikonları tam söndürür */
.category::after {
  display: none !important;
  content: none !important;
}

.category h4 {
  position: relative;
  z-index: 2;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #ffffff;
  text-shadow: 0 8px 18px rgba(0,0,0,0.45);
}

/* Kateqoriya şəkilləri */
.category.c1 {
  background-image: url("photo/category-surgery.jpg") !important;
}

.category.c2 {
  background-image: url("photo/category-radiology.jpg") !important;
}

.category.c3 {
  background-image: url("photo/category-neurology.jpg") !important;
}

.category.c4 {
  background-image: url("photo/category-cardiology.jpg") !important;
}

.category.c5 {
  background-image: url("photo/category-orthopedia.jpg") !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .category {
    min-height: 170px;
  }
}

@media (max-width: 520px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category {
    min-height: 210px;
  }
}

/* BETTER CATEGORY IMAGE CARDS */

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.category {
  min-height: 175px;
  border-radius: 22px;
  padding: 18px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;

  /* Şəkil çox zoom olmasın */
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center 34% !important;

  box-shadow:
    0 18px 40px rgba(8, 35, 75, 0.16),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition: 0.25s ease;
}

/* Hər kart üçün arxa fon rəngi */
.category.c1 {
  background-color: #063d82 !important;
  background-image: url("photo/category-surgery.jpg") !important;
}

.category.c2 {
  background-color: #062c4d !important;
  background-image: url("photo/category-radiology.jpg") !important;
}

.category.c3 {
  background-color: #2d2388 !important;
  background-image: url("photo/category-neurology.jpg") !important;
}

.category.c4 {
  background-color: #45152a !important;
  background-image: url("photo/category-cardiology.jpg") !important;
}

.category.c5 {
  background-color: #006f70 !important;
  background-image: url("photo/category-orthopedia.jpg") !important;
}

/* Şəklin üstündə yumşaq dərinlik effekti */
.category::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(4, 15, 36, 0.05) 0%,
      rgba(4, 15, 36, 0.08) 35%,
      rgba(4, 15, 36, 0.55) 72%,
      rgba(4, 15, 36, 0.88) 100%
    );
  pointer-events: none;
}

/* Köhnə emoji ikonlarını söndür */
.category::after {
  display: none !important;
  content: none !important;
}

.category h4 {
  position: relative;
  z-index: 2;
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #ffffff;
  text-shadow: 0 8px 18px rgba(0,0,0,0.45);
}

.category:hover {
  transform: translateY(-6px);
  box-shadow:
    0 25px 55px rgba(8, 35, 75, 0.25),
    inset 0 0 0 1px rgba(255,255,255,0.45);
}

/* Hover zamanı azca böyüsün, amma zoom kimi görünməsin */
.category:hover {
  background-size: 106% auto !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category {
    min-height: 180px;
  }
}

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

  .category {
    min-height: 175px;
  }
}

@media (max-width: 520px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category {
    min-height: 220px;
    background-size: 88% auto !important;
  }
}

/* FINAL CATEGORY CARDS - 4 ITEMS WITH MATCHING GRADIENTS */

.category-grid-four {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 22px !important;
}

.category-grid-four .category {
  min-height: 205px !important;
  border-radius: 24px !important;
  padding: 18px 18px 20px !important;
  position: relative;
  overflow: hidden;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow:
    0 22px 46px rgba(8, 35, 75, 0.18),
    inset 0 0 0 1px rgba(255,255,255,0.20);
  transition: 0.25s ease;
  background-repeat: no-repeat !important;
}

/* Köhnə emoji/icon qatını söndürür */
.category-grid-four .category::after {
  display: none !important;
  content: none !important;
}

/* Üst gradient - yazı rahat oxunsun */
.category-grid-four .category::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 14, 35, 0.02) 0%,
      rgba(5, 14, 35, 0.08) 42%,
      rgba(5, 14, 35, 0.50) 72%,
      rgba(5, 14, 35, 0.86) 100%
    );
}

/* Yazı */
.category-grid-four .category h4 {
  position: relative;
  z-index: 2;
  font-family: "Sora", sans-serif;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 8px 20px rgba(0,0,0,0.48);
}

/* Hover */
.category-grid-four .category:hover {
  transform: translateY(-7px);
  box-shadow:
    0 30px 65px rgba(8, 35, 75, 0.28),
    inset 0 0 0 1px rgba(255,255,255,0.35);
}

/* RADIOLOGIYA */
.category-grid-four .category.c2 {
  background-image:
    radial-gradient(circle at 50% 38%, rgba(91, 221, 255, 0.42), transparent 34%),
    linear-gradient(180deg, #083d69 0%, #072c4f 44%, #061d39 100%),
    url("photo/category-radiology.jpg") !important;
  background-size:
    100% 100%,
    100% 100%,
    82% auto !important;
  background-position:
    center,
    center,
    center 40% !important;
}

/* NEVROLOGIYA */
.category-grid-four .category.c3 {
  background-image:
    radial-gradient(circle at 52% 36%, rgba(176, 118, 255, 0.42), transparent 36%),
    linear-gradient(180deg, #5331c5 0%, #24166e 52%, #111043 100%),
    url("photo/category-neurology.jpg") !important;
  background-size:
    100% 100%,
    100% 100%,
    82% auto !important;
  background-position:
    center,
    center,
    center 40% !important;
}

/* KARDIOLOGIYA */
.category-grid-four .category.c4 {
  background-image:
    radial-gradient(circle at 50% 34%, rgba(255, 76, 103, 0.43), transparent 36%),
    linear-gradient(180deg, #813245 0%, #401a31 52%, #180d24 100%),
    url("photo/category-cardiology.jpg") !important;
  background-size:
    100% 100%,
    100% 100%,
    84% auto !important;
  background-position:
    center,
    center,
    center 39% !important;
}

/* ORTOPEDIYA */
.category-grid-four .category.c5 {
  background-image:
    radial-gradient(circle at 50% 34%, rgba(28, 230, 203, 0.38), transparent 36%),
    linear-gradient(180deg, #0c897d 0%, #075461 50%, #042c42 100%),
    url("photo/category-orthopedia.jpg") !important;
  background-size:
    100% 100%,
    100% 100%,
    80% auto !important;
  background-position:
    center,
    center,
    center 41% !important;
}

/* Əgər şəkillərin özündə ağ fon çoxdursa, bu qat onu yumşaldır */
.category-grid-four .category.c2::before,
.category-grid-four .category.c3::before,
.category-grid-four .category.c4::before,
.category-grid-four .category.c5::before {
  background:
    linear-gradient(
      180deg,
      rgba(5, 14, 35, 0.00) 0%,
      rgba(5, 14, 35, 0.10) 38%,
      rgba(5, 14, 35, 0.48) 70%,
      rgba(5, 14, 35, 0.90) 100%
    );
}

/* Responsive */
@media (max-width: 1100px) {
  .category-grid-four {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .category-grid-four .category {
    min-height: 220px !important;
  }
}

@media (max-width: 620px) {
  .category-grid-four {
    grid-template-columns: 1fr !important;
  }

  .category-grid-four .category {
    min-height: 240px !important;
  }

  .category-grid-four .category.c2,
  .category-grid-four .category.c3,
  .category-grid-four .category.c4,
  .category-grid-four .category.c5 {
    background-size:
      100% 100%,
      100% 100%,
      76% auto !important;
  }
}
/* CLEAN FIX FOR CATEGORY CARDS */

.category-grid-four {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 22px !important;
}

/* Ümumi kart görünüşü */
.category-grid-four .category {
  min-height: 205px !important;
  border-radius: 22px !important;
  padding: 18px !important;
  position: relative;
  overflow: hidden;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;

  background-repeat: no-repeat !important;
  background-size: 78% auto !important;
  background-position: center 38% !important;

  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 42px rgba(8, 35, 75, 0.16);
  transition: 0.25s ease;
}

/* Köhnə emoji/iconları söndür */
.category-grid-four .category::after {
  display: none !important;
  content: none !important;
}

/* Sadəcə aşağıdan yazı üçün qaranlıq kölgə */
.category-grid-four .category::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.06) 45%,
    rgba(0, 0, 0, 0.45) 78%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

/* Yazı */
.category-grid-four .category h4 {
  position: relative;
  z-index: 2;
  font-family: "Sora", sans-serif;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: white;
  text-shadow: 0 8px 18px rgba(0,0,0,0.5);
}

/* Hover */
.category-grid-four .category:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(8, 35, 75, 0.24);
  background-size: 82% auto !important;
}

/* Radiologiya — sadə uyğun fon */
.category-grid-four .category.c2 {
  background-color: #062b4d !important;
  background-image: url("photo/category-radiology.jpg") !important;
}

/* Nevrologiya */
.category-grid-four .category.c3 {
  background-color: #25156b !important;
  background-image: url("photo/category-neurology.jpg") !important;
}

/* Kardiologiya */
.category-grid-four .category.c4 {
  background-color: #2b1024 !important;
  background-image: url("photo/category-cardiology.jpg") !important;
}

/* Ortopediya */
.category-grid-four .category.c5 {
  background-color: #064f55 !important;
  background-image: url("photo/category-orthopedia.jpg") !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .category-grid-four {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .category-grid-four .category {
    min-height: 220px !important;
    background-size: 72% auto !important;
  }
}

@media (max-width: 620px) {
  .category-grid-four {
    grid-template-columns: 1fr !important;
  }

  .category-grid-four .category {
    min-height: 240px !important;
    background-size: 68% auto !important;
  }
}
.case-img.two {
  background-image: linear-gradient(135deg, rgba(77,44,255,.15), rgba(7,21,45,.22)), url("photo/beyin.jpeg") !important;
  background-size: cover !important;
  background-position: center !important;
}

.case-img.three {
  background-image: linear-gradient(135deg, rgba(13,121,200,.12), rgba(7,21,45,.24)), url("photo/rengen.jpeg") !important;
  background-size: cover !important;
  background-position: center !important;
}
/* TEST PANEL STYLE */

.tests-panel,
.quiz-panel {
  display: none;
  animation: fadeUp 0.28s ease;
}

.tests-panel.active,
.quiz-panel.active {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

.tests-head,
.quiz-head {
  background: #ffffff;
  border-radius: 28px;
  padding: 26px 28px;
  margin-bottom: 24px;
  box-shadow: 0 18px 45px rgba(9, 50, 90, 0.08);
  border: 1px solid rgba(8,118,216,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tests-head h2,
.quiz-head h2 {
  font-family: "Sora", sans-serif;
  color: #102342;
  font-size: clamp(1.4rem, 2vw, 2rem);
  margin-bottom: 8px;
}

.tests-head p,
.quiz-head p {
  color: #71839f;
  font-weight: 650;
}

.back-home-btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: linear-gradient(135deg, rgba(8,118,216,.10), rgba(16,213,194,.13));
  color: #0b2e5c;
  font-weight: 900;
  white-space: nowrap;
  transition: 0.22s ease;
}

.back-home-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0876d8, #10d5c2);
  color: white;
  box-shadow: 0 16px 34px rgba(8,118,216,.22);
}

.test-module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.test-module-card {
  min-height: 245px;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #07152d;
  box-shadow: 0 22px 55px rgba(9, 50, 90, 0.14);
  transition: 0.25s ease;
}

.test-module-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(9, 50, 90, 0.22);
}

.test-module-card img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.04);
}

.test-module-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,21,45,0.02) 0%, rgba(7,21,45,0.30) 52%, rgba(7,21,45,0.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 22px;
  color: white;
  text-align: left;
}

.test-module-overlay span {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.test-module-overlay strong {
  font-size: 0.95rem;
  color: #10d5c2;
}

/* QUIZ */

.quiz-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 26px;
  box-shadow: 0 22px 60px rgba(9, 50, 90, 0.10);
  border: 1px solid rgba(8,118,216,.08);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.quiz-image-box {
  border-radius: 26px;
  overflow: hidden;
  background: #07152d;
  border: 3px solid rgba(16,213,194,.35);
  box-shadow: 0 20px 45px rgba(7,21,45,.18);
}

.quiz-image-box img {
  width: 100%;
  display: block;
  object-fit: contain;
  background: #07152d;
}

.quiz-content {
  padding: 4px 0;
}

.quiz-badge {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(8,118,216,.10), rgba(16,213,194,.14));
  color: #0b2e5c;
  font-weight: 900;
  margin-bottom: 16px;
}

.quiz-content h3 {
  font-family: "Inter", sans-serif;
  color: #102342;
  font-size: 1.03rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.answer-list {
  display: grid;
  gap: 12px;
}

.answer-btn {
  width: 100%;
  border: 1.5px solid rgba(8,118,216,.10);
  background: #f7fbff;
  color: #163054;
  border-radius: 18px;
  padding: 15px 18px;
  text-align: left;
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1.45;
  transition: 0.2s ease;
}

.answer-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(16,213,194,.45);
  background: linear-gradient(135deg, rgba(16,213,194,.10), rgba(8,118,216,.08));
}

.answer-btn.correct {
  background: linear-gradient(135deg, rgba(35,209,139,.16), rgba(16,213,194,.12));
  border-color: rgba(35,209,139,.55);
  color: #0c6f50;
}

.answer-btn.wrong {
  background: linear-gradient(135deg, rgba(255,77,95,.13), rgba(255,255,255,.95));
  border-color: rgba(255,77,95,.55);
  color: #b42335;
}

.answer-btn.locked {
  pointer-events: none;
}

.quiz-result {
  display: none;
  margin-top: 22px;
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(135deg, #f2fbff, #ffffff);
  border: 1px solid rgba(16,213,194,.25);
  box-shadow: 0 16px 35px rgba(9, 50, 90, 0.08);
}

.quiz-result.show {
  display: block;
}

.quiz-result h4 {
  font-family: "Sora", sans-serif;
  color: #0b2e5c;
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.quiz-result p {
  color: #344963;
  line-height: 1.7;
  font-weight: 600;
  margin-bottom: 10px;
}

.quiz-result ul {
  padding-left: 20px;
  color: #344963;
  line-height: 1.7;
  font-weight: 600;
}

.quiz-result li {
  margin-bottom: 8px;
}

/* RESPONSIVE TESTS */

@media (max-width: 1100px) {
  .test-module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .tests-head,
  .quiz-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-home-btn {
    width: 100%;
  }

  .test-module-grid {
    grid-template-columns: 1fr;
  }

  .test-module-card {
    min-height: 230px;
  }

  .test-module-card img {
    min-height: 230px;
  }
}

/* REMOVE TEST CARD TEXT OVERLAY */

.test-module-overlay {
  display: none !important;
}

.test-module-card img {
  filter: none !important;
}
/* CLEAN TEST MODULE CARDS */

.clean-test-card {
  background: #ffffff !important;
  border-radius: 28px !important;
  overflow: hidden;
  padding: 0 !important;
}

.clean-test-card img {
  width: 100% !important;
  height: 100% !important;
  min-height: 245px !important;
  object-fit: cover !important;
  display: block;
  filter: none !important;
}

/* Əgər köhnə overlay CSS qalırsa, tam gizlə */
.test-module-overlay {
  display: none !important;
}

/* TEST: USE o1.jpeg FOR ALL CATEGORY CARDS */

.category-grid-four .category.c2,
.category-grid-four .category.c3,
.category-grid-four .category.c4,
.category-grid-four .category.c5 {
  background-image: url("photo/o1.jpeg") !important;
  background-color: #062b4d !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* ROUND CATEGORY CARDS */

.category-grid-four {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 26px !important;
  align-items: center;
  justify-items: center;
}

.category-grid-four .category {
  width: 170px !important;
  height: 170px !important;
  min-height: 170px !important;
  max-width: 170px !important;
  border-radius: 50% !important;
  padding: 0 !important;

  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;

  overflow: hidden !important;
  position: relative;

  background-image: url("photo/o1.jpeg") !important;
  background-color: #062b4d !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  border: 3px solid rgba(255,255,255,0.75);
  box-shadow:
    0 20px 45px rgba(8, 35, 75, 0.20),
    0 0 0 8px rgba(16, 213, 194, 0.08);
}

/* Yumru kartın aşağı hissəsində yazı üçün gradient */
.category-grid-four .category::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.08) 45%,
      rgba(0,0,0,0.52) 78%,
      rgba(0,0,0,0.78) 100%
    );
  pointer-events: none;
}

/* Köhnə icon/emoji layer söndür */
.category-grid-four .category::after {
  display: none !important;
  content: none !important;
}

.category-grid-four .category h4 {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  text-align: center;
  text-shadow: 0 8px 18px rgba(0,0,0,0.55);
}

.category-grid-four .category:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow:
    0 28px 60px rgba(8, 35, 75, 0.28),
    0 0 0 8px rgba(16, 213, 194, 0.12);
}

/* Responsive */
@media (max-width: 1100px) {
  .category-grid-four {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .category-grid-four .category {
    width: 190px !important;
    height: 190px !important;
    min-height: 190px !important;
    max-width: 190px !important;
  }
}

@media (max-width: 520px) {
  .category-grid-four {
    grid-template-columns: 1fr !important;
  }

  .category-grid-four .category {
    width: 220px !important;
    height: 220px !important;
    min-height: 220px !important;
    max-width: 220px !important;
  }

  .category-grid-four .category h4 {
    font-size: 0.9rem !important;
  }
}
/* COMPACT ROUND CATEGORY CARDS */

.category-grid-four {
  gap: 18px !important;
}

.category-grid-four .category {
  width: 130px !important;
  height: 130px !important;
  min-height: 130px !important;
  max-width: 130px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255,255,255,0.75);
  box-shadow:
    0 14px 32px rgba(8, 35, 75, 0.18),
    0 0 0 5px rgba(16, 213, 194, 0.07);
}

.category-grid-four .category h4 {
  margin-bottom: 18px !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.25px !important;
}

.category-grid-four .category:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow:
    0 20px 44px rgba(8, 35, 75, 0.24),
    0 0 0 6px rgba(16, 213, 194, 0.10);
}

/* Tablet */
@media (max-width: 1100px) {
  .category-grid-four .category {
    width: 145px !important;
    height: 145px !important;
    min-height: 145px !important;
    max-width: 145px !important;
  }
}

/* Mobil */
@media (max-width: 520px) {
  .category-grid-four .category {
    width: 165px !important;
    height: 165px !important;
    min-height: 165px !important;
    max-width: 165px !important;
  }

  .category-grid-four .category h4 {
    font-size: 0.78rem !important;
  }
}

/* CATEGORY ROUND CARDS - DIFFERENT IMAGES */

.category-grid-four .category.c2 {
  background-image: url("photo/o1.jpeg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.category-grid-four .category.c3 {
  background-image: url("photo/o2.jpeg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.category-grid-four .category.c4 {
  background-image: url("photo/o3.jpeg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.category-grid-four .category.c5 {
  background-image: url("photo/o4.jpeg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* RESPONSIVE SMALL CATEGORY CIRCLES */

.category-grid-four {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: center !important;
  justify-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 8px 0 10px !important;
}

/* Dairələri balacalaşdırır */
.category-grid-four .category {
  width: clamp(105px, 8.5vw, 135px) !important;
  height: clamp(105px, 8.5vw, 135px) !important;
  min-height: unset !important;
  max-width: 135px !important;
  max-height: 135px !important;

  border-radius: 50% !important;
  padding: 0 !important;
  overflow: hidden !important;

  background-color: #f8fbff !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  border: 2px solid rgba(255, 255, 255, 0.95) !important;

  box-shadow:
    0 10px 24px rgba(8, 35, 75, 0.10),
    inset 0 0 0 1px rgba(8,118,216,0.05),
    0 0 0 6px rgba(16, 213, 194, 0.07) !important;

  filter: none !important;
  transition: 0.22s ease !important;
}

/* Qaranlıq gradienti tam silir */
.category-grid-four .category::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* Köhnə icon/emoji layer silinir */
.category-grid-four .category::after {
  display: none !important;
  content: none !important;
}

/* HTML-dəki yazıları gizlədir, çünki yazı şəkilin özündədir */
.category-grid-four .category h4 {
  display: none !important;
}

/* Şəkillər */
.category-grid-four .category.c2 {
  background-image: url("photo/o4.jpeg") !important;
}

.category-grid-four .category.c3 {
  background-image: url("photo/o1.jpeg") !important;
}

.category-grid-four .category.c4 {
  background-image: url("photo/o3.jpeg") !important;
}

.category-grid-four .category.c5 {
  background-image: url("photo/o2.jpeg") !important;
}

/* Hover daha yüngül olsun */
.category-grid-four .category:hover {
  transform: translateY(-4px) scale(1.025) !important;
  box-shadow:
    0 16px 34px rgba(8, 35, 75, 0.16),
    inset 0 0 0 1px rgba(8,118,216,0.06),
    0 0 0 7px rgba(16, 213, 194, 0.10) !important;
}

/* Orta ekranlarda bir az da yığcam */
@media (max-width: 1350px) {
  .category-grid-four {
    gap: 12px !important;
  }

  .category-grid-four .category {
    width: 118px !important;
    height: 118px !important;
    max-width: 118px !important;
    max-height: 118px !important;
  }
}

/* Tablet */
@media (max-width: 1100px) {
  .category-grid-four {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .category-grid-four .category {
    width: 145px !important;
    height: 145px !important;
    max-width: 145px !important;
    max-height: 145px !important;
  }
}

/* Mobil */
@media (max-width: 620px) {
  .category-grid-four {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .category-grid-four .category {
    width: 125px !important;
    height: 125px !important;
    max-width: 125px !important;
    max-height: 125px !important;
  }
}

/* Çox kiçik mobil */
@media (max-width: 420px) {
  .category-grid-four .category {
    width: 110px !important;
    height: 110px !important;
    max-width: 110px !important;
    max-height: 110px !important;
  }
}

/* ============================= */
/* MOBILE RESPONSIVE FIX PACK */
/* ============================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

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

img,
video {
  max-width: 100%;
}

/* Ümumi container daşmasının qarşısını alır */
.page,
.dashboard-layout,
.main,
.dash-grid,
.welcome,
.popular-panel,
.progress-panel,
.tests-panel,
.quiz-panel {
  max-width: 100%;
}

/* ============================= */
/* TABLET / SMALL LAPTOP */
/* ============================= */

@media (max-width: 1100px) {
  .dashboard-layout {
    display: block !important;
  }

  .main {
    width: 100% !important;
    padding: 18px !important;
    margin: 0 !important;
  }

  .dash-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .popular-panel {
    width: 100% !important;
    max-width: 100% !important;
  }

  .progress-panel {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .test-module-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .quiz-card {
    grid-template-columns: 1fr !important;
  }
}

/* ============================= */
/* MOBILE DASHBOARD */
/* ============================= */

@media (max-width: 768px) {
  body {
    background: #f4f8ff;
  }

  /* Sidebar mobil menyu */
  .sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: min(82vw, 320px) !important;
    height: 100vh !important;
    z-index: 9999 !important;
    transform: translateX(-110%) !important;
    transition: transform 0.25s ease !important;
    overflow-y: auto !important;
    border-radius: 0 26px 26px 0 !important;
  }

  .sidebar.open {
    transform: translateX(0) !important;
  }

  .overlay.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9998 !important;
  }

  .main {
    padding: 14px !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  .dash-top {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 10px !important;
    align-items: center !important;
    margin-bottom: 16px !important;
  }

  .mobile-menu {
    display: inline-flex !important;
    width: 48px !important;
    height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
    flex-shrink: 0 !important;
  }

  .search {
    width: 100% !important;
    min-width: 0 !important;
    height: 50px !important;
    padding: 0 14px !important;
  }

  .search input {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 0.9rem !important;
  }

  .top-icons {
    grid-column: 1 / -1 !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
  }

  .top-icons::-webkit-scrollbar {
    display: none;
  }

  .icon-btn {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 15px !important;
  }

  .profile-pill {
    min-width: max-content !important;
    height: 46px !important;
    padding: 6px 12px 6px 6px !important;
  }

  .profile-pill .avatar {
    width: 36px !important;
    height: 36px !important;
  }

  /* Welcome banner */
  .welcome {
    min-height: 280px !important;
    border-radius: 26px !important;
    padding: 26px 22px !important;
    background-position: center !important;
  }

  .welcome-content h4 {
    font-size: 1.25rem !important;
  }

  .welcome-content h2 {
    font-size: clamp(2.2rem, 12vw, 3.6rem) !important;
    line-height: 1 !important;
  }

  .welcome-content p {
    font-size: 1rem !important;
  }

  .welcome-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .green-btn,
  .white-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 15px 18px !important;
    font-size: 0.95rem !important;
  }

  /* Section başlıq */
  .section-head {
    align-items: center !important;
    gap: 10px !important;
    margin-top: 22px !important;
  }

  .section-head h3 {
    font-size: 1rem !important;
  }

  .section-head a {
    font-size: 0.9rem !important;
    white-space: nowrap !important;
  }
}

/* ============================= */
/* MOBILE CATEGORY CIRCLES */
/* ============================= */

@media (max-width: 768px) {
  .category-grid-four {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px 14px !important;
    justify-items: center !important;
    align-items: center !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 8px 0 12px !important;
  }

  .category-grid-four .category {
    width: clamp(110px, 36vw, 145px) !important;
    height: clamp(110px, 36vw, 145px) !important;
    min-height: unset !important;
    max-width: 145px !important;
    max-height: 145px !important;
    border-radius: 50% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow:
      0 10px 24px rgba(8, 35, 75, 0.10),
      0 0 0 6px rgba(16, 213, 194, 0.07) !important;
  }

  .category-grid-four .category h4,
  .category-grid-four .category::before,
  .category-grid-four .category::after {
    display: none !important;
    content: none !important;
  }
}

/* Çox kiçik telefonlarda */
@media (max-width: 420px) {
  .category-grid-four {
    gap: 18px 10px !important;
  }

  .category-grid-four .category {
    width: 112px !important;
    height: 112px !important;
    max-width: 112px !important;
    max-height: 112px !important;
  }
}

/* ============================= */
/* PROGRESS PANEL MOBILE */
/* ============================= */

@media (max-width: 768px) {
  .progress-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    border-radius: 26px !important;
    padding: 22px !important;
  }

  .stat {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .stat-icon {
    flex-shrink: 0 !important;
  }
}

/* ============================= */
/* POPULAR CASES MOBILE */
/* ============================= */

@media (max-width: 768px) {
  .popular-panel {
    border-radius: 26px !important;
    padding: 22px !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .popular-panel h3 {
    font-size: 1.25rem !important;
  }

  .case-item {
    grid-template-columns: 86px 1fr !important;
    gap: 14px !important;
    align-items: center !important;
  }

  .case-img {
    width: 86px !important;
    height: 70px !important;
    min-width: 86px !important;
    border-radius: 18px !important;
  }

  .case-info h4 {
    font-size: 1rem !important;
    line-height: 1.25 !important;
  }

  .case-info span {
    font-size: 0.9rem !important;
  }

  .play {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.75rem !important;
  }

  .all-btn {
    width: 100% !important;
  }
}

/* ============================= */
/* TEST PAGE MOBILE */
/* ============================= */

@media (max-width: 768px) {
  .tests-head,
  .quiz-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    border-radius: 24px !important;
    padding: 22px !important;
  }

  .tests-head h2,
  .quiz-head h2 {
    font-size: 1.35rem !important;
  }

  .tests-head p,
  .quiz-head p {
    font-size: 0.95rem !important;
  }

  .back-home-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .test-module-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .test-module-card {
    min-height: 190px !important;
    border-radius: 24px !important;
  }

  .test-module-card img {
    min-height: 190px !important;
    object-fit: cover !important;
  }

  .quiz-card {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    border-radius: 26px !important;
    padding: 18px !important;
  }

  .quiz-image-box {
    border-radius: 22px !important;
  }

  .quiz-content h3 {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
  }

  .answer-btn {
    font-size: 0.9rem !important;
    padding: 14px 15px !important;
    border-radius: 16px !important;
  }

  .quiz-result {
    padding: 18px !important;
    border-radius: 20px !important;
  }
}

/* ============================= */
/* LANDING PAGE MOBILE */
/* ============================= */

@media (max-width: 768px) {
  .top-nav {
    padding: 14px 16px !important;
    gap: 12px !important;
  }

  .top-nav .nav-links {
    display: none !important;
  }

  .top-nav .btn-primary {
    padding: 12px 15px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
  }

  .brand-logo {
    width: 58px !important;
    height: 58px !important;
  }

  .hero {
    padding: 38px 16px 20px !important;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 3.2rem) !important;
    line-height: 1.08 !important;
  }

  .hero p {
    font-size: 1rem !important;
    max-width: 100% !important;
  }

  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero-actions button {
    width: 100% !important;
    justify-content: center !important;
  }

  .visual-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .surgery-window,
  .vr-card {
    border-radius: 24px !important;
  }

  .viewer-controls {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .viewer-controls span {
    font-size: 0.75rem !important;
  }

  .info-cards {
    grid-template-columns: 1fr !important;
    padding: 18px 16px !important;
    gap: 16px !important;
  }

  .bottom-cta {
    margin: 18px 16px !important;
    padding: 28px 20px !important;
    border-radius: 26px !important;
  }

  .bottom-cta h2 {
    font-size: 1.45rem !important;
  }
}

/* ============================= */
/* LOGIN MOBILE */
/* ============================= */

@media (max-width: 768px) {
  .login-shell {
    padding: 24px 16px !important;
  }

  .login-card {
    width: 100% !important;
    max-width: 420px !important;
    border-radius: 28px !important;
    padding: 28px 22px !important;
  }

  .field {
    height: 54px !important;
  }

  .login-submit,
  .guest-login {
    height: 54px !important;
  }
}

/* ============================= */
/* CASE-LƏR PANELİ */
/* ============================= */

.cases-panel,
.hematology-cases-panel,
.case-detail-panel {
  display: none;
  width: 100%;
  animation: fadeUp 0.25s ease;
}

.cases-panel.active,
.hematology-cases-panel.active,
.case-detail-panel.active {
  display: block;
}

.cases-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  padding: 26px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(220, 232, 250, 0.95);
  box-shadow: 0 18px 45px rgba(8, 35, 75, 0.08);
}

.cases-head h2 {
  margin: 0 0 6px;
  color: #112b55;
  font-family: "Sora", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
}

.cases-head p {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
  font-weight: 500;
}

/* 4 case category düyməsi */
.case-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 28px;
  max-width: 850px;
  margin: 0 auto;
}

.case-category-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 18px 42px rgba(8, 35, 75, 0.12),
    inset 0 0 0 1px rgba(220, 232, 250, 0.9);
  transition: 0.25s ease;
}

.case-category-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.case-category-card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow:
    0 28px 60px rgba(8, 35, 75, 0.18),
    0 0 0 6px rgba(16, 213, 194, 0.08);
}

.case-category-card:active {
  transform: scale(0.98);
}

/* ============================= */
/* HEMATOLOGİYA CASE LIST */
/* ============================= */

.hematology-case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}

.hematology-case-card {
  border: 0;
  text-align: left;
  cursor: pointer;
  min-height: 240px;
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,251,255,0.92));
  box-shadow:
    0 18px 45px rgba(8, 35, 75, 0.09),
    inset 0 0 0 1px rgba(220, 232, 250, 0.95);
  transition: 0.25s ease;
}

.hematology-case-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 60px rgba(8, 35, 75, 0.15),
    0 0 0 6px rgba(16, 213, 194, 0.08);
}

.hematology-case-card.active-case {
  background:
    radial-gradient(circle at top right, rgba(16, 213, 194, 0.20), transparent 35%),
    linear-gradient(180deg, #ffffff, #f4fbff);
}

.case-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(16, 213, 194, 0.13);
  color: #0aaea1;
  font-weight: 800;
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
}

.hematology-case-card h3 {
  margin: 0 0 12px;
  color: #102a55;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 800;
}

.hematology-case-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}

/* ============================= */
/* CASE DETAIL ARTICLE */
/* ============================= */

.clinical-case-article {
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(220, 232, 250, 0.95);
  box-shadow: 0 22px 55px rgba(8, 35, 75, 0.10);
}

.case-hero-image {
  width: 100%;
  max-height: 430px;
  overflow: hidden;
  background: #eef7ff;
}

.case-hero-image img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.case-article-body {
  padding: 34px;
}

.case-article-body h1 {
  margin: 0 0 28px;
  color: #0d244d;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.case-section {
  margin-bottom: 20px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(246, 251, 255, 0.78);
  border: 1px solid rgba(220, 232, 250, 0.75);
}

.case-section h3 {
  margin: 0 0 12px;
  color: #092451;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.case-section p {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 500;
}

.case-section p + p {
  margin-top: 12px;
}

/* Fərqli başlıq blokları */
.highlight-section {
  background:
    linear-gradient(135deg, rgba(16, 213, 194, 0.12), rgba(255, 255, 255, 0.9));
  border-color: rgba(16, 213, 194, 0.22);
}

.diagnosis-section {
  background:
    linear-gradient(135deg, rgba(13, 148, 136, 0.13), rgba(255, 255, 255, 0.95));
  border-color: rgba(13, 148, 136, 0.22);
}

.treatment-section {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(255, 255, 255, 0.95));
  border-color: rgba(37, 99, 235, 0.18);
}

.results-section {
  background:
    linear-gradient(135deg, rgba(22, 163, 74, 0.11), rgba(255, 255, 255, 0.95));
  border-color: rgba(22, 163, 74, 0.20);
}

.results-section ul {
  margin: 0;
  padding-left: 20px;
}

.results-section li {
  margin-bottom: 12px;
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;
}

.results-section li:last-child {
  margin-bottom: 0;
}

.results-section strong {
  color: #0d244d;
  font-weight: 900;
}

/* Source links */
.case-sources {
  margin-top: 28px;
  padding: 24px;
  border-radius: 24px;
  background: #f8fbff;
  border: 1px dashed rgba(8, 35, 75, 0.18);
}

.case-sources h3 {
  margin: 0 0 14px;
  color: #0d244d;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
}

.case-sources a {
  display: block;
  margin-bottom: 10px;
  color: #0b8fdf;
  font-weight: 700;
  word-break: break-all;
  text-decoration: none;
}

.case-sources a:hover {
  text-decoration: underline;
}

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

@media (max-width: 1100px) {
  .hematology-case-list {
    grid-template-columns: 1fr;
  }

  .hematology-case-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .cases-head {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-radius: 24px;
    margin-bottom: 22px;
  }

  .cases-head h2 {
    font-size: 1.4rem;
  }

  .cases-head p {
    font-size: 0.95rem;
  }

  .case-category-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 100%;
  }

  .case-category-card {
    border-radius: 22px;
    aspect-ratio: 1 / 0.85;
  }

  .hematology-case-list {
    gap: 16px;
  }

  .hematology-case-card {
    padding: 22px;
    border-radius: 24px;
  }

  .hematology-case-card h3 {
    font-size: 1.03rem;
  }

  .clinical-case-article {
    border-radius: 26px;
  }

  .case-hero-image {
    max-height: 260px;
  }

  .case-hero-image img {
    max-height: 260px;
  }

  .case-article-body {
    padding: 22px;
  }

  .case-article-body h1 {
    font-size: 1.45rem;
  }

  .case-section {
    padding: 18px;
    border-radius: 20px;
  }

  .case-section h3 {
    font-size: 1rem;
  }

  .case-section p,
  .results-section li {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .case-sources {
    padding: 18px;
    border-radius: 20px;
  }
}

@media (max-width: 430px) {
  .case-category-card {
    aspect-ratio: 1 / 0.95;
  }
}

/* ============================= */
/* FINAL BARMAQ.PNG RESPONSIVE FIX */
/* ============================= */

/* Case detal panelində şəkil heç vaxt sağa-sola daşmasın */
.case-detail-panel,
.clinical-case-article,
.case-hero-image {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* barmaq.png tam görünsün, kəsilməsin */
.case-hero-image {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: clamp(10px, 2vw, 22px) !important;
  background: linear-gradient(180deg, #f8fcff, #eef7ff) !important;

  overflow: hidden !important;
}

/* Əsas düzəliş buradadır */
.case-hero-image img {
  width: 100% !important;
  height: auto !important;
  max-width: 1120px !important;
  max-height: none !important;

  display: block !important;
  object-fit: contain !important;
  object-position: center center !important;

  border-radius: 20px !important;
  background: #eef7ff !important;
}

/* Tablet */
@media (max-width: 1100px) {
  .case-hero-image {
    padding: 14px !important;
  }

  .case-hero-image img {
    max-width: 100% !important;
    border-radius: 18px !important;
  }
}

/* Mobil */
@media (max-width: 768px) {
  .case-hero-image {
    padding: 10px !important;
    max-height: none !important;
  }

  .case-hero-image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 16px !important;
  }
}

/* Çox kiçik telefonlar */
@media (max-width: 430px) {
  .case-hero-image {
    padding: 8px !important;
  }

  .case-hero-image img {
    border-radius: 14px !important;
  }
}

/* ===================================================== */
/* COMPACT CASE PAGE + SMALLER BARMAQ IMAGE */
/* ===================================================== */

/* Case-lər səhifəsinin ümumi boşluqlarını azaldır */
.cases-panel,
.hematology-cases-panel,
.case-detail-panel {
  padding-top: 0 !important;
}

/* Yuxarı başlıq kartını daha kompakt edir */
.cases-head {
  padding: 18px 22px !important;
  margin-bottom: 20px !important;
  border-radius: 22px !important;
}

.cases-head h2 {
  font-size: 1.35rem !important;
  margin-bottom: 4px !important;
}

.cases-head p {
  font-size: 0.9rem !important;
}

/* Case category kartlarını kiçildir */
.case-category-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 22px !important;
  max-width: 680px !important;
  margin: 0 auto !important;
}

/* Əsas kart ölçüsü */
.case-category-card {
  aspect-ratio: 1 / 0.88 !important;
  border-radius: 22px !important;
  max-height: 285px !important;
  box-shadow:
    0 12px 28px rgba(8, 35, 75, 0.10),
    inset 0 0 0 1px rgba(220, 232, 250, 0.9) !important;
}

/* İçindəki şəkil tam görünsün, amma çox yer tutmasın */
.case-category-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 8px !important;
  background: #ffffff !important;
}

/* Hover daha sakit olsun */
.case-category-card:hover {
  transform: translateY(-4px) scale(1.015) !important;
  box-shadow:
    0 18px 40px rgba(8, 35, 75, 0.14),
    0 0 0 5px rgba(16, 213, 194, 0.07) !important;
}

/* Hematologiya case kartlarını da kompakt et */
.hematology-case-list {
  gap: 16px !important;
}

.hematology-case-card {
  min-height: 180px !important;
  padding: 22px !important;
  border-radius: 22px !important;
}

.case-number {
  padding: 7px 13px !important;
  margin-bottom: 14px !important;
  font-size: 0.78rem !important;
}

.hematology-case-card h3 {
  font-size: 1rem !important;
  line-height: 1.32 !important;
  margin-bottom: 10px !important;
}

.hematology-case-card p {
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
}

/* ===================================================== */
/* BARMAQ.PNG DAHA BALACA */
/* ===================================================== */

.case-hero-image {
  padding: 14px !important;
  background: linear-gradient(180deg, #f8fcff, #eef7ff) !important;
}

/* Şəkli kiçildir */
.case-hero-image img {
  width: auto !important;
  max-width: min(82%, 850px) !important;
  height: auto !important;
  max-height: 420px !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 18px !important;
}

/* Article iç boşluqlarını bir az azaldır */
.case-article-body {
  padding: 28px !important;
}

.case-article-body h1 {
  font-size: clamp(1.35rem, 2.2vw, 2rem) !important;
  margin-bottom: 22px !important;
}

.case-section {
  padding: 18px 20px !important;
  margin-bottom: 16px !important;
  border-radius: 20px !important;
}

.case-section h3 {
  font-size: 1rem !important;
  margin-bottom: 9px !important;
}

.case-section p {
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .case-category-grid {
    max-width: 620px !important;
    gap: 18px !important;
  }

  .case-category-card {
    max-height: 260px !important;
  }

  .case-hero-image img {
    max-width: 88% !important;
    max-height: 380px !important;
  }
}

@media (max-width: 768px) {
  .cases-head {
    padding: 18px !important;
    margin-bottom: 18px !important;
  }

  .case-category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 100% !important;
    gap: 14px !important;
  }

  .case-category-card {
    aspect-ratio: 1 / 1 !important;
    max-height: none !important;
    border-radius: 18px !important;
  }

  .case-category-card img {
    padding: 5px !important;
  }

  .hematology-case-card {
    min-height: auto !important;
    padding: 18px !important;
  }

  .case-hero-image {
    padding: 10px !important;
  }

  .case-hero-image img {
    max-width: 94% !important;
    max-height: 330px !important;
    border-radius: 15px !important;
  }

  .case-article-body {
    padding: 20px !important;
  }

  .case-article-body h1 {
    font-size: 1.35rem !important;
  }

  .case-section {
    padding: 16px !important;
  }
}

@media (max-width: 430px) {
  .case-category-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .case-category-card {
    aspect-ratio: 1 / 0.78 !important;
  }

  .case-hero-image img {
    max-width: 100% !important;
    max-height: 280px !important;
  }
}


/* ===================================================== */
/* NEW LOGIN PAGE DESIGN */
/* ===================================================== */

#loginPage {
  background: #f7fbff !important;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

#loginPage::after {
  display: none !important;
}

.auth-screen {
  min-height: 100vh;
  position: relative;
  padding: 28px 54px 24px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 8% 88%, rgba(16, 213, 194, 0.12), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(8, 118, 216, 0.10), transparent 32%),
    linear-gradient(135deg, #f9fcff 0%, #f4f9ff 48%, #ffffff 100%);
}

/* Arxa fon yumşaq dairələr */
.auth-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.auth-bg-circle-one {
  width: 390px;
  height: 390px;
  right: -150px;
  top: -110px;
  background: rgba(8, 118, 216, 0.06);
}

.auth-bg-circle-two {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: 90px;
  background: rgba(8, 118, 216, 0.07);
}

.auth-dots {
  position: absolute;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(rgba(8, 118, 216, 0.22) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.55;
  z-index: 0;
}

.auth-dots-left {
  left: 36px;
  bottom: 210px;
}

.auth-dots-right {
  right: 88px;
  top: 330px;
}

.auth-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.auth-logo {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.auth-logo img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 16px;
}

.auth-logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.auth-logo strong {
  font-family: "Sora", sans-serif;
  font-size: 1.9rem;
  color: #0b3b74;
  font-weight: 900;
  letter-spacing: -1px;
}

.auth-logo strong b {
  color: #10bfae;
}

.auth-logo small {
  font-weight: 900;
  color: #1f2d45;
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  margin-top: 5px;
}

.language-btn {
  border: 0;
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  background: #ffffff;
  color: #1d2f52;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(9, 50, 90, 0.08);
}

.auth-layout {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(430px, 560px);
  gap: clamp(40px, 7vw, 95px);
  align-items: center;
}

.auth-left {
  max-width: 470px;
}

.auth-left h1 {
  font-family: "Sora", sans-serif;
  color: #081a3c;
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.auth-title-line {
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: #0876d8;
  margin-bottom: 34px;
}

.auth-left-text {
  color: #455b7a;
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 650;
  margin-bottom: 32px;
}

.auth-features {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: 18px;
}

.auth-feature-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 900;
}

.auth-feature-icon.blue {
  background: rgba(8, 118, 216, 0.10);
  color: #0876d8;
}

.auth-feature-icon.green {
  background: rgba(16, 213, 194, 0.13);
  color: #08a995;
}

.auth-feature-icon.purple {
  background: rgba(99, 102, 241, 0.11);
  color: #5658e8;
}

.auth-feature-icon.orange {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.auth-feature h3 {
  color: #172848;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 5px;
}

.auth-feature p {
  color: #6b7b94;
  font-size: 0.92rem;
  font-weight: 650;
}

.auth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 18px 40px rgba(9, 50, 90, 0.08);
  border: 1px solid rgba(8, 118, 216, 0.06);
}

.auth-stats div {
  text-align: center;
}

.auth-stats span {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.auth-stats strong {
  display: block;
  color: #102342;
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 5px;
}

.auth-stats p {
  color: #6b7b94;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Login Card */

.auth-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  padding: 42px 38px 34px;
  box-shadow:
    0 24px 60px rgba(9, 50, 90, 0.10),
    inset 0 0 0 1px rgba(8, 118, 216, 0.06);
  backdrop-filter: blur(18px);
}

.auth-card-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
}

.auth-card-logo img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 10px;
}

.auth-card-logo strong {
  font-family: "Sora", sans-serif;
  color: #0b3b74;
  font-weight: 900;
  font-size: 1.55rem;
  line-height: 1;
}

.auth-card-logo strong span {
  color: #10bfae;
}

.auth-card-logo small {
  color: #263f5f;
  font-size: 0.62rem;
  font-weight: 900;
  margin-top: 4px;
}

.auth-card h2 {
  font-family: "Sora", sans-serif;
  text-align: center;
  color: #081a3c;
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  color: #6b7b94;
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 28px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(16, 28, 52, 0.10);
  margin-bottom: 26px;
}

.auth-tab {
  border: 0;
  background: transparent;
  color: #6b7b94;
  font-size: 0.96rem;
  font-weight: 900;
  padding: 0 10px 18px;
  position: relative;
}

.auth-tab.active {
  color: #0876d8;
}

.auth-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: #0876d8;
}

.auth-form {
  display: block;
}

.auth-form.hidden {
  display: none;
}

.auth-form label {
  display: block;
  color: #172848;
  font-size: 0.93rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.auth-field {
  height: 54px;
  position: relative;
  margin-bottom: 22px;
}

.auth-field input {
  width: 100%;
  height: 100%;
  border: 1.5px solid rgba(25, 45, 80, 0.12);
  border-radius: 10px;
  outline: none;
  background: #ffffff;
  color: #102342;
  padding: 0 48px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.auth-field input:focus {
  border-color: rgba(8, 118, 216, 0.55);
  box-shadow: 0 0 0 4px rgba(8, 118, 216, 0.09);
}

.auth-field > span {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: #7d8ba3;
  font-size: 1rem;
}

.auth-field button {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #7d8ba3;
  font-size: 1rem;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -4px 0 24px;
}

.remember-me {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  cursor: pointer;
}

.remember-me input {
  width: 18px;
  height: 18px;
  accent-color: #0876d8;
}

.remember-me span {
  color: #172848;
  font-size: 0.9rem;
  font-weight: 800;
}

.auth-options a {
  color: #0876d8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.auth-submit {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 9px;
  background: #0876f8;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(8, 118, 248, 0.22);
  transition: 0.22s ease;
}

.auth-submit:hover {
  transform: translateY(-2px);
  background: #0069df;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 28px 0 22px;
}

.auth-divider span {
  height: 1px;
  background: rgba(25, 45, 80, 0.10);
}

.auth-divider p {
  color: #7d8ba3;
  font-size: 0.9rem;
  font-weight: 900;
}

.social-login {
  width: 100%;
  height: 50px;
  border-radius: 9px;
  border: 1.5px solid rgba(25, 45, 80, 0.10);
  background: #ffffff;
  color: #172848;
  font-size: 0.96rem;
  font-weight: 900;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: 0.2s ease;
}

.social-login:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 118, 216, 0.28);
  box-shadow: 0 12px 28px rgba(9, 50, 90, 0.07);
}

.google-icon {
  color: #4285f4;
  font-size: 1.25rem;
  font-weight: 900;
}

.apple-icon {
  color: #000000;
  font-size: 1.25rem;
}

.auth-bottom-text {
  text-align: center;
  margin-top: 24px;
  color: #6b7b94;
  font-size: 0.92rem;
  font-weight: 700;
}

.auth-bottom-text a {
  color: #0876d8;
  font-weight: 900;
  text-decoration: none;
}

.auth-footer {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #6b7b94;
  font-size: 0.86rem;
  font-weight: 700;
}

.auth-footer div {
  display: flex;
  align-items: center;
  gap: 48px;
}

.auth-footer a {
  color: #6b7b94;
  text-decoration: none;
  font-weight: 800;
}

.auth-footer a:hover {
  color: #0876d8;
}

/* Responsive login */

@media (max-width: 1050px) {
  .auth-screen {
    padding: 24px 24px 22px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .auth-left {
    display: none;
  }

  .auth-card {
    max-width: 560px;
    margin: 0 auto;
  }

  .auth-footer {
    max-width: 560px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 700px) {
  .auth-screen {
    padding: 18px 14px;
  }

  .auth-header {
    margin-bottom: 24px;
  }

  .auth-logo img {
    width: 58px;
    height: 58px;
  }

  .auth-logo strong {
    font-size: 1.25rem;
  }

  .auth-logo small {
    font-size: 0.56rem;
  }

  .language-btn {
    height: 42px;
    padding: 0 13px;
    font-size: 0.85rem;
  }

  .auth-card {
    padding: 30px 20px 26px;
    border-radius: 20px;
  }

  .auth-card-logo img {
    width: 78px;
    height: 78px;
  }

  .auth-card h2 {
    font-size: 1.45rem;
  }

  .auth-subtitle {
    font-size: 0.88rem;
  }

  .auth-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .auth-options a {
    font-size: 0.86rem;
  }

  .auth-footer {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .auth-footer div {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .auth-bg-circle-one,
  .auth-bg-circle-two,
  .auth-dots {
    display: none;
  }
}

@media (max-width: 420px) {
  .auth-logo span {
    display: none;
  }

  .auth-card {
    padding: 28px 16px 24px;
  }

  .auth-tab {
    font-size: 0.85rem;
  }

  .social-login {
    font-size: 0.88rem;
  }
}

/* ===================================================== */
/* FINAL AUTH PAGE CENTERED LAYOUT FIX */
/* 2-ci şəkildəki kimi balanslı görünüş üçün */
/* ===================================================== */

#loginPage {
  background: #f7fbff !important;
  overflow-x: hidden !important;
}

/* Səhifəni çox geniş ekranlarda yayılmaqdan saxlayır */
.auth-screen {
  min-height: 100vh !important;
  padding: 30px 0 24px !important;
  background:
    radial-gradient(circle at 0% 95%, rgba(16, 213, 194, 0.14), transparent 30%),
    radial-gradient(circle at 100% 8%, rgba(8, 118, 216, 0.13), transparent 28%),
    linear-gradient(135deg, #f8fcff 0%, #f4f9ff 48%, #ffffff 100%) !important;
}

/* Header, əsas hissə və footer eyni container içində olsun */
.auth-header,
.auth-layout,
.auth-footer {
  width: min(1220px, calc(100% - 64px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Header */
.auth-header {
  margin-bottom: 70px !important;
}

.auth-logo img {
  width: 92px !important;
  height: 92px !important;
  border-radius: 18px !important;
  object-fit: cover !important;
  box-shadow: 0 12px 30px rgba(8, 35, 75, 0.08);
}

.auth-logo strong {
  font-size: 2rem !important;
  line-height: 1 !important;
}

.auth-logo small {
  font-size: 0.72rem !important;
  margin-top: 8px !important;
}

.language-btn {
  height: 50px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
}

/* Əsas layout artıq bütün ekranı tutmur */
.auth-layout {
  flex: unset !important;
  display: grid !important;
  grid-template-columns: 470px 580px !important;
  justify-content: space-between !important;
  align-items: start !important;
  gap: 70px !important;
}

/* Sol tərəf */
.auth-left {
  max-width: 470px !important;
  padding-top: 50px !important;
}

.auth-left h1 {
  font-size: 3.05rem !important;
  line-height: 1.18 !important;
  letter-spacing: -2px !important;
  margin-bottom: 24px !important;
}

.auth-title-line {
  width: 58px !important;
  height: 5px !important;
  margin-bottom: 34px !important;
}

.auth-left-text {
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
  margin-bottom: 34px !important;
  max-width: 440px !important;
}

.auth-features {
  gap: 18px !important;
  margin-bottom: 34px !important;
}

.auth-feature {
  gap: 20px !important;
}

.auth-feature-icon {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  border-radius: 14px !important;
  font-size: 1.35rem !important;
}

.auth-feature h3 {
  font-size: 1rem !important;
  margin-bottom: 5px !important;
}

.auth-feature p {
  font-size: 0.9rem !important;
}

/* Statistika kartı */
.auth-stats {
  width: 100% !important;
  min-height: 118px !important;
  border-radius: 18px !important;
  padding: 20px 18px !important;
  box-shadow: 0 18px 42px rgba(9, 50, 90, 0.08) !important;
}

.auth-stats span {
  font-size: 1.35rem !important;
  margin-bottom: 9px !important;
}

.auth-stats strong {
  font-size: 1.08rem !important;
}

.auth-stats p {
  font-size: 0.84rem !important;
}

/* Sağ login kartı */
.auth-card {
  width: 580px !important;
  max-width: 580px !important;
  border-radius: 18px !important;
  padding: 38px 36px 34px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow:
    0 24px 65px rgba(9, 50, 90, 0.10),
    inset 0 0 0 1px rgba(8, 118, 216, 0.055) !important;
}

/* Kartdakı logo hissəsi */
.auth-card-logo {
  margin-bottom: 24px !important;
}

.auth-card-logo img {
  width: 94px !important;
  height: 94px !important;
  border-radius: 16px !important;
  object-fit: cover !important;
  margin-bottom: 10px !important;
}

.auth-card-logo strong {
  font-size: 1.55rem !important;
}

.auth-card-logo small {
  font-size: 0.62rem !important;
}

/* Başlıq */
.auth-card h2 {
  font-size: 1.75rem !important;
  margin-bottom: 8px !important;
}

.auth-subtitle {
  font-size: 0.95rem !important;
  margin-bottom: 30px !important;
}

/* Tab hissəsi */
.auth-tabs {
  margin-bottom: 28px !important;
}

.auth-tab {
  padding-bottom: 18px !important;
  font-size: 0.95rem !important;
}

/* Form */
.auth-form label {
  font-size: 0.92rem !important;
  margin-bottom: 10px !important;
}

.auth-field {
  height: 54px !important;
  margin-bottom: 24px !important;
}

.auth-field input {
  border-radius: 10px !important;
  font-size: 0.95rem !important;
  padding-left: 50px !important;
  padding-right: 50px !important;
}

.auth-options {
  margin: -4px 0 24px !important;
}

.auth-submit {
  height: 54px !important;
  border-radius: 9px !important;
  font-size: 1rem !important;
}

.auth-divider {
  margin: 28px 0 22px !important;
}

.social-login {
  height: 50px !important;
  border-radius: 9px !important;
  margin-bottom: 12px !important;
}

.auth-bottom-text {
  margin-top: 24px !important;
}

/* Footer */
.auth-footer {
  margin-top: 52px !important;
}

.auth-footer div {
  gap: 54px !important;
}

/* Arxa fon dairələri 2-ci şəkilə uyğun */
.auth-bg-circle-one {
  width: 410px !important;
  height: 410px !important;
  right: -120px !important;
  top: -120px !important;
  background: rgba(8, 118, 216, 0.07) !important;
}

.auth-bg-circle-two {
  width: 360px !important;
  height: 360px !important;
  right: -110px !important;
  bottom: 80px !important;
  background: rgba(8, 118, 216, 0.055) !important;
}

.auth-dots-left {
  left: calc((100% - 1220px) / 2 - 10px) !important;
  bottom: 190px !important;
}

.auth-dots-right {
  right: calc((100% - 1220px) / 2 + 560px) !important;
  top: 610px !important;
}

/* Orta ekranlar */
@media (max-width: 1280px) {
  .auth-header,
  .auth-layout,
  .auth-footer {
    width: min(1120px, calc(100% - 48px)) !important;
  }

  .auth-layout {
    grid-template-columns: 430px 540px !important;
    gap: 55px !important;
  }

  .auth-card {
    width: 540px !important;
    max-width: 540px !important;
  }

  .auth-left h1 {
    font-size: 2.75rem !important;
  }
}

/* Tablet */
@media (max-width: 1050px) {
  .auth-screen {
    padding: 24px 0 !important;
  }

  .auth-header,
  .auth-layout,
  .auth-footer {
    width: min(560px, calc(100% - 32px)) !important;
  }

  .auth-header {
    margin-bottom: 30px !important;
  }

  .auth-layout {
    display: block !important;
  }

  .auth-left {
    display: none !important;
  }

  .auth-card {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
  }

  .auth-footer {
    margin-top: 28px !important;
  }
}

/* Mobil */
@media (max-width: 700px) {
  .auth-header,
  .auth-layout,
  .auth-footer {
    width: calc(100% - 28px) !important;
  }

  .auth-logo img {
    width: 58px !important;
    height: 58px !important;
  }

  .auth-logo strong {
    font-size: 1.25rem !important;
  }

  .auth-logo small {
    font-size: 0.56rem !important;
  }

  .auth-card {
    padding: 30px 20px 26px !important;
    border-radius: 20px !important;
  }

  .auth-card-logo img {
    width: 78px !important;
    height: 78px !important;
  }

  .auth-card h2 {
    font-size: 1.45rem !important;
  }

  .auth-options {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .auth-footer {
    flex-direction: column !important;
    text-align: center !important;
  }

  .auth-footer div {
    gap: 18px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}

/* ===================================================== */
/* SURGERY PAGE - CƏRRAHİYYƏ SƏHİFƏSİ */
/* ===================================================== */

.surgery-page {
  min-height: 100vh;
  width: 100%;
  padding: 28px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 0% 100%, rgba(0, 153, 255, 0.13), transparent 32%),
    linear-gradient(135deg, #f6fbff 0%, #eef7ff 45%, #ffffff 100%);
  color: #071b3d;
  font-family: inherit;
}

.surgery-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
}

.surgery-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.surgery-logo-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #1685f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(22, 133, 248, 0.25);
}

.surgery-title-wrap h1 {
  font-size: 25px;
  line-height: 1.1;
  margin: 0 0 5px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.surgery-title-wrap p {
  margin: 0;
  color: #667894;
  font-size: 15px;
}

.surgery-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.surgery-search {
  width: 380px;
  height: 54px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d8e8f6;
  border-radius: 22px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 12px;
  box-shadow: 0 10px 26px rgba(20, 83, 140, 0.06);
}

.surgery-search i {
  color: #243b63;
  font-size: 18px;
}

.surgery-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #243b63;
  font-size: 15px;
}

.surgery-search input::placeholder {
  color: #75869f;
}

.surgery-notification,
.surgery-user {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #d8e8f6;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #071b3d;
  box-shadow: 0 10px 24px rgba(20, 83, 140, 0.07);
}

.surgery-user {
  background: #147df5;
  color: #fff;
  font-weight: 700;
  border-color: #147df5;
}

.surgery-layout {
  display: grid;
  grid-template-columns: 225px 1fr;
  gap: 24px;
  align-items: start;
}

.surgery-sidebar {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d9e9f7;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(13, 73, 133, 0.07);
}

.surgery-category {
  min-height: 96px;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #eaf2fb;
  cursor: pointer;
  position: relative;
  transition: 0.25s ease;
  background: transparent;
}

.surgery-category:last-child {
  border-bottom: none;
}

.surgery-category:hover {
  background: #f1f8ff;
}

.surgery-category.active {
  background: #eaf5ff;
}

.surgery-category.active::before {
  content: "";
  width: 4px;
  height: 100%;
  background: #1685f8;
  position: absolute;
  left: 0;
  top: 0;
}

.surgery-category-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.surgery-category-title {
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 800;
  color: #102447;
}

.surgery-main-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d9e9f7;
  border-radius: 20px;
  padding: 30px 26px 28px;
  box-shadow: 0 22px 55px rgba(13, 73, 133, 0.09);
}

.surgery-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.surgery-card-header h2 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.1;
  color: #071b3d;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.surgery-card-header p {
  margin: 0;
  color: #667894;
  font-size: 15px;
}

.surgery-tabs {
  display: flex;
  border: 1px solid #d7e8f7;
  border-radius: 14px;
  overflow: hidden;
  background: #f7fbff;
  min-width: 235px;
}

.surgery-tab {
  height: 50px;
  padding: 0 24px;
  border: none;
  background: transparent;
  color: #102447;
  font-size: 15px;
  cursor: pointer;
  transition: 0.25s ease;
}

.surgery-tab.active {
  background: #147df5;
  color: #fff;
  box-shadow: 0 10px 22px rgba(20, 125, 245, 0.25);
}

.surgery-viewer {
  position: relative;
  height: 640px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d9e9f7;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.4), transparent 45%),
    linear-gradient(135deg, #edf8ff, #f9fdff);
  margin-bottom: 34px;
}

.surgery-viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.surgery-part-list {
  position: absolute;
  left: 20px;
  top: 100px;
  width: 140px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.surgery-part-btn {
  min-height: 58px;
  padding: 0 14px;
  border: 1px solid #d7e8f7;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.86);
  color: #25395c;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.surgery-part-btn:first-child {
  border-radius: 10px 10px 0 0;
}

.surgery-part-btn:last-child {
  border-bottom: 1px solid #d7e8f7;
  border-radius: 0 0 10px 10px;
}

.surgery-part-btn.active {
  background: #f5fbff;
  color: #0b66d8;
  font-weight: 700;
}

.surgery-part-btn.active::after {
  content: "";
  width: 7px;
  height: 7px;
  background: #147df5;
  border-radius: 50%;
  float: right;
  margin-top: 6px;
}

.surgery-tools {
  position: absolute;
  right: 14px;
  top: 132px;
  width: 58px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d7e8f7;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
  box-shadow: 0 14px 24px rgba(20, 83, 140, 0.09);
}

.surgery-tool {
  width: 58px;
  height: 66px;
  border: none;
  border-bottom: 1px solid #e4eff8;
  background: transparent;
  font-size: 23px;
  cursor: pointer;
}

.surgery-tool:last-child {
  border-bottom: none;
}

.surgery-tool.active {
  color: #df3e4f;
}

.surgery-section-title {
  font-size: 25px;
  margin: 0 0 24px;
  color: #071b3d;
  font-weight: 800;
}

.surgery-disease-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.surgery-disease-card {
  min-height: 170px;
  border: 1px solid #d9e9f7;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(13, 73, 133, 0.05);
  transition: 0.25s ease;
}

.surgery-disease-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(13, 73, 133, 0.1);
}

.surgery-disease-img {
  border-radius: 13px;
  overflow: hidden;
  background: #eef7ff;
}

.surgery-disease-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surgery-disease-card h4 {
  margin: 10px 0 10px;
  color: #102447;
  font-size: 14.5px;
  font-weight: 800;
}

.surgery-disease-card p {
  margin: 0 0 14px;
  color: #314766;
  font-size: 12.8px;
  line-height: 1.55;
}

.surgery-more-link {
  height: 38px;
  padding: 0 16px;
  border: 1px solid #d6e8f7;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  color: #0b3d73;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.surgery-more-link span {
  margin-left: 8px;
  font-size: 18px;
}

.surgery-load-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.surgery-load-more button {
  width: 285px;
  height: 48px;
  border-radius: 24px;
  border: 1px solid #d7e8f7;
  background: rgba(255, 255, 255, 0.92);
  color: #0b3d73;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.surgery-footer {
  text-align: center;
  margin-top: 34px;
  color: #9aa8ba;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1250px) {
  .surgery-page {
    padding: 22px;
  }

  .surgery-layout {
    grid-template-columns: 205px 1fr;
  }

  .surgery-viewer {
    height: 540px;
  }

  .surgery-disease-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .surgery-search {
    width: 300px;
  }
}

@media (max-width: 950px) {
  .surgery-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .surgery-actions {
    justify-content: space-between;
  }

  .surgery-search {
    flex: 1;
    width: auto;
  }

  .surgery-layout {
    grid-template-columns: 1fr;
  }

  .surgery-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .surgery-category {
    min-height: 78px;
  }

  .surgery-card-header {
    flex-direction: column;
  }

  .surgery-tabs {
    width: 100%;
  }

  .surgery-tab {
    flex: 1;
  }
}

@media (max-width: 650px) {
  .surgery-page {
    padding: 16px;
  }

  .surgery-actions {
    gap: 10px;
  }

  .surgery-notification,
  .surgery-user {
    width: 46px;
    height: 46px;
  }

  .surgery-search {
    height: 48px;
  }

  .surgery-sidebar {
    grid-template-columns: 1fr;
  }

  .surgery-main-card {
    padding: 22px 16px;
  }

  .surgery-card-header h2 {
    font-size: 25px;
  }

  .surgery-viewer {
    height: 430px;
  }

  .surgery-part-list {
    left: 10px;
    top: 70px;
    width: 115px;
  }

  .surgery-tools {
    right: 8px;
    top: 90px;
    width: 46px;
  }

  .surgery-tool {
    width: 46px;
    height: 54px;
    font-size: 19px;
  }

  .surgery-disease-grid {
    grid-template-columns: 1fr;
  }

  .surgery-disease-card {
    grid-template-columns: 95px 1fr;
  }
}
/* Surgery panel default gizli olsun */
#surgeryPanel {
  display: none;
}

#surgeryPanel.active {
  display: block;
}

/* Cərrahiyyə səhifəsi açılanda dashboard topbar gizlənsin */
.main.surgery-mode {
  padding: 0 !important;
}

.main.surgery-mode .dash-top {
  display: none !important;
}

/* Cərrahiyyə paneli normalda gizli olsun */
#surgeryPanel {
  display: none !important;
}

/* Cərrahiyyə açılarkən görünsün */
#surgeryPanel.active {
  display: block !important;
}

/* Cərrahiyyə səhifəsində yuxarı dashboard search hissəsi gizlənsin */
.main.surgery-mode {
  padding: 0 !important;
}

.main.surgery-mode .dash-top {
  display: none !important;
}
/* Cərrahiyyə panelinin açılıb-bağlanması */
#surgeryPanel {
  display: none;
}

#surgeryPanel.active {
  display: block !important;
}

/* Cərrahiyyə açıq olanda əsas dashboard topbar gizlənsin */
.main.surgery-mode {
  padding: 0 !important;
}

.main.surgery-mode .dash-top {
  display: none !important;
}

/* ===================================================== */
/* AI HOME DASHBOARD - ANA SƏHİFƏ */
/* ===================================================== */

.ai-home-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.ai-home-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e4edf7;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(27, 78, 130, 0.06);
  color: #0b1f44;
}

.ai-home-card h3 {
  margin: 0;
  color: #102447;
  font-size: 20px;
  font-weight: 800;
}

.ai-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.ai-info-dot {
  width: 18px;
  height: 18px;
  border: 1px solid #c8d6e5;
  color: #8290a3;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* Score card */
.ai-score-content {
  display: flex;
  align-items: center;
  gap: 34px;
}

.ai-score-ring {
  --score: 78;
  width: 164px;
  height: 164px;
  border-radius: 50%;
  background:
    conic-gradient(#0d74ff calc(var(--score) * 1%), #e6edf8 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ai-score-ring::before {
  content: "";
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
}

.ai-score-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ai-score-inner strong {
  display: block;
  color: #112a57;
  font-size: 38px;
  font-weight: 800;
}

.ai-score-inner span {
  display: block;
  color: #334a6b;
  font-size: 13px;
  margin-top: 4px;
  font-weight: 600;
}

.ai-score-text h4 {
  margin: 0 0 10px;
  color: #102447;
  font-size: 20px;
  font-weight: 800;
}

.ai-score-text p {
  margin: 0 0 18px;
  color: #53657c;
  line-height: 1.65;
  font-size: 15px;
}

.ai-score-text button,
.ai-review-card button,
.ai-bottom-link {
  height: 42px;
  padding: 0 22px;
  border: 1px solid #d4e6f7;
  background: #ffffff;
  color: #1464c8;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 100, 200, 0.06);
}

/* AI Review */
.ai-review-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  align-items: center;
}

.ai-mini-bot {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: #edf6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}

.ai-review-card p {
  margin: 14px 0 18px;
  color: #53657c;
  line-height: 1.65;
  font-size: 15px;
}

/* Weak points */
.ai-weak-card {
  min-height: 330px;
}

.ai-weak-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ai-weak-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: flex-start;
}

.ai-weak-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff2f4;
  color: #ff4d63;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.ai-weak-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ai-weak-top h4 {
  margin: 0;
  color: #102447;
  font-size: 15px;
  font-weight: 800;
}

.ai-weak-main p {
  margin: 7px 0 8px;
  color: #718197;
  font-size: 13px;
}

.ai-weak-main p b {
  color: #ff4b62;
}

.weak-badge {
  min-width: 52px;
  height: 28px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.weak-badge.red {
  background: #fff1f4;
  color: #ff4b62;
}

.weak-badge.orange {
  background: #fff5e6;
  color: #f19a24;
}

.ai-progress-line {
  width: 100%;
  height: 6px;
  background: #edf2f7;
  border-radius: 20px;
  overflow: hidden;
}

.ai-progress-line span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff4b62, #ff8c9b);
  border-radius: inherit;
}

.ai-bottom-link {
  display: block;
  margin: 24px auto 0;
}

/* Plan */
.ai-plan-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-plan-timeline {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 76px 1fr 60px;
  row-gap: 18px;
  align-items: center;
  position: relative;
}

.ai-plan-day {
  width: 58px;
  height: 48px;
  background: #f1f6fc;
  border-radius: 12px;
  color: #667894;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.ai-plan-day::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #22c7bd;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1px #22c7bd;
  border-radius: 50%;
  position: absolute;
  right: -18px;
  top: 19px;
}

.ai-plan-day.active {
  background: #eaf4ff;
  color: #0d74ff;
}

.ai-plan-day.active::after {
  background: #0d74ff;
  box-shadow: 0 0 0 1px #0d74ff;
}

.ai-plan-content {
  padding-left: 18px;
}

.ai-plan-content h4 {
  margin: 0 0 5px;
  color: #102447;
  font-size: 15px;
  font-weight: 800;
}

.ai-plan-content p {
  margin: 0;
  color: #19a79d;
  font-size: 13px;
  font-weight: 700;
}

.ai-plan-time {
  color: #8795a8;
  font-size: 13px;
  text-align: right;
}

/* Chart */
.ai-chart-card {
  min-height: 330px;
}

.ai-chart-legend {
  display: flex;
  gap: 24px;
  margin: 18px 0 8px;
  color: #50637f;
  font-size: 13px;
  font-weight: 600;
}

.ai-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blue-line,
.cyan-line {
  width: 34px;
  height: 3px;
  border-radius: 10px;
  display: inline-block;
}

.blue-line {
  background: #0d74ff;
}

.cyan-line {
  background: #44d1d0;
}

.ai-chart-box {
  position: relative;
  height: 240px;
  margin-top: 8px;
  padding-left: 44px;
}

.ai-chart-box svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ai-chart-box line {
  stroke: #edf2f8;
  stroke-width: 2;
}

.result-line {
  fill: none;
  stroke: #0d74ff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.avg-line {
  fill: none;
  stroke: #46d2d0;
  stroke-width: 4;
  stroke-dasharray: 7 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-chart-percent {
  position: absolute;
  left: 0;
  color: #7f8fa5;
  font-size: 12px;
  font-weight: 700;
}

.ai-chart-top {
  top: 20px;
}

.ai-chart-mid {
  top: 80px;
}

.ai-chart-low {
  top: 145px;
}

.ai-chart-zero {
  bottom: 7px;
}

.ai-chart-tooltip {
  position: absolute;
  right: 12px;
  top: 44px;
  background: #ffffff;
  color: #0d74ff;
  border: 2px solid #0d74ff;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(13, 116, 255, 0.12);
}

.ai-chart-labels {
  display: flex;
  justify-content: space-between;
  padding-left: 44px;
  color: #7f8fa5;
  font-size: 12px;
  font-weight: 700;
}

/* Mentor */
.ai-mentor-card {
  min-height: 330px;
}

.ai-mentor-content {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: center;
}

.ai-big-bot {
  width: 145px;
  height: 145px;
  border-radius: 30px;
  background: radial-gradient(circle at 40% 30%, #ffffff, #e7f4ff 60%, #c9e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 82px;
  box-shadow: 0 18px 35px rgba(13, 116, 255, 0.13);
}

.ai-mentor-text p {
  color: #53657c;
  line-height: 1.6;
  margin: 0 0 16px;
  font-size: 15px;
}

.ai-question {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d7e8f7;
  background: #ffffff;
  color: #2c496d;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.ai-chat-btn {
  margin-top: 6px;
  min-height: 46px;
  padding: 0 22px;
  border: none;
  background: linear-gradient(135deg, #0d74ff, #0066e8);
  color: #ffffff;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(13, 116, 255, 0.24);
}

/* Responsive */
@media (max-width: 1150px) {
  .ai-home-dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .ai-home-card {
    padding: 18px;
  }

  .ai-score-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .ai-review-card {
    grid-template-columns: 1fr;
  }

  .ai-mentor-content {
    grid-template-columns: 1fr;
  }

  .ai-plan-timeline {
    grid-template-columns: 64px 1fr;
  }

  .ai-plan-time {
    display: none;
  }

  .ai-chart-labels {
    font-size: 10px;
  }
}

/* Sidebar menyu aralıqlarını azalt */
.side-menu {
  gap: 0px !important;
}

/* Menyu düymələrinin əlavə boşluqlarını sil */
.side-menu .menu-item {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Ana səhifə ilə Kitabxana arasındakı məsafəni xüsusi azalt */
#homeMenuBtn {
  margin-bottom: 0px !important;
}

/* Sidebar menyu elementləri aralı-aralı olmasın */
.dashboard-layout {
  align-items: flex-start !important;
}

.sidebar {
  height: 100vh !important;
  min-height: 100vh !important;
  position: sticky !important;
  top: 0 !important;
  align-self: flex-start !important;
  overflow-y: auto !important;
}

.side-menu {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  flex: 0 0 auto !important;
}

.side-menu .menu-item {
  margin: 0 !important;
  min-height: 64px !important;
  height: 64px !important;
  padding: 0 22px !important;
}

.side-user {
  margin-top: auto !important;
}

/* Cərrahiyyə paneli yalnız active olanda görünsün */
#surgeryPanel {
  display: none !important;
}

#surgeryPanel.active {
  display: block !important;
}

/* Case-lər açıq olanda Cərrahiyyə altda görünməsin */
#casesPanel.active ~ #surgeryPanel {
  display: none !important;
}

/* Koronar detail səhifəsi üçün əlavə düzəlişlər */

.surgery-main-area {
  width: 100%;
  min-width: 0;
}

#surgeryOverview {
  width: 100%;
}

#coronaryDiseasePage[hidden] {
  display: none !important;
}

.coronary-page {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 520px;
  gap: 24px;
  align-items: stretch;
  animation: coronaryFade 0.25s ease;
}

@keyframes coronaryFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.coronary-main-card,
.coronary-action-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dcecff;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 60, 110, 0.08);
}

.coronary-main-card {
  padding: 34px 38px;
  min-height: 760px;
}

.coronary-back {
  border: none;
  background: transparent;
  color: #506985;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 28px;
  padding: 0;
}

.coronary-back:hover {
  color: #137df5;
}

.coronary-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: center;
  margin-bottom: 30px;
}

.coronary-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.coronary-title-row h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  color: #071d3a;
  letter-spacing: -0.7px;
}

.bookmark-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid #d9e8f8;
  background: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.bookmark-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #7188a2;
  stroke-width: 2;
}

.bookmark-btn:hover {
  border-color: #137df5;
}

.bookmark-btn:hover svg {
  stroke: #137df5;
}

.coronary-desc {
  max-width: 520px;
  color: #415875;
  font-size: 16px;
  line-height: 1.75;
  margin: 22px 0 26px;
}

.coronary-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.coronary-stat {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 18px;
  border: 1px solid #e1edf9;
  border-radius: 16px;
  background: #ffffff;
}

.coronary-stat small {
  display: block;
  color: #7b8fa8;
  font-weight: 700;
  margin-bottom: 4px;
}

.coronary-stat strong {
  display: block;
  color: #0b2343;
  font-size: 15px;
}

.stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.stat-icon.green {
  color: #18c7a8;
  background: #e9fbf8;
}

.stat-icon.blue {
  color: #1677ff;
  background: #eaf4ff;
}

.coronary-heart-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.coronary-heart-img img {
  width: 260px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(15, 60, 110, 0.16));
}

.coronary-section {
  margin-top: 30px;
}

.coronary-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #0b2343;
  font-size: 21px;
}

.section-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  font-size: 15px;
}

.section-icon.red {
  background: #ff4f68;
}

.section-icon.purple {
  background: #845ef7;
}

.section-icon.cyan {
  background: #17c7bd;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip-list span {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2edf8;
  color: #173052;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chip-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.red-chips span::before {
  background: #ff5d73;
}

.purple-chips span::before {
  background: #845ef7;
}

.cyan-chips span::before {
  background: #18c7b9;
}

.coronary-note {
  margin-top: 34px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #eef7ff;
  border: 1px solid #d8ebff;
  color: #173052;
}

.coronary-note strong {
  display: block;
  color: #0b2343;
  font-size: 17px;
  margin-bottom: 8px;
}

.coronary-note p {
  margin: 0;
  color: #405875;
  line-height: 1.6;
  font-weight: 600;
}

.coronary-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.coronary-action-card {
  position: relative;
  min-height: 245px;
  padding: 34px 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: center;
}

.coronary-action-card:nth-child(1) {
  background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
}

.coronary-action-card:nth-child(2) {
  background: linear-gradient(135deg, #ffffff 0%, #f4fffd 100%);
}

.coronary-action-card:nth-child(3) {
  background: linear-gradient(135deg, #ffffff 0%, #fbf8ff 100%);
}

.action-number {
  position: absolute;
  left: 30px;
  top: 28px;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
}

.action-number.blue {
  background: #177cff;
}

.action-number.teal {
  background: #15c7b7;
}

.action-number.purple {
  background: #8659ff;
}

.action-content {
  padding-top: 42px;
}

.action-content h2 {
  margin: 0 0 14px;
  color: #071d3a;
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -0.4px;
}

.action-content p {
  margin: 0 0 22px;
  color: #405875;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

.action-content button {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  border: 1px solid #d6e8fb;
  background: #ffffff;
  color: #137df5;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(19, 125, 245, 0.12);
}

.action-content button:hover {
  background: #137df5;
  color: #ffffff;
}

.coronary-action-card img {
  width: 178px;
  height: 150px;
  object-fit: cover;
  border-radius: 20px;
  justify-self: end;
  box-shadow: 0 16px 28px rgba(15, 60, 110, 0.12);
}

@media (max-width: 1300px) {
  .coronary-page {
    grid-template-columns: 1fr;
  }

  .coronary-side {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .coronary-action-card {
    grid-template-columns: 1fr;
  }

  .coronary-action-card img {
    width: 100%;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .coronary-main-card {
    padding: 24px;
  }

  .coronary-hero {
    grid-template-columns: 1fr;
  }

  .coronary-side {
    grid-template-columns: 1fr;
  }

  .coronary-title-row h1 {
    font-size: 28px;
  }
}

/* ============================= */
/* ÖDƏNİŞ PANELİ */
/* ============================= */

.payment-panel {
  display: none;
  width: 100%;
  min-height: 100vh;
  padding: 28px 32px 24px;
  background:
    radial-gradient(circle at top left, rgba(28, 122, 255, 0.08), transparent 35%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.payment-panel.active {
  display: block;
}

.payment-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.payment-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.payment-back-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #18355c;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  border-radius: 12px;
}

.payment-back-btn:hover {
  background: #edf6ff;
}

.payment-page-head h2 {
  margin: 0 0 5px;
  color: #081d3a;
  font-size: 27px;
  font-weight: 800;
}

.payment-page-head p {
  margin: 0;
  color: #637a98;
  font-size: 14px;
  font-weight: 600;
}

.payment-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.payment-small-icon {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid #dbe9fa;
  background: #ffffff;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 60, 110, 0.06);
}

.payment-small-icon span {
  position: absolute;
  right: 8px;
  top: 5px;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #1677ff;
  color: white;
  font-size: 11px;
  display: grid;
  place-items: center;
}

.payment-user-pill {
  min-width: 66px;
  height: 46px;
  border: 1px solid #dbe9fa;
  background: #ffffff;
  color: #ffffff;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(15, 60, 110, 0.06);
}

.payment-user-pill {
  background: linear-gradient(135deg, #1392ff, #1fc8e8);
}

.payment-user-pill b {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.8);
}

.payment-intro {
  margin-bottom: 24px;
}

.payment-intro h3 {
  margin: 0 0 7px;
  color: #10294c;
  font-size: 21px;
  font-weight: 800;
}

.payment-intro p {
  margin: 0;
  color: #617894;
  font-size: 14px;
  font-weight: 600;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 28px;
  align-items: start;
}

.payment-left {
  min-width: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.pricing-plan-card {
  position: relative;
  padding: 28px;
  border: 1px solid #d8e8fb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(15, 60, 110, 0.06);
  cursor: pointer;
  transition: 0.22s ease;
}

.pricing-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(15, 60, 110, 0.1);
}

.pricing-plan-card.active {
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1), 0 20px 45px rgba(15, 60, 110, 0.1);
}

.pricing-plan-card.pro.active {
  border-color: #16c6a4;
  box-shadow: 0 0 0 3px rgba(22, 198, 164, 0.12), 0 20px 45px rgba(15, 60, 110, 0.1);
}

.popular-badge {
  position: absolute;
  right: 22px;
  top: -1px;
  background: #19c7a8;
  color: white;
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 0 0 12px 12px;
}

.plan-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 25px;
  margin-bottom: 18px;
}

.plan-icon.blue {
  background: #eaf4ff;
  color: #1677ff;
}

.plan-icon.green {
  background: #e8fbf6;
  color: #12b99d;
}

.plan-title-row h3 {
  margin: 0 0 7px;
  color: #10213e;
  font-size: 21px;
  font-weight: 800;
}

.plan-title-row p {
  margin: 0;
  color: #69809a;
  font-size: 13px;
  font-weight: 600;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 26px 0 20px;
}

.plan-price strong {
  color: #061a34;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
}

.plan-price span {
  color: #142b4d;
  font-size: 15px;
  font-weight: 800;
}

.plan-price small {
  color: #5c718e;
  font-size: 13px;
  font-weight: 700;
}

.plan-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 13px;
}

.plan-features li {
  color: #193251;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.plan-features li::before {
  content: "✓";
  color: #1677ff;
  font-weight: 900;
  margin-top: 1px;
}

.plan-features.green-list li::before {
  color: #18bea1;
}

.plan-select-btn {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #bad8fb;
  background: #f8fbff;
  color: #1863b8;
  font-weight: 800;
  cursor: pointer;
}

.plan-select-btn:hover {
  background: #edf6ff;
}

.plan-select-btn.filled,
.pricing-plan-card.active .plan-select-btn {
  background: #1677ff;
  color: #ffffff;
  border-color: #1677ff;
}

.pricing-plan-card.pro.active .plan-select-btn {
  background: #14c5a7;
  border-color: #14c5a7;
}

.plan-comparison {
  margin-bottom: 24px;
}

.plan-comparison h3 {
  margin: 0 0 14px;
  color: #10294c;
  font-size: 19px;
  font-weight: 800;
}

.compare-table-wrap {
  overflow: hidden;
  border: 1px solid #dce9f9;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 60, 110, 0.05);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th {
  background: #f4f8fe;
  color: #253f63;
  text-align: left;
  padding: 13px 16px;
  font-weight: 800;
  border-bottom: 1px solid #e1edf9;
}

.compare-table th:nth-child(2),
.compare-table th:nth-child(3),
.compare-table td:nth-child(2),
.compare-table td:nth-child(3) {
  text-align: center;
}

.compare-table td {
  color: #24405f;
  padding: 11px 16px;
  border-bottom: 1px solid #eef4fb;
  font-weight: 650;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td:nth-child(2),
.compare-table td:nth-child(3) {
  color: #17bd9f;
  font-weight: 900;
}

.secure-payment-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 14px;
  background: #f2f7ff;
  border: 1px solid #dcecff;
}

.secure-payment-box > div:first-child {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e7f2ff;
  font-size: 22px;
}

.secure-payment-box h4 {
  margin: 0 0 6px;
  color: #10294c;
  font-size: 16px;
  font-weight: 800;
}

.secure-payment-box p {
  margin: 0;
  color: #617894;
  font-size: 13px;
  font-weight: 600;
}

.payment-checkout-card {
  padding: 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #dce9f9;
  box-shadow: 0 18px 45px rgba(15, 60, 110, 0.08);
  position: sticky;
  top: 20px;
}

.payment-checkout-card h3 {
  margin: 0 0 22px;
  color: #10213e;
  font-size: 20px;
  font-weight: 800;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #dce9f9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 22px;
}

.payment-method {
  min-height: 78px;
  border: none;
  border-right: 1px solid #dce9f9;
  background: #ffffff;
  color: #203a5e;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 5px;
  font-size: 20px;
}

.payment-method:last-child {
  border-right: none;
}

.payment-method span {
  font-size: 12px;
}

.payment-method.active {
  background: #f0f7ff;
  color: #1677ff;
  box-shadow: inset 0 0 0 2px rgba(22, 119, 255, 0.22);
}

.payment-form-area label,
.payment-checkout-card label {
  display: block;
  margin: 16px 0 8px;
  color: #213b5d;
  font-size: 13px;
  font-weight: 800;
}

.payment-input-box {
  height: 48px;
  border: 1px solid #dfeaf7;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 13px;
  gap: 10px;
}

.payment-input-box input {
  width: 100%;
  border: none;
  outline: none;
  color: #10213e;
  font-size: 14px;
  font-weight: 650;
  background: transparent;
}

.payment-input-box input::placeholder {
  color: #a2aec0;
}

.payment-input-box span {
  color: #7187a3;
  font-weight: 800;
}

.payment-two-cols {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 14px;
}

.payment-info-box {
  padding: 18px;
  border-radius: 12px;
  background: #f5f9ff;
  border: 1px solid #dbe9fa;
  margin-bottom: 18px;
}

.payment-info-box.hidden {
  display: none;
}

.payment-info-box h4 {
  margin: 0 0 10px;
  color: #10213e;
  font-size: 15px;
  font-weight: 800;
}

.payment-info-box p {
  margin: 7px 0;
  color: #4d6481;
  font-size: 13px;
  font-weight: 650;
}

.order-summary {
  margin-top: 24px;
  padding: 20px;
  background: #f8fbff;
  border: 1px solid #edf4fd;
  border-radius: 14px;
}

.order-summary h4 {
  margin: 0 0 16px;
  color: #10213e;
  font-size: 16px;
  font-weight: 800;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #607791;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 0;
}

.summary-line {
  border-bottom: 1px solid #e6effa;
}

.summary-line b {
  color: #253f63;
}

.summary-total {
  padding-top: 14px;
  color: #10213e;
  font-size: 15px;
}

.summary-total strong {
  font-size: 22px;
  color: #10213e;
}

.complete-payment-btn {
  width: 100%;
  height: 52px;
  margin-top: 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #1677ff, #0b65e8);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(22, 119, 255, 0.22);
}

.complete-payment-btn:hover {
  transform: translateY(-1px);
}

.ssl-note {
  text-align: center;
  color: #627994;
  font-size: 13px;
  font-weight: 700;
  margin: 18px 0 26px;
}

.payment-support-list {
  display: grid;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid #edf3fb;
}

.payment-support-list > div {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.payment-support-list span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #f1f6ff;
  display: grid;
  place-items: center;
}

.payment-support-list h4 {
  margin: 0 0 5px;
  color: #18355c;
  font-size: 14px;
  font-weight: 800;
}

.payment-support-list p {
  margin: 0;
  color: #647b96;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

.payment-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #e7eff8;
  color: #617894;
  font-size: 13px;
  font-weight: 600;
}

.payment-footer div {
  display: flex;
  gap: 24px;
}

.payment-footer a {
  color: #526a88;
  text-decoration: none;
  font-weight: 700;
}

.payment-footer a:hover {
  color: #1677ff;
}

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

  .payment-checkout-card {
    position: static;
  }
}

@media (max-width: 850px) {
  .payment-panel {
    padding: 20px;
  }

  .payment-page-head,
  .payment-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .payment-method {
    border-right: none;
    border-bottom: 1px solid #dce9f9;
  }

  .payment-method:last-child {
    border-bottom: none;
  }

  .payment-two-cols {
    grid-template-columns: 1fr;
  }
}

/* Ödəniş paneli düzəlişi */

#paymentPanel {
  display: none;
}

#paymentPanel.active {
  display: block !important;
}

#homePanel.payment-open {
  display: block !important;
}

#homePanel.payment-open > .ai-home-card {
  display: none !important;
}

#homePanel.payment-open > #paymentPanel {
  display: block !important;
  width: 100%;
}


/* ============================= */
/* GLOBAL FONT FIX — AZƏRBAYCAN HƏRFLƏRİ */
/* ============================= */

html,
body,
button,
input,
textarea,
select,
a,
p,
span,
div,
h1,
h2,
h3,
h4,
h5,
h6,
label,
small,
strong,
b {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Mətnlərin daha aydın görünməsi */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Əgər bütün saytı bold etmək istəyirsənsə, bunu saxla */
body,
button,
input,
textarea,
select {
  font-weight: 700;
}

/* Başlıqlar daha güclü görünsün */
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: 800 !important;
}

/* Input placeholder-lar çox qalın görünməsin */
input::placeholder,
textarea::placeholder {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 500;
}
/* Sidebar yeni menyu düzəlişləri */

.menu-item {
  position: relative;
}

.menu-item-with-badge {
  padding-right: 70px;
}

.new-badge {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #18c7a8;
  color: #12a98f;
  background: #eafff9;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* Əgər menyuda məsafə çoxdursa bunu saxla */
.side-menu {
  gap: 8px;
}

/* Test və Qiymətləndirmə uzun olduğu üçün səliqəli görünsün */
.menu-item {
  line-height: 1.25;
}

* {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Bütün sayt üçün Arial şrifti */
* {
  font-family: Arial, Helvetica, sans-serif !important;
}


.surgery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.surgery-header h1 {
  font-size: 36px;
  color: #071b4d;
  margin: 0 0 10px;
  font-weight: 800;
}

.surgery-header p {
  margin: 0;
  color: #64748b;
  font-size: 16px;
}

.surgery-tabs {
  display: flex;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fbff;
}

.surgery-tabs button {
  border: none;
  padding: 16px 32px;
  background: transparent;
  color: #071b4d;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

.surgery-tabs button.active {
  background: #0875f5;
  color: #fff;
  box-shadow: 0 8px 18px rgba(8, 117, 245, 0.25);
}

.anatomy-box {
  position: relative;
  min-height: 520px;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  background: #f4faff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-anatomy-img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  display: block;
}

.anatomy-list {
  position: absolute;
  left: 28px;
  top: 42px;
  width: 160px;
  z-index: 3;
  border-radius: 12px;
  overflow: hidden;
}

.anatomy-list button {
  width: 100%;
  min-height: 62px;
  border: 1px solid #dbeafe;
  background: rgba(255, 255, 255, 0.86);
  color: #34445f;
  text-align: left;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.anatomy-list button.active {
  color: #0875f5;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.95);
}

.anatomy-list button span {
  float: right;
}

.side-organ-icons {
  position: absolute;
  right: 22px;
  top: 70px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-organ-icons button {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  background: rgba(255, 255, 255, 0.9);
  color: #0875f5;
  font-size: 26px;
  cursor: pointer;
}

.disease-section-title {
  margin: 36px 0 22px;
  font-size: 26px;
  color: #071b4d;
  font-weight: 800;
}

.disease-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.disease-card {
  min-height: 190px;
  border: 1px solid #e0ecff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 18px;
  align-items: center;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.disease-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.disease-card h3 {
  margin: 0 0 10px;
  color: #071b4d;
  font-size: 17px;
  font-weight: 800;
}

.disease-card p {
  margin: 0 0 14px;
  color: #334155;
  font-size: 13px;
  line-height: 1.6;
}

.disease-card button {
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: #0875f5;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.more-disease-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.more-disease-btn {
  min-width: 250px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: #0875f5;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}


.cholecystitis-page {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.chole-main-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbeafe;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.chole-back-btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 28px;
}

.chole-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: center;
}

.chole-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.chole-title-row h1 {
  margin: 0;
  color: #071b4d;
  font-size: 34px;
  font-weight: 800;
}

.chole-bookmark {
  width: 34px;
  height: 34px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: white;
  color: #64748b;
  cursor: pointer;
  font-size: 18px;
}

.chole-hero-text p {
  margin: 22px 0 0;
  max-width: 420px;
  color: #475569;
  line-height: 1.8;
  font-size: 15px;
}

.chole-hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chole-hero-img img {
  width: 250px;
  height: 250px;
  object-fit: contain;
}

.chole-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 190px));
  gap: 18px;
  margin: 30px 0;
}

.chole-stat-box {
  min-height: 86px;
  border: 1px solid #e0ecff;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.chole-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
}

.chole-stat-icon.green {
  color: #14b8a6;
}

.chole-stat-icon.blue {
  color: #1683f7;
}

.chole-stat-box small {
  display: block;
  color: #64748b;
  font-size: 13px;
  margin-bottom: 4px;
}

.chole-stat-box strong {
  display: block;
  color: #071b4d;
  font-size: 14px;
  line-height: 1.4;
}

.chole-section {
  margin-top: 34px;
}

.chole-section h3 {
  margin: 0 0 18px;
  color: #071b4d;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chole-section-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 15px;
}

.chole-section-icon.red {
  background: #ef4444;
}

.chole-section-icon.purple {
  background: #8b5cf6;
}

.chole-section-icon.cyan {
  background: #14b8a6;
}

.chole-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chole-chip-list span {
  border: 1px solid #e5efff;
  background: #ffffff;
  color: #23304a;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.chole-chip-list span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: middle;
}

.chole-chip-list.red span::before {
  background: #ef4444;
}

.chole-chip-list.purple span::before {
  background: #8b5cf6;
}

.chole-chip-list.cyan span::before {
  background: #14b8a6;
}

.chole-note {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 20px;
}

.chole-note span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1683f7;
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.chole-note strong {
  color: #071b4d;
  font-size: 16px;
}

.chole-note p {
  margin: 8px 0 0;
  color: #475569;
  line-height: 1.7;
  font-size: 14px;
}

.chole-side {
  display: grid;
  gap: 22px;
}

.chole-action-card {
  position: relative;
  min-height: 245px;
  border-radius: 24px;
  border: 1px solid #e0ecff;
  background: rgba(255, 255, 255, 0.92);
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: center;
}

.chole-number {
  position: absolute;
  left: 26px;
  top: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}

.chole-number.blue {
  background: #1683f7;
}

.chole-number.teal {
  background: #14b8a6;
}

.chole-number.purple {
  background: #7c3aed;
}

.chole-action-content {
  padding-top: 38px;
}

.chole-action-content h2 {
  margin: 0 0 14px;
  color: #071b4d;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
}

.chole-action-content p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.chole-action-content button {
  margin-top: 26px;
  width: 44px;
  height: 44px;
  border: 1px solid #dbeafe;
  border-radius: 50%;
  background: #ffffff;
  color: #1683f7;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.chole-action-card img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 18px;
}

@media (max-width: 1100px) {
  .cholecystitis-page {
    grid-template-columns: 1fr;
  }

  .chole-hero {
    grid-template-columns: 1fr;
  }

  .chole-stats {
    grid-template-columns: 1fr;
  }
}




.chole-operation-page {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 24px;
  align-items: start;
}

.operation-main-card,
.operation-side-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbeafe;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.operation-main-card {
  padding: 28px;
}

.operation-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 18px;
}

.operation-breadcrumb button {
  border: none;
  background: transparent;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
}

.operation-main-card h1 {
  margin: 0 0 8px;
  color: #071b4d;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
}

.operation-subtitle {
  margin: 0 0 24px;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
}

.operation-video-box {
  position: relative;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background: #020617;
}

.operation-video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.operation-video-top {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 16px;
  display: flex;
  justify-content: space-between;
  color: #ffffff;
}

.operation-video-top div:first-child {
  background: rgba(0, 0, 0, 0.55);
  padding: 12px 16px;
  border-radius: 10px;
}

.operation-video-top span {
  display: block;
  font-size: 13px;
  opacity: 0.85;
}

.operation-video-top strong {
  display: block;
  font-size: 14px;
  margin-top: 4px;
}

.operation-view-count {
  background: rgba(0, 0, 0, 0.55);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.operation-video-bottom {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.operation-video-bottom button {
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
}

.operation-video-bottom span {
  font-size: 13px;
}

.operation-progress {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.operation-progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: #1683f7;
}

.operation-steps-section {
  margin-top: 28px;
}

.operation-steps-section h3 {
  margin: 0 0 18px;
  color: #071b4d;
  font-size: 18px;
  font-weight: 800;
}

.operation-steps {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.operation-step {
  text-align: center;
  position: relative;
}

.operation-step span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dbeafe;
  color: #071b4d;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  font-weight: 800;
}

.operation-step.active span {
  background: #1683f7;
  color: #ffffff;
  border-color: #1683f7;
}

.operation-step p {
  margin: 0;
  color: #0f172a;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

.operation-tabs {
  display: flex;
  gap: 34px;
  border-bottom: 1px solid #e2e8f0;
  margin-top: 28px;
}

.operation-tabs button {
  border: none;
  background: transparent;
  color: #334155;
  padding: 14px 0;
  font-weight: 700;
  cursor: pointer;
}

.operation-tabs button.active {
  color: #0f766e;
  border-bottom: 2px solid #0f766e;
}


.operation-tools {
    display: grid;
    grid-template-columns: 40px repeat(5, 130px) 40px;
    justify-content: start;
    align-items: stretch;
    gap: 0;
    margin-top: 18px;
}

.operation-tool-card {
    width: 130px;
    text-align: center;
    padding: 0 15px;
    border-right: 1px solid #e5e7eb;
}

.operation-tool-card:last-of-type {
    border-right: none;
}

.tool-arrow {
  align-self: center;
  width: 34px;
  height: 34px;
  border: 1px solid #dbeafe;
  border-radius: 50%;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
  font-size: 20px;
}
.operation-tool-card{
    width: 120px;
    min-width: 120px;
    flex: 0 0 120px;
    text-align: center;
    padding: 10px;
    border-right: 1px solid #e5e7eb;
}

.operation-tool-card:last-of-type{
    border-right:none;
}

.tool-arrow{
    flex:0 0 36px;
}


.operation-tool-card img {
  width: 64px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 8px;
}

.operation-tool-card strong {
  display: block;
  color: #071b4d;
  font-size: 13px;
  margin-bottom: 4px;
}

.operation-tool-card small {
  color: #64748b;
  font-size: 11px;
}

.operation-quiz-box {
  margin-top: 24px;
  background: #eef4ff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 18px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
}

.quiz-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1683f7;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.operation-quiz-box strong {
  color: #071b4d;
  font-size: 15px;
}

.operation-quiz-box p {
  margin: 4px 0 0;
  color: #475569;
  font-size: 13px;
}

.operation-quiz-box button,
.operation-next-btn,
.operation-summary-actions button:last-child {
  border: none;
  border-radius: 10px;
  background: #1683f7;
  color: #ffffff;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

.operation-bottom-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}

.operation-back-btn {
  border: none;
  background: #f1f5f9;
  color: #475569;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

.operation-side-card {
  padding: 14px;
}

.operation-side-header {
  background: #dff5ef;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
}

.operation-side-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #14b8a6;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.operation-side-header h2 {
  margin: 0;
  color: #071b4d;
  font-size: 20px;
}

.operation-side-header p {
  margin: 4px 0 0;
  color: #475569;
  font-size: 13px;
}

.operation-side-menu,
.operation-stage-box,
.operation-summary-box {
  margin-top: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.operation-side-menu button {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  text-align: left;
  padding: 14px 16px;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
}

.operation-side-menu button.active {
  background: #dff5ef;
  color: #0f766e;
}

.operation-stage-box {
  padding: 16px;
  background: #faf7f2;
}

.operation-stage-box h3 {
  margin: 0 0 4px;
  color: #071b4d;
}

.operation-stage-box small {
  color: #64748b;
}

.operation-stage-box ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.operation-stage-box li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 10px;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

.operation-stage-box li.active {
  background: #dff5ef;
  color: #0f766e;
}

.operation-stage-box li span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  color: #0f172a;
  font-weight: 800;
  font-size: 12px;
}

.operation-summary-box {
  padding: 16px;
  background: #dff5ef;
}

.operation-summary-box h3 {
  margin: 0 0 12px;
  color: #071b4d;
}

.operation-summary-box p {
  color: #0f172a;
  line-height: 1.5;
  font-size: 14px;
}

.operation-summary-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.operation-summary-actions button:first-child {
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: #64748b;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .chole-operation-page {
    grid-template-columns: 1fr;
  }

  .operation-tools {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-arrow {
    display: none;
  }
}

@media (max-width: 800px) {
  .operation-video-box {
    height: 240px;
  }

  .operation-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .operation-quiz-box {
    grid-template-columns: 1fr;
  }
}

.operation-video-box video,
.operation-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  border-radius: 16px;
}


/* Addım-addım prosedur video altında, tabs üstündə qalsın */
.operation-main-card {
  display: block !important;
}

.operation-video-box {
  width: 100% !important;
  display: block !important;
}

.operation-video-box video,
.operation-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  background: #000 !important;
  border-radius: 16px !important;
}

.operation-steps-section {
  width: 100% !important;
  display: block !important;
  margin-top: 28px !important;
  margin-bottom: 22px !important;
  grid-column: 1 / -1 !important;
}

.operation-steps-section h3 {
  margin: 0 0 18px !important;
  color: #071b4d !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

.operation-steps {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: start !important;
}

.operation-step {
  text-align: center !important;
}

.operation-step span {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid #dbeafe !important;
  color: #071b4d !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 auto 8px !important;
  font-weight: 800 !important;
}

.operation-step.active span {
  background: #1683f7 !important;
  border-color: #1683f7 !important;
  color: #ffffff !important;
}

.operation-step p {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.operation-tabs {
  margin-top: 8px !important;
  width: 100% !important;
  display: flex !important;
  gap: 34px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.operation-tabs button {
  border: none !important;
  background: transparent !important;
  color: #334155 !important;
  padding: 14px 0 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.operation-tabs button.active {
  color: #0f766e !important;
  border-bottom: 2px solid #0f766e !important;
}


/* ============================= */
/* SADƏ VIDEO QUIZ - XOLE ƏMƏLİYYAT */
/* ============================= */

.chole-simple-quiz-panel[hidden] {
  display: none !important;
}

.chole-simple-quiz-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #dbeafe;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.chole-simple-quiz-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eef4ff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 18px;
}

.chole-simple-quiz-note span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1683f7;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
}

.chole-simple-quiz-note strong {
  display: block;
  color: #071b4d;
  font-size: 15px;
  margin-bottom: 4px;
}

.chole-simple-quiz-note p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.chole-simple-quiz-panel h3 {
  margin: 0 0 14px;
  color: #071b4d;
  font-size: 18px;
  font-weight: 900;
}

.chole-simple-answer-list {
  display: grid;
  gap: 10px;
}

.chole-simple-answer {
  width: 100%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.chole-simple-answer:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.chole-simple-answer.selected {
  background: #ecfeff;
  border-color: #14b8a6;
}

.chole-simple-answer.correct {
  background: #dcfce7 !important;
  border-color: #22c55e !important;
  color: #166534 !important;
}

.chole-simple-answer.wrong {
  background: #fee2e2 !important;
  border-color: #ef4444 !important;
  color: #991b1b !important;
}

.chole-simple-answer.locked {
  pointer-events: none;
}

.chole-simple-feedback {
  display: none;
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
}

.chole-simple-feedback.show.correct {
  display: block;
  background: #dcfce7;
  color: #166534;
}

.chole-simple-feedback.show.wrong {
  display: block;
  background: #fee2e2;
  color: #991b1b;
}

.chole-simple-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.chole-simple-confirm,
.chole-simple-continue {
  border: none;
  border-radius: 12px;
  background: #1683f7;
  color: #ffffff;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.chole-simple-confirm:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.chole-simple-continue {
  background: #14b8a6;
}

@media (max-width: 700px) {
  .chole-simple-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chole-simple-confirm,
  .chole-simple-continue {
    width: 100%;
  }
}







.operation-tools{
    display:none;
    grid-template-columns:40px repeat(5,1fr) 40px;
    gap:10px;
    align-items:center;
    margin-top:18px;
}

.operation-tools.show{
    display:grid;
}


/* ===== Operation page compact layout like target design ===== */

.chole-operation-page {
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 22px !important;
}

.operation-main-card {
  padding: 28px !important;
  border-radius: 24px !important;
}

.operation-video-box {
  height: 360px !important;
  border-radius: 18px !important;
}

.operation-steps-section {
  margin-top: 24px !important;
}

.operation-steps {
  display: grid !important;
  grid-template-columns: repeat(10, 1fr) !important;
  gap: 12px !important;
  position: relative;
}

.operation-step span {
  width: 32px !important;
  height: 32px !important;
  font-size: 13px !important;
}

.operation-step p {
  font-size: 10px !important;
  line-height: 1.35 !important;
}

.operation-tabs {
  margin-top: 26px !important;
  gap: 42px !important;
}

.operation-tools {
  display: none !important;
}

.operation-tools.show {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  margin-top: 14px !important;
  width: 100% !important;
  overflow-x: auto !important;
}

.operation-tool-card {
  width: 120px !important;
  min-width: 120px !important;
  border-right: 1px solid #e2e8f0 !important;
  padding: 10px 14px !important;
  text-align: center !important;
}

.operation-tool-card img {
  width: 58px !important;
  height: 44px !important;
  object-fit: contain !important;
}

.tool-arrow {
  min-width: 34px !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
}

.operation-quiz-box {
  margin-top: 24px !important;
  border-radius: 16px !important;
}

.operation-bottom-actions {
  margin-top: 20px !important;
}

.operation-tab-content {
  display: none;
  margin-top: 18px;
}

.operation-tab-content.active {
  display: grid;
}

.operation-info-boxes,
#operationProcedureContent {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.operation-info-box {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}

.operation-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1683f7;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.operation-info-box strong {
  display: block;
  color: #071b4d;
  font-size: 15px;
  margin-bottom: 8px;
}

.operation-info-box p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.operation-info-box em {
  color: #1683f7;
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}

.operation-tools {
  display: none !important;
}

.operation-tools.active {
  display: flex !important;
  align-items: center;
  gap: 0;
  margin-top: 18px;
}


/* FIX: Operation tabs content */

.operation-tools {
  display: none !important;
}

.operation-tools.active {
  display: grid !important;
  grid-template-columns: 40px repeat(5, 120px) 40px !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 0 !important;
  margin-top: 18px !important;
}

.operation-tool-card {
  width: 120px !important;
  min-width: 120px !important;
  padding: 10px 12px !important;
  text-align: center !important;
  border-right: 1px solid #e2e8f0 !important;
}

.operation-tool-card img {
  width: 60px !important;
  height: 46px !important;
  object-fit: contain !important;
  margin-bottom: 8px !important;
}

.tool-arrow {
  display: grid !important;
  place-items: center !important;
}

.operation-tools {
  display: none !important;
}

.operation-tools.active {
  display: grid !important;
  grid-template-columns: 40px repeat(5, 120px) 40px !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 0 !important;
  margin-top: 18px !important;
}

.concepts-page {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #f4f8ff;
  overflow-y: auto;
  padding: 18px;
}

.concepts-page[hidden] {
  display: none !important;
}

.concepts-card {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e1ecfb;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.concepts-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.concepts-breadcrumb button {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 24px;
  cursor: pointer;
}

.concepts-card h1 {
  color: #071b4d;
  font-size: 26px;
  margin-bottom: 10px;
}

.concepts-subtitle {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.concepts-tools {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  margin-bottom: 22px;
}

.concepts-search,
.concepts-tools select {
  height: 52px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #64748b;
}

.concepts-search input {
  border: 0;
  outline: 0;
  flex: 1;
  margin-left: 10px;
  font-weight: 700;
  color: #071b4d;
}

.concepts-tools select {
  width: 100%;
  font-weight: 700;
}

.concepts-list {
  display: grid;
  gap: 12px;
}

.concept-item {
  width: 100%;
  border: 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #e2e8f0;
  transition: 0.2s ease;
}

.concept-item:hover {
  background: #f2f7ff;
  transform: translateY(-2px);
}

.concept-item > span {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eff6ff;
  color: #1683f7;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.concept-item strong {
  display: block;
  color: #071b4d;
  font-size: 15px;
  margin-bottom: 6px;
}

.concept-item p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.concept-item em {
  font-style: normal;
  color: #1683f7;
  font-size: 24px;
}

.concepts-count {
  margin-top: 24px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 700px) {
  .concepts-tools {
    grid-template-columns: 1fr;
  }

  .concepts-card {
    padding: 20px;
  }
}

.concept-detail-page {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #f4f8ff;
  overflow-y: auto;
  padding: 18px;
}

.concept-detail-page[hidden] {
  display: none !important;
}

.concept-detail-card {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e1ecfb;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.concept-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.concept-detail-top > button,
.concept-detail-actions button {
  width: 42px;
  height: 42px;
  border: 1px solid #dbeafe;
  background: #ffffff;
  border-radius: 12px;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
}

.concept-detail-actions {
  display: flex;
  gap: 10px;
}

.concept-detail-card h1 {
  color: #071b4d;
  font-size: 24px;
  margin: 0 0 24px;
}

.concept-detail-card p {
  color: #102342;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 18px;
}

.concept-detail-card strong {
  color: #071b4d;
  font-weight: 900;
}

.concept-detail-card ol {
  padding-left: 22px;
  margin-top: 6px;
}

.concept-detail-card li {
  color: #071b4d;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 800;
}

.concept-detail-card li p {
  margin-top: 8px;
  margin-bottom: 0;
  font-weight: 600;
  color: #334155;
}

.concept-simple-note {
  margin-top: 32px;
  background: #edf4ff;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.concept-simple-note span {
  color: #1683f7;
  font-size: 22px;
  flex-shrink: 0;
}

.concept-simple-note p {
  margin: 0;
  color: #102342;
  font-size: 14px;
  line-height: 1.75;
}

.terms-page {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #f4f8ff;
  overflow-y: auto;
  padding: 18px;
}

.terms-page[hidden] {
  display: none !important;
}

.terms-layout {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}

.terms-card,
.terms-side-card,
.terms-note-card {
  background: #ffffff;
  border: 1px solid #e1ecfb;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.055);
}

.terms-card {
  padding: 28px;
}

.terms-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.terms-breadcrumb button {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 24px;
  cursor: pointer;
}

.terms-card h1 {
  margin: 0 0 12px;
  color: #071b4d;
  font-size: 28px;
}

.terms-subtitle {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.terms-tools {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  margin-bottom: 22px;
}

.terms-search,
.terms-tools select {
  height: 52px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #64748b;
}

.terms-search input {
  border: 0;
  outline: 0;
  flex: 1;
  margin-left: 10px;
  font-weight: 700;
  color: #071b4d;
}

.terms-tools select {
  width: 100%;
  font-weight: 700;
}

.terms-list {
  display: grid;
  gap: 10px;
}

.term-item {
  width: 100%;
  border: 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #e2e8f0;
  transition: 0.2s ease;
}

.term-item:hover {
  background: #f2f7ff;
  transform: translateY(-2px);
}

.term-item > span {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eff6ff;
  color: #1683f7;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
}

.term-item strong {
  display: block;
  color: #071b4d;
  font-size: 14px;
  margin-bottom: 6px;
}

.term-item p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.term-item em {
  font-style: normal;
  color: #1683f7;
  font-size: 22px;
}

.terms-footer {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #475569;
  font-weight: 700;
  font-size: 13px;
}

.terms-footer button {
  width: 36px;
  height: 36px;
  border: 1px solid #dbeafe;
  background: #ffffff;
  border-radius: 10px;
  color: #64748b;
  cursor: pointer;
  font-weight: 900;
}

.terms-footer button.active {
  background: #1683f7;
  color: #ffffff;
}

.terms-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.terms-side-card,
.terms-note-card {
  padding: 24px;
}

.terms-side-card h3,
.terms-note-card h3 {
  margin: 0 0 18px;
  color: #071b4d;
  font-size: 18px;
}

.terms-side-card button {
  width: 100%;
  height: 52px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #334155;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 8px;
}

.terms-side-card button.active,
.terms-side-card button:hover {
  background: #eaf3ff;
  color: #1683f7;
}

.popular-term {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.popular-term strong {
  color: #071b4d;
  font-size: 14px;
}

.popular-term span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.terms-note-card {
  background: linear-gradient(135deg, #ffffff, #f2f7ff);
}

.terms-note-card > span {
  color: #1683f7;
  font-size: 24px;
}

.terms-note-card p {
  color: #475569;
  line-height: 1.7;
  font-size: 13px;
}

.terms-note-card button {
  margin-top: 16px;
  border: 0;
  background: transparent;
  color: #1683f7;
  font-weight: 900;
  cursor: pointer;
}

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

  .terms-tools {
    grid-template-columns: 1fr;
  }
}


.operation-quiz-page {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #f4f8ff;
  overflow-y: auto;
  padding: 22px;
}

.operation-quiz-page[hidden] {
  display: none !important;
}

.operation-quiz-layout {
  max-width: 1180px;
  margin: 0 auto;
}

.operation-quiz-main {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #e1ecfb;
}

.operation-quiz-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #64748b;
  font-weight: 800;
  margin-bottom: 18px;
}

.operation-quiz-breadcrumb button {
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.operation-quiz-main h1 {
  color: #071b4d;
  font-size: 28px;
  margin-bottom: 10px;
}

.operation-quiz-main > p {
  color: #334155;
  font-weight: 700;
  margin-bottom: 22px;
}

.quiz-video-box {
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  position: relative;
  margin-bottom: 28px;
}

.quiz-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiz-video-message {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.78);
  color: white;
  padding: 26px 34px;
  border-radius: 16px;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 20px;
}

.quiz-video-message span {
  font-size: 42px;
  color: #1683f7;
}

.operation-question-card,
.operation-success-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  background: #fff;
}

.operation-question-card h3 {
  color: #071b4d;
  margin-bottom: 16px;
}

.operation-question-card p,
.operation-question-card h4 {
  color: #071b4d;
  line-height: 1.7;
  margin-bottom: 16px;
}

.operation-answer-list {
  display: grid;
  gap: 10px;
}

.operation-answer-list button {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  color: #071b4d;
  font-weight: 800;
  cursor: pointer;
}

.operation-answer-list span {
  width: 28px;
  height: 28px;
  border: 2px solid #60a5fa;
  color: #1683f7;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.operation-answer-list button.correct {
  background: #ecfdf5;
  border-color: #14b8a6;
}

.operation-answer-list button.wrong {
  background: #fff1f2;
  border-color: #ef4444;
}

.operation-success-card {
  border-color: #14b8a6;
}

.success-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  padding: 30px 0;
}

.success-head span {
  width: 72px;
  height: 72px;
  border: 4px solid #0f9f6e;
  color: #0f9f6e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 42px;
}

.success-head h2 {
  color: #087a55;
  font-size: 32px;
}

.success-head p {
  font-size: 20px;
  color: #071b4d;
}

.operation-success-card h3 {
  margin: 26px 0 16px;
  color: #071b4d;
}

.success-option {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 58px 1fr 24px;
  align-items: center;
  gap: 18px;
  text-align: left;
  cursor: pointer;
}

.success-option.green {
  background: #e9fbf5;
}

.success-option.blue {
  background: #eef6ff;
}

.success-option > span {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #1683f7;
  color: white;
  font-size: 24px;
}

.success-option.green > span {
  background: #14b8a6;
}

.success-option strong {
  color: #071b4d;
  font-size: 17px;
}

.success-option p {
  color: #334155;
  margin: 5px 0 0;
}

.success-option em {
  color: #1683f7;
  font-style: normal;
  font-size: 30px;
}

@media (max-width: 700px) {
  .quiz-video-box {
    height: 240px;
  }

  .quiz-video-message {
    width: 82%;
    font-size: 16px;
  }

  .success-head {
    flex-direction: column;
  }
}

.quiz-video-message.hide {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(.95);
    transition: all .5s ease;
}

.quiz-video-message.hide{
    opacity:0;
    visibility:hidden;
    transform:translate(-50%,-50%) scale(.95);
    transition:.5s;
}