:root {
  --navy-950: #070d1d;
  --navy-900: #0b1328;
  --navy-800: #13213d;
  --navy-700: #213454;
  --blue-500: #3478ed;
  --blue-400: #5a97ff;
  --blue-100: #eaf2ff;
  --ink: #182132;
  --muted: #758194;
  --line: #e3e8ef;
  --surface: #ffffff;
  --page: #f4f6f9;
  --success: #21a45a;
  --danger: #e75666;
  --shadow: 0 18px 48px rgba(15, 31, 55, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Cairo", Tahoma, Arial, sans-serif;
}

button, input, select { font: inherit; }
button { cursor: pointer; }
a { -webkit-tap-highlight-color: transparent; }

.container { width: min(92%, 1420px); margin: 0 auto; }

/* Main server navigation */
.server-header {
  position: relative;
  z-index: 30;
  background: var(--navy-950);
  border-top: 2px solid #244f94;
  border-bottom: 1px solid rgba(150, 182, 234, 0.16);
  box-shadow: 0 8px 20px rgba(3, 9, 25, 0.13);
  font-family: "Inter", Arial, sans-serif;
}

.server-inner {
  width: min(96%, 1740px);
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.server-brand {
  width: 122px;
  flex: 0 0 122px;
  align-self: center;
  color: #fff;
  text-decoration: none;
  line-height: 0.8;
}

.server-brand span {
  display: inline-block;
  font-size: 39px;
  font-weight: 800;
  letter-spacing: -3.8px;
  text-shadow: 0 0 20px rgba(92, 151, 255, 0.28);
  animation: logo-float 4.5s ease-in-out 1s infinite;
}

.server-brand small {
  display: block;
  margin-top: 8px;
  color: var(--blue-400);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.9px;
  white-space: nowrap;
}

.server-links { display: flex; align-items: stretch; }

.header-link,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: auto;
  border: 0;
  border-left: 1px solid rgba(255,255,255,0.045);
  background: transparent;
  color: #f1f5ff;
  padding: 0 19px;
  font-family: "Cairo", "Inter", Tahoma, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background .22s ease, color .22s ease;
}

.nav-dropdown { position: relative; display: flex; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-arrow { display: inline-block; margin-left: 8px; color: #90a6c9; font-size: 18px; line-height: 1; }

.header-link:hover,
.header-link.is-active,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle {
  background: #1d3f78;
  color: #fff;
}

.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow,
.nav-dropdown.is-open .nav-arrow { color: #fff; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 35;
  width: 230px;
  overflow: hidden;
  border: 1px solid rgba(128, 156, 203, .14);
  border-top: 2px solid var(--blue-500);
  border-radius: 0 0 16px 16px;
  background: #16233f;
  box-shadow: 0 18px 32px rgba(2, 8, 21, .38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-menu a {
  display: block;
  padding: 15px 21px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  color: #d7e0f0;
  font-family: "Cairo", "Inter", Tahoma, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: padding .18s ease, background .18s ease, color .18s ease;
}
.dropdown-menu a:last-child { border: 0; }
.dropdown-menu a:hover { padding-left: 28px; background: #233658; color: #fff; }
.server-links-compact .header-link,
.server-links-compact .nav-dropdown-toggle { min-width: 154px; }
.order-history-menu { width: 255px; }
.order-history-menu a { padding-top: 17px; padding-bottom: 17px; font-size: 15px; }
.service-type-menu { width: 250px; }
.service-type-menu a { padding-top: 16px; padding-bottom: 16px; font-family: Inter, Arial, sans-serif; font-size: 16px; font-weight: 700; }

.server-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-register, .nav-login { border-radius: 6px; padding: 11px 16px; font-family: "Inter", Arial, sans-serif; font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.nav-register { border: 1px solid rgba(172, 195, 231, .38); background: transparent; color: #eaf1fc; }
.nav-login { border: 1px solid transparent; background: var(--blue-500); color: #fff; }
.nav-register:hover, .nav-login:hover { transform: translateY(-2px); }
.nav-register:hover { background: rgba(255,255,255,.08); }
.nav-login:hover { background: #4b8af3; box-shadow: 0 9px 20px rgba(52, 120, 237, .28); }

.account-menu { position: relative; display: flex; align-items: center; align-self: stretch; margin-left: auto; }
.server-account { display: flex; align-items: center; align-self: center; gap: 9px; border: 0; background: transparent; color: #fff; padding: 9px 10px; text-align: left; }
.server-account:hover, .account-menu.is-open .server-account { background: rgba(255,255,255,.06); }
.account-summary { min-width: 115px; }
.account-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(118, 163, 242, .55); border-radius: 6px; background: linear-gradient(145deg, #2f71db, #183a77); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: -1px; }
.server-account strong, .server-account small { display: block; }
.server-account strong { font-size: 12px; }
.server-account small { margin-top: 4px; font-family: Inter, Arial, sans-serif; font-size: 12px; font-weight: 800; transition: color .35s ease; }
.server-account.balance-level-empty small { color: #ff7d8d; }
.server-account.balance-level-low small { color: #ffbd6d; }
.server-account.balance-level-growing small { color: #ffd66a; }
.server-account.balance-level-strong small { color: #69e0a2; }
.account-menu-arrow { margin-left: 8px; color: #a8b8d2; font-family: Inter, Arial, sans-serif; font-size: 21px; line-height: 1; }
.account-dropdown { position: absolute; top: calc(100% + 1px); right: 0; z-index: 42; width: 292px; overflow: hidden; border: 1px solid rgba(122,157,210,.2); border-top: 2px solid #4d8df0; border-radius: 0 0 13px 13px; background: #14213b; box-shadow: 0 20px 36px rgba(2,8,21,.42); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s ease, visibility .18s ease, transform .18s ease; }
.account-menu.is-open .account-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.account-dropdown-head { display: flex; align-items: center; gap: 11px; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(130deg, #152b50, #1b3e72); padding: 17px 18px; }
.account-dropdown-head .account-mark { width: 35px; height: 35px; font-size: 12px; }
.account-dropdown-head strong, .account-dropdown-head small { display: block; }
.account-dropdown-head strong { color: #fff; font-size: 12px; }
.account-dropdown-head small { margin-top: 3px; color: #b3c8e6; font-family: Inter, Arial, sans-serif; font-size: 9px; direction: ltr; }
.account-dropdown a { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.055); color: #dbe7f7; padding: 14px 17px; text-decoration: none; transition: background .18s ease; }
.account-dropdown a:hover { background: #21375b; }
.account-dropdown-icon { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(139,179,239,.28); border-radius: 7px; background: rgba(95,145,220,.13); color: #8ebaff; font-family: Inter, Arial, sans-serif; font-size: 12px; font-weight: 800; }
.account-dropdown a > span:nth-child(2) { flex: 1; }
.account-dropdown a strong, .account-dropdown a small { display: block; }
.account-dropdown a strong { color: #f3f7fe; font-size: 11px; }
.account-dropdown a small { margin-top: 3px; color: #9eafc5; font-size: 9px; }
.account-dropdown a > b { color: #8babd9; font-family: Inter, Arial, sans-serif; font-size: 15px; }
.account-dropdown form { margin: 0; }
.account-dropdown form button { display: flex; width: 100%; align-items: center; gap: 9px; border: 0; background: #101c32; color: #f1b6bf; padding: 13px 18px; font-family: "Cairo", Tahoma, sans-serif; font-size: 11px; font-weight: 800; text-align: right; }
.account-dropdown form button:hover { background: #2b263a; color: #ffced5; }
.account-dropdown form button span { font-family: Inter, Arial, sans-serif; font-size: 15px; }

/* Home */
.welcome {
  position: relative;
  isolation: isolate;
  min-height: 510px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 80% 13%, rgba(52, 120, 237, .28), transparent 28%), linear-gradient(112deg, #0d1118 8%, #172132 60%, #111827 100%);
  color: #fff;
}

.welcome::before {
  position: absolute;
  z-index: -1;
  top: -165px;
  left: -135px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 125, 240, .26), transparent 67%);
  content: "";
  animation: blue-glow 8s ease-in-out infinite;
}

.hero-grid { position: absolute; z-index: -1; right: 7%; bottom: -160px; width: 480px; height: 480px; border: 1px solid rgba(129, 168, 228, .15); border-radius: 50%; box-shadow: 0 0 0 50px rgba(129, 168, 228, .03), 0 0 0 100px rgba(129, 168, 228, .025), 0 0 0 150px rgba(129, 168, 228, .018); transform: rotate(-18deg); }

.hero-content { padding: 60px 0; text-align: right; }
.hero-label, .section-label { margin: 0; color: var(--blue-400); font-family: "Inter", Arial, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 3px; }
.welcome h1 { max-width: 900px; margin: 15px 0 12px; font-size: clamp(38px, 4.4vw, 67px); font-weight: 800; line-height: 1.28; letter-spacing: -.7px; animation: fade-up .7s ease .12s both; }
.welcome h1 span { color: #659cff; }
.hero-text { max-width: 665px; margin: 0; color: #c7d0dc; font-size: 17px; line-height: 2; animation: fade-up .7s ease .26s both; }
.hero-label { animation: fade-up .7s ease both; }
.hero-buttons { display: flex; justify-content: flex-start; gap: 12px; margin-top: 27px; animation: fade-up .7s ease .38s both; }
.blue-button, .white-button, .credit-button, .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 47px; border-radius: 6px; padding: 0 20px; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease; }
.blue-button { background: var(--blue-500); color: #fff; box-shadow: 0 12px 22px rgba(29, 87, 184, .24); }
.white-button { border: 1px solid rgba(190, 207, 230, .56); color: #fff; }
.blue-button:hover, .white-button:hover, .credit-button:hover, .outline-button:hover { transform: translateY(-3px); }
.blue-button:hover { background: #4c8bf3; box-shadow: 0 15px 25px rgba(29, 87, 184, .35); }
.white-button:hover { border-color: #74a9ff; background: rgba(255,255,255,.07); }

.highlights { border-bottom: 1px solid var(--line); background: #fff; }
.highlights .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.highlights article { position: relative; padding: 37px 34px; border-left: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.highlights article:first-child { border-left: 0; }
.highlights article::before { position: absolute; right: 34px; top: 43px; width: 3px; height: 42px; background: var(--blue-500); content: ""; }
.feature-number { display: block; margin-bottom: 14px; color: #9aabbe; font-family: Inter, Arial, sans-serif; font-size: 11px; font-weight: 700; }
.highlights strong { display: block; margin-right: 15px; font-size: 18px; }
.highlights p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.highlights article:hover { z-index: 2; background: #fbfdff; transform: translateY(-5px); box-shadow: var(--shadow); }

.manual-credit { padding: 72px 0; background: var(--page); }
.manual-credit-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px 46px; border: 1px solid #dfe7f3; border-radius: 12px; background: linear-gradient(122deg, #fff, #f1f6ff); }
.manual-credit h2 { margin: 9px 0 4px; color: #18253b; font-size: 29px; }
.manual-credit p:not(.section-label) { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.credit-button { flex: 0 0 auto; background: var(--navy-900); color: #fff; }
.credit-button:hover { background: #16294c; box-shadow: 0 13px 24px rgba(11, 30, 65, .18); }

.site-footer { border-top: 1px solid var(--line); background: #fff; color: #7d8998; font-size: 12px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; }
.site-footer a { color: #526d9c; text-decoration: none; }
.footer-support { display: inline-flex; align-items: center; gap: 6px; }
.phone-number { direction: ltr; unicode-bidi: isolate; font-family: Inter, Arial, sans-serif; font-weight: 700; letter-spacing: .1px; white-space: nowrap; }

/* Services page */
.page-title { padding: 46px 0 38px; border-bottom: 1px solid #e1e7ee; background: #fff; }
.breadcrumb { margin: 0 0 13px; color: #95a1b0; font-size: 12px; }
.breadcrumb span { padding: 0 7px; color: #c2cad5; }
.title-row { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.page-title h1, .dashboard-title h1 { margin: 0; color: #162135; font-size: 36px; font-weight: 800; }
.page-title h1 + p, .dashboard-title h1 + p { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.outline-button { min-height: 42px; border: 1px solid #cbd8e9; color: #315688; font-size: 12px; }
.outline-button:hover { border-color: #7faeff; background: var(--blue-100); }
.services-page { min-height: 620px; padding: 35px 0 70px; }
.service-filters { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(230px, .7fr) auto; align-items: end; gap: 17px; }
.search-field, .select-field { position: relative; display: block; }
.search-field > span { position: absolute; top: 12px; right: 15px; color: #7d8a99; font-family: Arial, sans-serif; font-size: 24px; transform: rotate(-20deg); }
.search-field input, .select-field select { width: 100%; height: 51px; border: 1px solid #d4dce6; border-radius: 6px; outline: none; background: #fff; color: #263449; padding: 0 16px; font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.search-field input { padding-right: 45px; }
.select-field > span { display: block; margin: 0 0 6px; color: #7d8998; font-size: 11px; }
.search-field input:focus, .select-field select:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(52,120,237,.1); }
.hot-filter { display: flex; align-items: center; gap: 8px; height: 51px; padding-bottom: 1px; color: #485870; font-size: 13px; white-space: nowrap; }
.hot-filter input { width: 18px; height: 18px; accent-color: var(--blue-500); }
.service-count { margin: 23px 0 10px; color: #8290a0; font-size: 12px; }
.service-list { overflow: hidden; border: 1px solid #e0e6ee; border-radius: 10px; background: #fff; box-shadow: 0 7px 26px rgba(24, 46, 77, .045); }
.service-list-head, .service-row { display: grid; grid-template-columns: minmax(290px, 1fr) 140px 130px 80px 96px; align-items: center; gap: 18px; padding: 17px 25px; }
.service-list-head { background: #15223a; color: #bac7dc; font-family: Inter, Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .3px; }
.service-row { min-height: 83px; border-bottom: 1px solid #e7ebf0; color: #66758a; font-size: 12px; transition: background .18s ease; }
.service-row:last-child { border: 0; }
.service-row:hover { background: #f8fbff; }
.service-row[hidden] { display: none; }
.service-row strong, .service-row small { display: block; }
.service-row strong { color: #1d2b40; font-size: 14px; font-weight: 700; }
.service-row small { margin-top: 4px; color: #8a96a4; font-size: 11px; }
.service-row b { color: #253c61; font-family: Inter, Arial, sans-serif; font-size: 13px; text-align: center; direction: ltr; }
.service-row a { display: inline-flex; align-items: center; justify-content: center; min-height: 33px; border: 1px solid #9fc1fa; border-radius: 5px; background: #eff6ff; color: #2867c5; font-size: 11px; font-weight: 700; text-decoration: none; transition: .2s ease; }
.service-row a:hover { border-color: var(--blue-500); background: var(--blue-500); color: #fff; }
.group { width: max-content; padding: 5px 9px; border-radius: 20px; background: #eaf3ff; color: #3970bd; font-size: 10px; }
.empty-services { margin: 20px 0 0; padding: 31px; border: 1px dashed #cad5e3; border-radius: 8px; color: #7c8999; text-align: center; }

/* Authentication modal */
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(5, 12, 25, .68); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal-open { overflow: hidden; }
.auth-modal { position: relative; width: min(100%, 485px); overflow: hidden; border-radius: 17px; background: #fff; box-shadow: 0 25px 75px rgba(0,0,0,.32); transform: translateY(15px) scale(.98); transition: transform .22s ease; font-family: Inter, Arial, sans-serif; }
.modal-backdrop.is-open .auth-modal { transform: translateY(0) scale(1); }
.auth-modal-head { padding: 31px 42px 28px; background: linear-gradient(135deg, #0b1328, #172b50); color: #fff; }
.modal-brand { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(161,197,255,.45); border-radius: 6px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: -1px; }
.auth-modal-head p { margin: 20px 0 7px; color: #79aaff; font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.auth-modal h2 { margin: 0; font-size: 27px; font-weight: 600; letter-spacing: -.6px; }
.modal-close { position: absolute; top: 17px; right: 19px; border: 0; background: transparent; color: #d7e1f0; font-size: 33px; font-weight: 300; line-height: 1; }
.auth-form { padding: 30px 42px 29px; }
.auth-form label:not(.check-label) { display: block; margin-bottom: 17px; color: #47566c; font-size: 12px; font-weight: 600; }
.auth-form input:not([type="checkbox"]) { display: block; width: 100%; height: 48px; margin-top: 7px; border: 1px solid #d6dee9; border-radius: 6px; outline: none; padding: 0 13px; color: #1e2c42; font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.auth-form input:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(52,120,237,.11); }
.auth-form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 1px 0 21px; }
.check-label { display: flex; align-items: center; gap: 6px; color: #59677a; font-size: 11px; }
.check-label input { width: 15px; height: 15px; accent-color: var(--blue-500); }
.forgot-link, .auth-switch button { border: 0; background: none; color: #3674dc; font-size: 11px; font-weight: 600; padding: 0; }
.auth-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 49px; border: 0; border-radius: 6px; background: var(--blue-500); color: #fff; padding: 0 17px; font-size: 14px; font-weight: 700; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.auth-submit:hover { background: #4a89f2; transform: translateY(-2px); box-shadow: 0 11px 22px rgba(52,120,237,.24); }
.auth-submit span { font-size: 19px; }
.auth-switch { margin: 19px 0 0; color: #778496; text-align: center; font-size: 11px; }
.is-hidden { display: none !important; }

/* Client dashboard */
.dashboard-title { padding: 38px 0 32px; border-bottom: 1px solid #e1e7ee; background: #fff; }
.dashboard-content { min-height: 680px; padding: 27px 0 70px; }
.account-notice { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 17px 20px 17px 23px; border-radius: 7px; background: #e8f3ff; border-right: 4px solid var(--blue-500); color: #26466f; }
.account-notice strong, .account-notice span { display: block; }
.account-notice strong { margin-bottom: 3px; font-size: 14px; }
.account-notice span { color: #5b7493; font-size: 12px; }
.account-notice a { flex: 0 0 auto; border-radius: 5px; background: var(--blue-500); color: #fff; padding: 9px 13px; font-size: 12px; font-weight: 700; text-decoration: none; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; margin-top: 23px; }
.balance-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.balance-card { min-height: 179px; padding: 25px 27px; border: 1px solid #e3e8ee; border-radius: 10px; background: #fff; box-shadow: 0 6px 20px rgba(21,38,62,.035); }
.balance-card > span { display: block; color: #7e8b9c; font-size: 13px; }
.balance-card > strong { display: block; margin: 8px 0 13px; color: #24334a; font-family: Inter, Arial, sans-serif; font-size: 42px; font-weight: 500; letter-spacing: -2.5px; direction: ltr; text-align: right; }
.balance-primary { position: relative; overflow: hidden; border-color: #234b8d; background: linear-gradient(130deg, #102143, #1e4f9a); color: #fff; transition: border-color .35s ease, background .35s ease, box-shadow .35s ease; }
.balance-primary::after { position: absolute; left: -40px; bottom: -90px; width: 215px; height: 215px; border: 1px solid rgba(187,211,253,.25); border-radius: 50%; content: ""; }
.balance-primary::before { position: absolute; top: -50px; right: -35px; width: 145px; height: 145px; border-radius: 50%; background: rgba(255,255,255,.08); content: ""; }
.balance-primary > span { color: #b9d0f8; }
.balance-primary > strong { position: relative; z-index: 1; color: #fff; }
.balance-primary a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 18px; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.balance-primary a b { font-size: 19px; font-weight: 400; }
.balance-level-label { position: absolute; z-index: 2; top: 23px; left: 24px; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; background: rgba(255,255,255,.1); color: #fff; padding: 5px 8px; font-size: 9px; font-style: normal; font-weight: 800; }
.balance-primary.balance-level-empty { border-color: #8d3145; background: linear-gradient(130deg, #35111e, #8b3146); box-shadow: 0 13px 27px rgba(130,34,56,.16); }
.balance-primary.balance-level-low { border-color: #9a6423; background: linear-gradient(130deg, #382416, #9a641f); box-shadow: 0 13px 27px rgba(138,82,22,.16); }
.balance-primary.balance-level-growing { border-color: #aa8423; background: linear-gradient(130deg, #42340d, #a67d17); box-shadow: 0 13px 27px rgba(157,115,15,.16); }
.balance-primary.balance-level-strong { border-color: #27845a; background: linear-gradient(130deg, #103e32, #187a50); box-shadow: 0 13px 27px rgba(22,115,75,.17); }
.balance-card p { margin: 0; color: #8a97a7; font-size: 12px; }
.status-panel, .recent-orders, .announcements, .support-card { margin-top: 19px; padding: 25px 27px; border: 1px solid #e3e8ee; border-radius: 10px; background: #fff; box-shadow: 0 6px 20px rgba(21,38,62,.035); }
.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.panel-heading h2, .announcements h2 { margin: 6px 0 0; color: #202e44; font-size: 21px; }
.panel-heading a { color: #3476df; font-size: 12px; font-weight: 700; text-decoration: none; }
.order-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; margin-top: 28px; }
.order-stats article { padding: 18px 0 4px; border-left: 1px solid #e9edf2; text-align: center; }
.order-stats article:last-child { border-left: 0; }
.stat-top { direction: ltr; }
.stat-top strong { color: #22344d; font-family: Inter, Arial, sans-serif; font-size: 38px; font-weight: 500; letter-spacing: -2px; }
.stat-top span { color: #a1adbc; font-family: Inter, Arial, sans-serif; font-size: 17px; }
.stat-line { width: 84%; height: 4px; margin: 17px auto 12px; border-radius: 4px; background: #e9eff5; }
.stat-line::before { display: block; width: 0; height: 100%; border-radius: inherit; content: ""; }
.stat-line.success::before { width: 72%; background: var(--success); }
.stat-line.pending::before { width: 10%; background: #e5a43e; }
.stat-line.failed::before { width: 8%; background: var(--danger); }
.order-stats p { margin: 0; color: #7e8b9a; font-size: 11px; }
.no-orders { padding: 38px 15px 12px; color: #7d8999; text-align: center; }
.no-orders span { display: grid; width: 42px; height: 42px; margin: 0 auto 12px; place-items: center; border-radius: 50%; background: #eaf2ff; color: #4d84d9; font-family: Inter, Arial, sans-serif; font-size: 22px; }
.no-orders strong { display: block; color: #46566c; font-size: 14px; }
.no-orders p { margin: 5px 0 0; font-size: 12px; }
.dashboard-side { display: flex; flex-direction: column; }
.announcements, .support-card { margin-top: 0; }
.announcements article { padding: 20px 0; border-bottom: 1px solid #e8ecf1; }
.announcements article:last-child { border: 0; padding-bottom: 0; }
.announcements article > span { color: #5780bc; font-size: 10px; font-weight: 700; }
.announcements article strong { display: block; margin-top: 7px; color: #314159; font-size: 13px; line-height: 1.65; }
.announcements article p { margin: 5px 0 0; color: #8490a0; font-size: 11px; line-height: 1.8; }
.announcements time { display: block; margin-top: 7px; color: #acb5c0; font-size: 10px; }
.support-card { margin-top: 19px; border-color: #213f75; background: linear-gradient(135deg, #102143, #173769); color: #fff; }
.support-card p { margin: 0; color: #8bb8ff; font-size: 11px; font-weight: 700; }
.support-card strong { display: block; margin-top: 8px; font-size: 16px; line-height: 1.7; }
.support-card a { display: inline-flex; align-items: center; gap: 17px; margin-top: 17px; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.support-card a span { font-size: 20px; }

/* Motion */
@keyframes logo-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes blue-glow { 0%,100% { transform: scale(1) translate(0,0); opacity: .65; } 50% { transform: scale(1.18) translate(35px,25px); opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(21px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 1200px) {
  .server-inner { gap: 7px; }
  .header-link, .nav-dropdown-toggle { min-width: auto; padding: 0 12px; font-size: 12px; }
  .server-brand { width: 108px; flex-basis: 108px; }
  .server-actions { gap: 5px; }
  .nav-register, .nav-login { padding: 10px 11px; font-size: 11px; }
}

@media (max-width: 900px) {
  .server-inner { width: 100%; min-height: 74px; overflow-x: auto; padding: 0 15px; }
  .server-brand { position: sticky; left: 0; z-index: 4; align-self: center; width: 92px; flex-basis: 92px; background: var(--navy-950); box-shadow: 8px 0 12px var(--navy-950); }
  .server-brand span { font-size: 31px; }
  .server-brand small { font-size: 6px; letter-spacing: 1.2px; }
  .server-links { min-width: max-content; }
  .header-link, .nav-dropdown-toggle { min-height: 74px; padding: 0 13px; }
  .dropdown-menu { top: 74px; }
  .server-actions, .server-account { display: none; }
  .welcome { min-height: 440px; }
  .highlights .container { grid-template-columns: 1fr; }
  .highlights article, .highlights article:first-child { border: 0; border-bottom: 1px solid var(--line); }
  .manual-credit-inner, .title-row { align-items: flex-start; flex-direction: column; }
  .service-filters { grid-template-columns: 1fr; gap: 12px; }
  .hot-filter { height: auto; }
  .service-list { overflow-x: auto; }
  .service-list-head, .service-row { min-width: 800px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-side { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
  .support-card { margin-top: 0; }
}

@media (max-width: 600px) {
  .container { width: min(91%, 520px); }
  .hero-content { padding: 54px 0; }
  .welcome h1 { font-size: 35px; }
  .hero-text { font-size: 14px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .blue-button, .white-button { width: 100%; }
  .manual-credit { padding: 38px 0; }
  .manual-credit-inner { padding: 29px 24px; }
  .manual-credit h2 { font-size: 23px; }
  .site-footer .container { align-items: center; flex-direction: column; text-align: center; }
  .page-title, .dashboard-title { padding: 30px 0 26px; }
  .page-title h1, .dashboard-title h1 { font-size: 28px; }
  .auth-modal-head, .auth-form { padding-right: 25px; padding-left: 25px; }
  .balance-cards, .dashboard-side, .order-stats { grid-template-columns: 1fr; }
  .order-stats article { border-bottom: 1px solid #e9edf2; border-left: 0; padding-bottom: 17px; }
  .order-stats article:last-child { border: 0; padding-bottom: 4px; }
  .account-notice { align-items: flex-start; flex-direction: column; }
}

/* Service order request */
.order-request-main { min-height: calc(100vh - 170px); background: #f3f6fa; }
.order-request-title { padding: 36px 0 33px; border-bottom: 1px solid #dfe6ef; background: #fff; }
.order-breadcrumb { display: inline-flex; align-items: center; gap: 8px; color: #4778bd; font-size: 11px; font-weight: 800; text-decoration: none; }
.order-breadcrumb span { font-family: Inter, Arial, sans-serif; font-size: 17px; }
.order-breadcrumb:hover { color: #1956ab; }
.order-request-title .section-label { margin: 18px 0 7px; }
.order-request-title h1 { margin: 0 0 8px; color: #14223b; font-size: 34px; }
.order-request-title > .container > p:last-child { max-width: 620px; margin: 0; color: #77869b; font-size: 13px; line-height: 2; }
.order-request-content { padding: 30px 0 74px; }
.order-request-layout { display: grid; grid-template-columns: minmax(250px, .85fr) minmax(460px, 1.45fr); align-items: start; gap: 20px; }
.order-service-summary, .order-request-card, .order-process-card { border: 1px solid #e0e7ef; border-radius: 11px; background: #fff; box-shadow: 0 8px 26px rgba(19,43,77,.045); }
.order-service-summary { position: relative; overflow: hidden; min-height: 328px; padding: 28px; background: linear-gradient(135deg, #102545, #1e4f93); color: #fff; }
.order-service-summary::after { position: absolute; left: -48px; bottom: -65px; width: 182px; height: 182px; border: 1px solid rgba(154,193,250,.3); border-radius: 50%; content: ""; }
.order-summary-type { display: inline-flex; align-items: center; gap: 7px; color: #99c0ff; font-family: Inter, Arial, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .55px; }
.order-summary-type span { width: 7px; height: 7px; border-radius: 50%; background: #71a7ff; box-shadow: 0 0 0 4px rgba(113,167,255,.14); }
.order-service-summary h2 { position: relative; z-index: 1; margin: 15px 0 7px; color: #fff; font-size: 22px; line-height: 1.6; }
.order-summary-description { position: relative; z-index: 1; margin: 0; color: #c5d7f3; font-size: 11px; line-height: 2; }
.order-service-meta { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }
.order-service-meta div { border: 1px solid rgba(183,211,249,.2); border-radius: 7px; background: rgba(3,14,36,.19); padding: 11px; }
.order-service-meta span, .order-service-meta strong { display: block; }
.order-service-meta span { color: #a9c2e7; font-size: 9px; }
.order-service-meta strong { margin-top: 4px; color: #fff; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 14px; }
.order-summary-note { position: relative; z-index: 1; margin-top: 17px; padding-top: 14px; border-top: 1px solid rgba(194,216,247,.2); }
.order-summary-note b { color: #dceaff; font-size: 11px; }
.order-summary-note p { margin: 4px 0 0; color: #a9c1e3; font-size: 10px; line-height: 1.9; }
.order-request-card { padding: 29px 30px; }
.order-card-heading { display: flex; align-items: center; gap: 14px; padding-bottom: 21px; border-bottom: 1px solid #e6ebf1; }
.order-card-heading > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 7px; background: #e9f1ff; color: #3576dc; font-family: Inter, Arial, sans-serif; font-size: 12px; font-weight: 800; }
.order-card-heading p { margin: 0 0 3px; color: #6391d0; font-size: 10px; font-weight: 800; }
.order-card-heading h2 { margin: 0; color: #293a52; font-size: 18px; }
.order-request-form { margin-top: 23px; }
.order-request-form > label:not(.order-confirmation) { display: block; color: #53647b; font-size: 12px; font-weight: 800; }
.order-request-form textarea { display: block; width: 100%; min-height: 146px; margin-top: 8px; resize: vertical; border: 1px solid #d4dfed; border-radius: 7px; outline: 0; background: #fff; color: #2b3c53; padding: 13px 14px; font-family: "Cairo", Tahoma, Arial, sans-serif; font-size: 12px; line-height: 2; transition: border-color .18s ease, box-shadow .18s ease; }
.order-request-form textarea::placeholder { color: #99a6b6; }
.order-request-form textarea:focus { border-color: #5290ef; box-shadow: 0 0 0 3px rgba(52,120,237,.1); }
.order-field-help { margin: 9px 0 16px; color: #8795a7; font-size: 10px; line-height: 2; }
.order-confirmation { display: flex; align-items: flex-start; gap: 9px; border-radius: 7px; background: #f5f8fc; color: #65758a; padding: 12px; font-size: 10px; font-weight: 700; line-height: 1.9; }
.order-confirmation input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: #3478ed; }
.order-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 22px; }
.order-form-actions a { color: #6c7c91; font-size: 11px; font-weight: 800; text-decoration: none; }
.order-form-actions a:hover { color: #2f6dcc; }
.order-form-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; border: 0; border-radius: 6px; background: #3478ed; color: #fff; padding: 0 20px; font-family: "Cairo", Tahoma, Arial, sans-serif; font-size: 12px; font-weight: 800; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.order-form-actions button span { font-family: Inter, Arial, sans-serif; font-size: 17px; }
.order-form-actions button:hover { transform: translateY(-2px); background: #4d8af0; box-shadow: 0 9px 18px rgba(52,120,237,.22); }
.order-process-card { grid-column: 1 / -1; padding: 25px 28px 0; }
.order-process-card h2 { margin: 5px 0 20px; color: #2a3c55; font-size: 19px; }
.order-process-card ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.order-process-card li { display: flex; align-items: flex-start; gap: 11px; min-height: 75px; border-left: 1px solid #e7ecf2; padding: 0 17px; }
.order-process-card li:first-child { border-left: 0; padding-right: 0; }
.order-process-card li:last-child { padding-left: 0; }
.order-process-card li > b { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #eaf2ff; color: #417bd5; font-family: Inter, Arial, sans-serif; font-size: 10px; }
.order-process-card strong, .order-process-card li span { display: block; }
.order-process-card strong { color: #43556e; font-size: 11px; }
.order-process-card li span { margin-top: 4px; color: #8b98a9; font-size: 10px; line-height: 1.8; }
.order-support-link { display: flex; align-items: center; justify-content: space-between; margin: 16px -28px 0; border-top: 1px solid #e6ebf1; background: #f9fbfe; color: #3972c4; padding: 13px 28px; font-size: 10px; font-weight: 800; text-decoration: none; }
.order-support-link:hover { background: #f0f6ff; }
.order-support-link span { font-family: Inter, Arial, sans-serif; font-size: 15px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* Real portal pages */
.nav-register, .nav-login { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.server-account form { margin: 0; }
.flash-area { position: fixed; z-index: 80; top: 110px; right: 28px; width: min(420px, calc(100% - 36px)); }
.flash-message { margin-bottom: 9px; padding: 13px 17px; border-radius: 7px; box-shadow: 0 10px 30px rgba(14,31,57,.14); font-size: 13px; font-weight: 700; }
.flash-message.success { border-right: 4px solid #24a65d; background: #effbf4; color: #19673b; }
.flash-message.error { border-right: 4px solid #e25262; background: #fff2f3; color: #963543; }

.auth-main, .form-main { min-height: calc(100vh - 170px); display: grid; place-items: center; padding: 60px 18px; background: radial-gradient(circle at 80% 15%, rgba(52,120,237,.16), transparent 28%), linear-gradient(125deg, #f1f5fb, #f8fafc); }
.auth-card { width: min(100%, 490px); overflow: hidden; border-radius: 17px; background: #fff; box-shadow: 0 25px 65px rgba(13,31,61,.16); font-family: Inter, Arial, sans-serif; }
.auth-card .auth-modal-head { padding: 31px 42px 28px; }
.auth-card .auth-modal-head h1 { margin: 0; font-size: 27px; font-weight: 600; letter-spacing: -.6px; }
.auth-card .auth-form { padding: 30px 42px 29px; }
.auth-switch a { color: #3674dc; font-weight: 700; text-decoration: none; }
.verification-card { position: relative; }
.verification-card .auth-modal-head { position: relative; overflow: hidden; }
.verification-card .auth-modal-head::after { position: absolute; left: -34px; bottom: -55px; width: 145px; height: 145px; border: 1px solid rgba(135,178,244,.18); border-radius: 50%; box-shadow: 0 0 0 26px rgba(135,178,244,.04); content: ""; }
.verification-head-icon { position: absolute; left: 41px; bottom: 33px; display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(144,182,242,.38); border-radius: 9px; background: rgba(78,132,222,.15); color: #91bcff; font-family: Inter, Arial, sans-serif; font-size: 17px; }
.verification-form { padding-bottom: 18px !important; }
.verification-intro { margin: 0 0 5px; color: #66768d; font-size: 12px; }
.verification-email { display: block; overflow: hidden; color: #203a60; font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 700; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.verification-code-label { margin-top: 24px; }
.verification-code-label > span { display: block; color: #47566c; font-size: 12px; font-weight: 700; }
.auth-form .verification-code-label input { height: 62px; margin-top: 8px; direction: ltr; font-family: Inter, Arial, sans-serif; font-size: 28px; font-weight: 800; letter-spacing: 11px; text-align: center; }
.auth-form .verification-code-label input::placeholder { color: #c4d0df; letter-spacing: 9px; }
.verification-hint { margin: 10px 0 21px; color: #8390a1; font-size: 10px; line-height: 1.8; }
.verification-resend { display: flex; align-items: center; justify-content: center; gap: 7px; border-top: 1px solid #edf1f6; padding: 17px 20px 19px; color: #7a8798; font-size: 10px; }
.verification-resend form { margin: 0; }
.verification-resend button, .verification-resend a { border: 0; background: transparent; color: #3274df; padding: 0; font-family: "Cairo", Tahoma, sans-serif; font-size: 10px; font-weight: 800; text-decoration: none; }
.verification-resend a { color: #6c7b8f; text-decoration: underline; text-underline-offset: 3px; }

.form-main { align-items: start; padding-top: 65px; }
.form-card { width: min(100%, 670px); padding: 37px 42px; border: 1px solid #e0e7f0; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.form-card h1 { margin: 8px 0 4px; color: #18263d; font-size: 30px; }
.form-intro { margin: 0 0 27px; color: #718095; font-size: 13px; line-height: 2; }
.form-intro b { color: #25568e; }
.portal-form label { display: block; margin-bottom: 17px; color: #43536a; font-size: 13px; font-weight: 700; }
.portal-form input, .portal-form select { display: block; width: 100%; height: 48px; margin-top: 8px; border: 1px solid #d6dee9; border-radius: 6px; outline: none; background: #fff; padding: 0 13px; color: #203047; font-family: "Cairo", Tahoma, sans-serif; font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.portal-form input:focus, .portal-form select:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(52,120,237,.11); }
.form-help { margin: -4px 0 20px; color: #8894a2; font-size: 11px; line-height: 1.85; }
.error-card { text-align: center; }
.error-card .blue-button { margin-top: 18px; }

/* Manual credit request */
.credit-main { min-height: calc(100vh - 170px); background: #f3f6fa; }
.credit-intro { padding: 39px 0 33px; border-bottom: 1px solid #dfe7f1; background: #fff; }
.credit-intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.credit-intro h1 { margin: 8px 0 7px; color: #172640; font-size: 36px; }
.credit-intro p:not(.breadcrumb):not(.section-label) { max-width: 780px; margin: 0; color: #7c899a; font-size: 13px; line-height: 2; }
.credit-whatsapp-top { display: inline-flex; align-items: center; gap: 16px; min-height: 43px; border: 1px solid #9bbcf0; border-radius: 6px; background: #f6faff; color: #2968c5; padding: 0 17px; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.credit-whatsapp-top span { font-size: 18px; }
.credit-content { padding: 33px 0 72px; }
.credit-layout { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.35fr); align-items: start; gap: 22px; }
.credit-guide { overflow: hidden; border: 1px solid #204a89; border-radius: 13px; background: linear-gradient(145deg, #0c1d3b, #173e79); box-shadow: 0 16px 36px rgba(10,31,68,.16); color: #fff; }
.credit-guide-head { display: flex; align-items: center; gap: 12px; padding: 25px 24px 19px; border-bottom: 1px solid rgba(255,255,255,.1); }
.credit-guide-head > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(148,187,255,.6); border-radius: 8px; background: rgba(87,141,230,.2); font-family: Inter, Arial, sans-serif; font-weight: 800; }
.credit-guide-head p { margin: 0 0 3px; color: #8fbcff; font-size: 10px; font-weight: 700; }
.credit-guide-head strong { font-size: 18px; }
.credit-steps { display: grid; gap: 22px; margin: 0; padding: 26px 24px 25px; list-style: none; }
.credit-steps li { display: flex; align-items: flex-start; gap: 12px; }
.credit-steps b { display: grid; flex: 0 0 auto; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #4c8ef6; color: #fff; font-family: Inter, Arial, sans-serif; font-size: 11px; }
.credit-steps strong, .credit-steps span { display: block; }
.credit-steps strong { margin-top: 1px; font-size: 13px; }
.credit-steps span { margin-top: 4px; color: #bacbe8; font-size: 11px; line-height: 1.75; }
.credit-guide-note { margin: 0 18px 18px; padding: 15px 16px; border: 1px solid rgba(167,198,243,.2); border-radius: 8px; background: rgba(255,255,255,.065); }
.credit-guide-note strong { color: #9fc6ff; font-size: 11px; }
.credit-guide-note p { margin: 5px 0 0; color: #d5e1f4; font-size: 10px; line-height: 1.8; }
.credit-direct-support { display: block; margin: 0 18px 18px; border: 1px solid rgba(171,204,250,.27); border-radius: 8px; background: rgba(255,255,255,.085); color: #fff; padding: 13px 15px; text-decoration: none; }
.credit-direct-support span, .credit-direct-support strong { display: block; }
.credit-direct-support span { color: #bcd4f8; font-size: 10px; }
.credit-direct-support strong { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; color: #fff; font-size: 12px; }
.credit-direct-support b { font-family: Inter, Arial, sans-serif; font-size: 17px; }
.credit-direct-support:hover { border-color: rgba(172,210,255,.65); background: rgba(95,152,241,.2); }
.credit-request-card { padding: 30px; border: 1px solid #dfe6ef; border-radius: 13px; background: #fff; box-shadow: 0 12px 32px rgba(21,45,80,.06); }
.credit-card-heading { margin-bottom: 25px; }
.credit-card-heading h2 { margin: 7px 0 5px; color: #21324a; font-size: 25px; }
.credit-card-heading > span { color: #8290a1; font-size: 12px; }
.credit-form label, .credit-method-fieldset legend { color: #40516a; font-size: 12px; font-weight: 800; }
.credit-method-fieldset { margin: 0 0 23px; border: 0; padding: 0; }
.credit-method-fieldset legend { margin-bottom: 10px; padding: 0; }
.credit-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.credit-method { position: relative; display: flex; min-height: 98px; align-items: flex-start; gap: 10px; border: 1px solid #d9e2ee; border-radius: 8px; background: #fff; padding: 15px 12px; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.credit-method input { position: absolute; opacity: 0; pointer-events: none; }
.credit-method:has(input:checked) { border-color: #4c87e8; background: #f3f8ff; box-shadow: 0 0 0 3px rgba(52,120,237,.1); }
.credit-method:hover { border-color: #92b8f0; background: #f9fbff; }
.credit-method-disabled { cursor: not-allowed; opacity: .67; }
.credit-method-disabled:hover { border-color: #d9e2ee; background: #fff; }
.credit-method-disabled em { position: absolute; top: 9px; left: 9px; border-radius: 10px; background: #f0f3f7; color: #718096; padding: 3px 6px; font-family: Inter, Arial, sans-serif; font-size: 8px; font-style: normal; font-weight: 700; }
.credit-method-icon { display: grid; flex: 0 0 auto; width: 29px; height: 29px; place-items: center; border-radius: 7px; font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 800; }
.credit-method-icon.binance { background: #fff2ce; color: #a66b00; }
.credit-method-icon.paypal { background: #e5f0ff; color: #2870b7; }
.credit-method-icon.bank { background: #e7f5ef; color: #258151; font-size: 9px; }
.credit-method strong, .credit-method small { display: block; }
.credit-method strong { color: #273950; font-family: Inter, Arial, sans-serif; font-size: 12px; }
.credit-method small { margin-top: 5px; color: #8895a5; font-size: 9px; line-height: 1.65; }
.credit-transfer-details { margin: -4px 0 22px; }
.payment-info { border: 1px solid #cfdff4; border-radius: 9px; background: linear-gradient(125deg, #f8fbff, #eef5ff); padding: 17px; }
.payment-info[hidden] { display: none; }
.payment-info-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.payment-info-head span { color: #467dc9; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.payment-info-head h3 { margin: 4px 0 0; color: #2d405d; font-size: 15px; }
.payment-info-head > b { border-radius: 12px; background: #e3efff; color: #3569ad; padding: 5px 8px; font-family: Inter, Arial, sans-serif; font-size: 9px; white-space: nowrap; }
.payment-detail-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid #d7e4f5; border-radius: 7px; background: #fff; padding: 11px 12px; }
.payment-detail-row span, .payment-detail-row strong { display: block; }
.payment-detail-row span { color: #8190a3; font-family: Inter, Arial, sans-serif; font-size: 10px; }
.payment-detail-row strong { margin-top: 3px; color: #203958; font-family: Inter, Arial, sans-serif; font-size: 16px; letter-spacing: .3px; }
.payment-detail-row button, .bank-details-grid button { flex: 0 0 auto; border: 1px solid #a8c5ed; border-radius: 5px; background: #f6faff; color: #3570be; padding: 7px 10px; font-family: "Cairo", Tahoma, sans-serif; font-size: 10px; font-weight: 800; }
.payment-detail-row button:hover, .bank-details-grid button:hover { background: #e8f2ff; }
.payment-info > p { margin: 10px 0 0; color: #718197; font-size: 10px; line-height: 1.85; }
.bank-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bank-details-grid article { border: 1px solid #d7e4f5; border-radius: 7px; background: #fff; padding: 12px; }
.bank-details-grid article > span { display: block; color: #477fc9; font-size: 9px; font-weight: 800; }
.bank-details-grid article > strong { display: block; margin-top: 4px; color: #31435e; font-size: 11px; }
.bank-details-grid article > div { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 7px; margin-top: 10px; }
.bank-details-grid small { color: #8996a6; font-family: Inter, Arial, sans-serif; font-size: 9px; }
.bank-details-grid b { display: block; grid-column: 1 / -1; overflow-wrap: anywhere; color: #1f3d62; font-family: Inter, Arial, sans-serif; font-size: 11px; letter-spacing: .15px; }
.bank-details-grid button { grid-column: 1 / -1; justify-self: start; }
.credit-form > label { display: block; margin-bottom: 19px; }
.credit-form > label > input { display: block; width: 100%; height: 49px; margin-top: 8px; border: 1px solid #d4dfea; border-radius: 6px; outline: none; background: #fff; padding: 0 13px; color: #203047; font-family: "Cairo", Tahoma, sans-serif; font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.credit-form > label > input:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(52,120,237,.11); }
.credit-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) .9fr; align-items: end; gap: 14px; }
.credit-form-grid > label { display: block; margin-bottom: 19px; }
.credit-form-grid input { display: block; width: 100%; height: 49px; margin-top: 8px; border: 1px solid #d4dfea; border-radius: 6px; outline: none; padding: 0 13px; color: #203047; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 13px; }
.quick-amounts { margin-bottom: 19px; }
.quick-amounts > span { display: block; margin-bottom: 8px; color: #6d7c90; font-size: 10px; font-weight: 700; }
.quick-amounts > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.quick-amounts button { height: 31px; border: 1px solid #d5e2f5; border-radius: 5px; background: #f7faff; color: #3970bd; font-family: Inter, Arial, sans-serif; font-size: 10px; font-weight: 700; }
.quick-amounts button:hover, .quick-amounts button.is-selected { border-color: #5d92e9; background: #eaf3ff; color: #24599f; }
.credit-confirm { display: flex !important; align-items: flex-start; gap: 8px; margin: 0 0 17px !important; color: #6a788b !important; font-size: 11px !important; font-weight: 600 !important; line-height: 1.85; }
.credit-confirm input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--blue-500); }
.credit-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid #e8edf3; }
.credit-form-footer p { max-width: 310px; margin: 0; color: #8794a5; font-size: 10px; line-height: 1.8; }
.credit-submit { display: inline-flex; align-items: center; justify-content: space-between; min-width: 205px; height: 47px; border: 0; border-radius: 6px; background: var(--blue-500); color: #fff; padding: 0 16px; font-family: "Cairo", Tahoma, sans-serif; font-size: 12px; font-weight: 800; box-shadow: 0 10px 22px rgba(52,120,237,.22); }
.credit-submit span { font-family: Inter, Arial, sans-serif; font-size: 18px; }
.credit-submit:hover { background: #4c89ef; }
.credit-invoice-preview { display: flex; align-items: center; gap: 13px; margin: 0 0 18px; border: 1px solid #d9e6f7; border-right: 3px solid #4a82dc; border-radius: 7px; background: #f7faff; padding: 13px 15px; }
.credit-invoice-preview span { color: #61738c; font-size: 10px; font-weight: 700; }
.credit-invoice-preview strong { color: #2a69c7; font-family: Inter, Arial, sans-serif; font-size: 15px; }
.credit-invoice-preview p { margin: 0 auto 0 0; color: #8c99a9; font-size: 9px; }
.bank-rate-preview { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -2px 0 18px; border: 1px solid #b8d9cd; border-right: 3px solid #30916c; border-radius: 7px; background: #f2fbf7; padding: 13px 15px; }
.bank-rate-preview span, .bank-rate-preview strong, .bank-rate-preview small { display: block; }
.bank-rate-preview span { color: #4e8e78; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .65px; }
.bank-rate-preview strong { margin: 3px 0; color: #245c4b; font-size: 12px; }
.bank-rate-preview small { color: #6e9286; font-size: 9px; }
.bank-rate-preview > b { flex: 0 0 auto; color: #16805e; font-family: Inter, Arial, sans-serif; font-size: 22px; letter-spacing: -.6px; }

/* Timed manual payment checkout */
.credit-checkout-main { min-height: calc(100vh - 170px); background: #f7f6f1; color: #243047; }
.checkout-topbar { border-bottom: 1px solid #dfe4e9; background: rgba(255,255,255,.76); }
.checkout-topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.checkout-topbar a { color: #60748d; font-size: 10px; font-weight: 800; text-decoration: none; }
.checkout-topbar a:hover { color: #2c6cc7; }
.checkout-topbar span { color: #7e8da0; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 1.1px; }
.checkout-layout { display: grid; grid-template-columns: 335px minmax(0, 1fr); min-height: calc(100vh - 218px); }
.checkout-sidebar { position: relative; overflow: hidden; min-height: 720px; background: linear-gradient(160deg, #0b1b31, #102a45); color: #fff; padding: 31px 27px; }
.checkout-sidebar::before, .checkout-sidebar::after { position: absolute; border: 1px solid rgba(108,193,201,.15); border-radius: 50%; content: ""; pointer-events: none; }
.checkout-sidebar::before { top: -180px; left: -78px; width: 360px; height: 360px; }
.checkout-sidebar::after { top: -115px; left: -17px; width: 250px; height: 250px; border-color: rgba(76,135,218,.18); }
.checkout-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; width: max-content; color: #fff; text-decoration: none; }
.checkout-brand b { display: grid; width: 41px; height: 41px; place-items: center; border: 1px solid rgba(139,186,249,.42); border-radius: 8px; background: linear-gradient(145deg, #1d5cb4, #12326a); font-family: Inter, Arial, sans-serif; font-size: 16px; letter-spacing: -1px; }
.checkout-brand span { color: #7fb1ff; font-family: Inter, Arial, sans-serif; font-size: 8px; font-weight: 800; letter-spacing: 1.3px; }
.checkout-status-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin-top: 32px; color: #d7e8ff; font-size: 11px; }
.checkout-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #58d7a2; box-shadow: 0 0 0 5px rgba(88,215,162,.11); }
.checkout-timer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-top: 18px; border: 1px solid rgba(93,213,188,.35); border-radius: 9px; background: rgba(19,71,76,.45); padding: 12px 14px; }
.checkout-timer small { color: #b0dcd8; font-size: 9px; }
.checkout-timer strong { color: #6be3bf; font-family: Inter, Arial, sans-serif; font-size: 21px; letter-spacing: .6px; }
.checkout-total { position: relative; z-index: 1; margin-top: 19px; border: 1px solid rgba(134,170,222,.2); border-radius: 12px; background: rgba(34,58,91,.56); padding: 20px; }
.checkout-total > span { color: #a9bad1; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.checkout-total > strong { display: block; margin: 7px 0 1px; color: #fff; font-family: Inter, Arial, sans-serif; font-size: 37px; letter-spacing: -1.5px; }
.checkout-total > b { display: block; margin-bottom: 16px; color: #84a6d4; font-size: 10px; }
.checkout-total > div { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(165,193,230,.12); color: #9aacc5; padding: 9px 0 0; font-size: 10px; }
.checkout-total > div b { color: #e6efff; font-family: Inter, Arial, sans-serif; font-size: 11px; }
.checkout-total .checkout-payable { margin-top: 7px; border-top-style: dashed; color: #c5d9f5; }
.checkout-total .checkout-payable b { color: #6de2bd; font-size: 12px; }
.checkout-sidebar-steps { position: relative; z-index: 1; display: grid; gap: 12px; margin-top: 26px; }
.checkout-sidebar-steps p { margin: 0 0 2px; color: #7890ad; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.checkout-sidebar-steps span { display: flex; align-items: center; gap: 9px; color: #8295ad; font-family: Inter, Arial, sans-serif; font-size: 10px; }
.checkout-sidebar-steps span b { color: inherit; font-family: "Cairo", Tahoma, sans-serif; font-size: 10px; }
.checkout-sidebar-steps .is-done, .checkout-sidebar-steps .is-active { color: #eaf4ff; }
.checkout-sidebar-note { position: relative; z-index: 1; margin: 35px 0 0; border-top: 1px solid rgba(172,198,235,.15); color: #8396ae; padding-top: 16px; font-size: 9px; line-height: 1.9; }
.checkout-panel { padding: 67px clamp(35px, 7vw, 130px) 72px; }
.checkout-eyebrow { margin: 0 0 8px; color: #238b73; font-family: Inter, Arial, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 1.15px; }
.checkout-panel h1 { margin: 0; color: #152139; font-family: Inter, "Cairo", Arial, sans-serif; font-size: clamp(28px, 3vw, 40px); letter-spacing: -1.2px; }
.checkout-lead { max-width: 720px; margin: 10px 0 22px; color: #7b8798; font-size: 13px; line-height: 2; }
.checkout-progress { display: flex; align-items: center; max-width: 700px; margin-bottom: 22px; }
.checkout-progress span { display: flex; align-items: center; gap: 7px; color: #9aa6b5; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 10px; font-weight: 800; white-space: nowrap; }
.checkout-progress span b { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #d9e0e7; border-radius: 50%; color: #9ba7b7; font-family: Inter, Arial, sans-serif; font-size: 10px; }
.checkout-progress i { flex: 1; height: 1px; margin: 0 11px; background: #dce3e8; }
.checkout-progress .is-done, .checkout-progress .is-active { color: #258e75; }
.checkout-progress .is-done b { border-color: #55d7aa; background: #e8faf3; color: #218369; }
.checkout-progress .is-active b { border-color: #173454; background: #173454; color: #fff; }
.checkout-progress .is-done + i { background: #65d9b0; }
.checkout-details-card { overflow: hidden; max-width: 920px; border: 1px solid #e2e4e3; border-radius: 18px; background: #fff; box-shadow: 0 18px 44px rgba(45,56,71,.08); }
.checkout-details-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid #e9ecec; padding: 26px 30px; }
.checkout-details-head span, .checkout-details-head h2 { display: block; }
.checkout-details-head span { color: #8996a5; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.checkout-details-head h2 { margin: 5px 0 0; color: #17243a; font-family: Inter, Arial, sans-serif; font-size: 20px; }
.checkout-details-head > b { border-radius: 14px; background: #f0f5fb; color: #58708e; padding: 5px 9px; font-family: Inter, Arial, sans-serif; font-size: 9px; }
.checkout-values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 24px 30px 5px; }
.checkout-values article { position: relative; border: 1px solid #e3e7e6; border-radius: 10px; background: #fbfbf9; padding: 16px 76px 15px 16px; }
.checkout-values article > span { display: block; color: #84909d; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .7px; }
.checkout-values strong { display: block; margin-top: 6px; color: #17263a; font-family: Inter, Arial, sans-serif; font-size: 23px; letter-spacing: -.6px; }
.checkout-values strong small { color: #7c8997; font-size: 11px; }
.checkout-values article > button, .checkout-recipient > button, .checkout-bank-recipient button { position: absolute; top: 17px; left: 14px; border: 1px solid #d7dde2; border-radius: 6px; background: #fff; color: #475d75; padding: 7px 9px; font-family: "Cairo", Tahoma, sans-serif; font-size: 9px; font-weight: 800; }
.checkout-values article > button:hover, .checkout-recipient > button:hover, .checkout-bank-recipient button:hover { border-color: #87abe0; background: #f1f7ff; color: #2d6bc1; }
.checkout-values .checkout-note-value { border-color: #9bd7c6; background: #effaf6; }
.checkout-values .checkout-note-value { padding-left: 145px; }
.checkout-note-value strong { color: #14715d; direction: ltr; letter-spacing: 1.5px; text-align: left; font-variant-numeric: tabular-nums; }
.checkout-note-value > button { min-width: 104px; }
.checkout-note-value p { margin: 7px 0 0; color: #668a81; font-size: 9px; line-height: 1.6; }
.checkout-recipient { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 18px 30px 0; border: 1px solid #dce5f4; border-radius: 10px; background: #f5f9ff; padding: 17px 124px 17px 18px; }
.checkout-recipient span, .checkout-recipient strong { display: block; }
.checkout-recipient span { color: #6c829f; font-size: 9px; font-weight: 800; }
.checkout-recipient strong { margin-top: 4px; color: #1b3f70; font-family: Inter, Arial, sans-serif; font-size: 18px; letter-spacing: .6px; }
.checkout-recipient p { max-width: 500px; margin: 5px 0 0; color: #7f8fa5; font-size: 9px; line-height: 1.8; }
.checkout-recipient > button { top: 50%; transform: translateY(-50%); }
.checkout-bank-recipient { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 30px 0; }
.checkout-bank-recipient article { position: relative; border: 1px solid #dce5f4; border-radius: 10px; background: #f6faff; padding: 16px 16px 16px 108px; }
.checkout-bank-recipient span, .checkout-bank-recipient strong, .checkout-bank-recipient b { display: block; }
.checkout-bank-recipient span { color: #70849f; font-size: 9px; font-weight: 800; }
.checkout-bank-recipient strong { margin: 5px 0; color: #294260; font-size: 11px; }
.checkout-bank-recipient b { color: #1c416f; font-family: Inter, Arial, sans-serif; font-size: 11px; }
.checkout-bank-recipient small { display: block; margin-top: 6px; color: #5e7e77; font-size: 9px; line-height: 1.6; }
.checkout-bank-recipient button { top: 50%; transform: translateY(-50%); }
.checkout-important { display: flex; align-items: flex-start; gap: 10px; margin: 18px 30px 0; border: 1px solid #f0d4b8; border-radius: 9px; background: #fff8ef; padding: 13px 14px; }
.checkout-important b { display: grid; width: 19px; height: 19px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #f5d6ab; color: #8f5722; font-family: Inter, Arial, sans-serif; font-size: 10px; }
.checkout-important p { margin: 0; color: #805b39; font-size: 10px; line-height: 1.9; }
.checkout-how { margin: 22px 30px 0; border-top: 1px solid #ebefef; padding-top: 20px; }
.checkout-how h3 { margin: 0 0 15px; color: #33455d; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 13px; }
.checkout-how ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.checkout-how li { display: flex; align-items: flex-start; gap: 8px; color: #788798; font-size: 9px; line-height: 1.8; }
.checkout-how li b { display: grid; width: 20px; height: 20px; flex: 0 0 auto; place-items: center; border-radius: 5px; background: #e8f3ff; color: #3477cf; font-family: Inter, Arial, sans-serif; font-size: 9px; }
.checkout-how li strong { color: #285f9f; }
.checkout-confirm-form { display: flex; align-items: end; gap: 16px; margin-top: 24px; border-top: 1px solid #e7ebeb; background: #fafcfb; padding: 22px 30px; }
.checkout-confirm-form label { flex: 1; color: #506177; font-size: 11px; font-weight: 800; }
.checkout-confirm-form label em { color: #96a1ae; font-size: 9px; font-style: normal; font-weight: 600; }
.checkout-confirm-form input { display: block; width: 100%; height: 42px; margin-top: 7px; border: 1px solid #d5dfe6; border-radius: 6px; outline: none; background: #fff; padding: 0 11px; color: #2c3f57; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 11px; }
.checkout-confirm-form input:focus { border-color: #5d91df; box-shadow: 0 0 0 3px rgba(65,121,208,.1); }
.checkout-confirm-form button, .checkout-result a { display: inline-flex; align-items: center; justify-content: space-between; gap: 19px; min-width: 210px; height: 43px; border: 0; border-radius: 6px; background: #2f76df; color: #fff; padding: 0 15px; font-family: "Cairo", Tahoma, sans-serif; font-size: 11px; font-weight: 800; text-decoration: none; box-shadow: 0 9px 18px rgba(47,118,223,.19); }
.checkout-confirm-form button:hover, .checkout-result a:hover { background: #4b89e7; transform: translateY(-1px); }
.checkout-confirm-form button span, .checkout-result a span { font-family: Inter, Arial, sans-serif; font-size: 16px; }
.checkout-result { display: grid; min-height: 460px; place-items: center; align-content: center; max-width: 920px; border: 1px solid #e0e5e4; border-radius: 18px; background: #fff; padding: 35px; text-align: center; box-shadow: 0 17px 40px rgba(41,52,72,.07); }
.checkout-result-icon { display: grid; width: 64px; height: 64px; place-items: center; margin-bottom: 17px; border-radius: 17px; background: #eaf3ff; color: #3978d4; font-family: Inter, Arial, sans-serif; font-size: 31px; font-weight: 700; }
.checkout-result h1 { font-size: 31px; }
.checkout-result p:not(.checkout-eyebrow) { max-width: 520px; margin: 10px auto 23px; color: #7d8999; font-size: 12px; line-height: 2; }
.checkout-result p strong { color: #2a466b; }
.checkout-result a { min-width: 210px; }
.approved-result .checkout-result-icon { background: #e9f9f1; color: #258954; }
.approved-result .checkout-eyebrow { color: #258954; }
.expired-result .checkout-result-icon, .rejected-result .checkout-result-icon { background: #fff0f1; color: #c94b5c; }
.expired-result .checkout-eyebrow, .rejected-result .checkout-eyebrow { color: #c34b5b; }

/* Account settings */
.account-settings-main { min-height: calc(100vh - 170px); background: #f3f6fa; }
.account-settings-title { border-bottom: 1px solid #dfe6ef; background: #fff; padding: 38px 0 33px; }
.account-settings-title .section-label { margin: 18px 0 7px; }
.account-settings-title h1 { margin: 0 0 7px; color: #15243d; font-size: 35px; }
.account-settings-title p:last-child { max-width: 690px; margin: 0; color: #7a889a; font-size: 13px; line-height: 2; }
.account-settings-content { padding: 31px 0 75px; }
.account-settings-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: start; gap: 21px; }
.account-settings-nav { position: sticky; top: 20px; overflow: hidden; border: 1px solid #dce5ef; border-radius: 11px; background: #fff; box-shadow: 0 8px 25px rgba(18,42,77,.045); }
.settings-user-card { display: flex; align-items: center; gap: 11px; background: linear-gradient(135deg, #102341, #1b4a90); color: #fff; padding: 20px; }
.settings-user-card > span { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(160,196,251,.55); border-radius: 8px; background: rgba(63,120,217,.35); font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: -1px; }
.settings-user-card strong, .settings-user-card small { display: block; }
.settings-user-card strong { font-size: 12px; }
.settings-user-card small { max-width: 160px; margin-top: 3px; overflow: hidden; color: #b9d0f2; font-family: Inter, Arial, sans-serif; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; direction: ltr; }
.account-settings-nav nav { padding: 9px; }
.account-settings-nav nav a { display: flex; align-items: center; justify-content: space-between; border-radius: 7px; color: #65758a; padding: 12px 11px; font-size: 11px; font-weight: 800; text-decoration: none; }
.account-settings-nav nav a:hover, .account-settings-nav nav a.is-active { background: #eef5ff; color: #326cc1; }
.account-settings-nav nav b { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 6px; background: #f0f4f9; color: #6984a5; font-family: Inter, Arial, sans-serif; font-size: 10px; }
.account-settings-nav nav a.is-active b { background: #dceaff; color: #3478ed; }
.account-settings-nav > p { margin: 4px 18px 18px; border-top: 1px solid #e7edf3; color: #8c99a9; padding-top: 14px; font-size: 9px; line-height: 1.9; }
.account-settings-panels { display: grid; gap: 20px; }
.settings-panel { scroll-margin-top: 18px; border: 1px solid #e0e7ef; border-radius: 11px; background: #fff; padding: 28px 30px; box-shadow: 0 8px 25px rgba(18,42,77,.045); }
.settings-panel-head { display: flex; align-items: flex-start; gap: 13px; border-bottom: 1px solid #e7ecf2; padding-bottom: 20px; }
.settings-panel-head > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #eaf2ff; color: #3978dc; font-family: Inter, Arial, sans-serif; font-size: 11px; font-weight: 800; }
.settings-panel-head p { margin: 0 0 3px; color: #6090d2; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.settings-panel-head h2 { margin: 0 0 4px; color: #2b3c55; font-size: 20px; }
.settings-panel-head small { color: #8794a5; font-size: 10px; line-height: 1.8; }
.settings-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 22px; }
.settings-form label { color: #52637a; font-size: 11px; font-weight: 800; }
.settings-form input { display: block; width: 100%; height: 46px; margin-top: 7px; border: 1px solid #d5dfeb; border-radius: 6px; outline: 0; background: #fff; padding: 0 12px; color: #263850; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 12px; }
.settings-form input:focus { border-color: #5991eb; box-shadow: 0 0 0 3px rgba(52,120,237,.1); }
.settings-form input[readonly] { border-style: dashed; background: #f7f9fb; color: #8693a4; direction: ltr; }
.settings-form-footer { display: flex; align-items: center; justify-content: space-between; grid-column: 1 / -1; gap: 16px; margin-top: 4px; border-top: 1px solid #e7edf3; padding-top: 18px; }
.settings-form-footer > span { color: #8895a6; font-size: 9px; }
.settings-form-footer button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 175px; height: 42px; border: 0; border-radius: 6px; background: #3478ed; color: #fff; padding: 0 14px; font-family: "Cairo", Tahoma, sans-serif; font-size: 11px; font-weight: 800; box-shadow: 0 8px 17px rgba(52,120,237,.18); }
.settings-form-footer button:hover { background: #4d89ef; transform: translateY(-1px); }
.settings-form-footer button b { font-family: Inter, Arial, sans-serif; font-size: 16px; }
.currency-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.currency-choice { position: relative; display: flex; align-items: center; gap: 11px; border: 1px solid #dbe3ed; border-radius: 9px; background: #fff; padding: 15px; cursor: pointer; transition: .18s ease; }
.currency-choice:has(input:checked) { border-color: #5e94e9; background: #f4f8ff; box-shadow: 0 0 0 3px rgba(52,120,237,.1); }
.currency-choice input { position: absolute; opacity: 0; pointer-events: none; }
.currency-choice-mark { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: #e8f1ff; color: #3478de; font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 800; }
.currency-choice > span:nth-child(3) { flex: 1; }
.currency-choice strong, .currency-choice small { display: block; }
.currency-choice strong { color: #33465f; font-size: 12px; }
.currency-choice small { margin-top: 4px; color: #8c9aab; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 9px; }
.currency-choice > b { color: #7590b1; font-family: Inter, Arial, sans-serif; font-size: 10px; }
.currency-rate-note { display: flex; align-items: center; justify-content: space-between; grid-column: 1 / -1; border-radius: 7px; background: #f5f9ff; color: #66809e; padding: 12px 14px; font-size: 10px; }
.currency-rate-note strong { color: #416b9e; }
.currency-rate-note span { font-family: Inter, Arial, sans-serif; font-weight: 800; }
.currency-form .settings-form-footer { margin-top: 0; }
.security-form { display: block; }
.security-form > label { display: block; max-width: 510px; }
.settings-two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 17px; }
.settings-security-tip { margin: 16px 0 0; border-right: 3px solid #e9a638; background: #fff9ec; color: #826233; padding: 11px 13px; font-size: 10px; line-height: 1.9; }
.security-form .settings-form-footer { margin-top: 18px; }
.credit-policy { grid-column: 1 / -1; margin-top: 3px; overflow: hidden; border: 1px solid #dfe6ef; border-radius: 13px; background: #fff; box-shadow: 0 10px 28px rgba(21,45,80,.045); }
.credit-policy-heading { padding: 28px 30px 21px; border-bottom: 1px solid #e6ebf2; }
.credit-policy-heading h2 { margin: 7px 0 5px; color: #24364e; font-size: 23px; }
.credit-policy-heading p:not(.section-label) { margin: 0; color: #8592a2; font-size: 12px; }
.credit-policy-items { display: grid; grid-template-columns: repeat(3, 1fr); }
.credit-policy-items article { min-height: 156px; padding: 24px 27px; border-left: 1px solid #e8edf3; }
.credit-policy-items article:first-child { border-left: 0; }
.credit-policy-items span { color: #5790e9; font-family: Inter, Arial, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.credit-policy-items h3 { margin: 7px 0 5px; color: #304159; font-size: 14px; }
.credit-policy-items p { margin: 0; color: #7e8b9b; font-size: 11px; line-height: 1.95; }
.credit-policy-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid #e7edf5; background: #f8fbff; padding: 14px 27px; }
.credit-policy-footer p { margin: 0; color: #758397; font-size: 10px; }
.credit-policy-footer a { display: inline-flex; align-items: center; gap: 13px; color: #2f6fce; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.credit-policy-footer a span { font-family: Inter, Arial, sans-serif; font-size: 17px; }

.client-orders { margin-top: 23px; border-top: 1px solid #e9edf2; }
.client-orders article { display: grid; grid-template-columns: minmax(0, 1fr) 80px 110px; align-items: center; gap: 18px; padding: 17px 0; border-bottom: 1px solid #e9edf2; }
.client-orders strong, .client-orders small { display: block; }
.client-orders strong { color: #34455e; font-size: 13px; }
.client-orders small { margin-top: 4px; color: #9ba6b2; font-family: Inter, Arial, sans-serif; font-size: 10px; }
.client-orders b { color: #315a90; font-family: Inter, Arial, sans-serif; font-size: 12px; text-align: center; direction: ltr; }
.status { display: inline-flex; align-items: center; justify-content: center; width: max-content; min-width: 81px; border-radius: 20px; padding: 5px 9px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status.pending { background: #fff6df; color: #9a6812; }
.status.in_progress { background: #e9f2ff; color: #3970bf; }
.status.completed { background: #e9f8ef; color: #23814a; }
.status.cancelled { background: #fff0f1; color: #bb4451; }

/* Category order history */
.order-history-main { min-height: calc(100vh - 170px); background: #f3f6fa; }
.order-history-title { padding: 39px 0 34px; border-bottom: 1px solid #e0e7f0; background: #fff; }
.order-history-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.order-history-heading h1 { margin: 8px 0 7px; color: #14223a; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 37px; letter-spacing: -.8px; }
.order-history-heading p:not(.section-label) { margin: 0; color: #7b899b; font-size: 13px; }
.history-new-order { display: inline-flex; align-items: center; gap: 17px; min-height: 44px; border: 1px solid #9dbcf0; border-radius: 6px; background: #f7fbff; color: #2866c0; padding: 0 17px; font-size: 12px; font-weight: 800; text-decoration: none; }
.history-new-order span { font-size: 18px; }
.order-history-content { padding: 31px 0 72px; }
.history-tabs { display: flex; overflow: hidden; width: max-content; max-width: 100%; margin-bottom: 20px; border: 1px solid #dce5f1; border-radius: 7px; background: #fff; }
.history-tabs a { border-left: 1px solid #e1e8f1; color: #748398; padding: 13px 23px; font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .18s ease, color .18s ease; }
.history-tabs a:first-child { border-left: 0; }
.history-tabs a:hover { background: #f5f9ff; color: #2869c7; }
.history-tabs a.is-active { background: #1f4f94; color: #fff; }
.history-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.history-summary article { position: relative; overflow: hidden; min-height: 137px; padding: 23px 25px; border: 1px solid #e1e7ef; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(20,44,79,.045); }
.history-summary article::after { position: absolute; left: -30px; bottom: -42px; width: 110px; height: 110px; border: 1px solid rgba(68,119,204,.16); border-radius: 50%; content: ""; }
.history-summary span, .history-summary small { display: block; color: #8794a5; font-size: 11px; }
.history-summary strong { display: block; margin: 6px 0 4px; color: #203758; font-family: Inter, Arial, sans-serif; font-size: 34px; letter-spacing: -1px; }
.history-summary .history-complete { border-color: #d9eee1; background: linear-gradient(120deg, #fff, #f3fbf6); }
.history-summary .history-complete strong { color: #23814a; }
.history-summary .history-cancelled { border-color: #f2d8dc; background: linear-gradient(120deg, #fff, #fff5f6); }
.history-summary .history-cancelled strong { color: #c64555; }
.order-history-panel { margin-top: 20px; padding: 28px; border: 1px solid #e0e6ee; border-radius: 11px; background: #fff; box-shadow: 0 8px 28px rgba(20,44,79,.05); }
.order-history-panel .panel-heading > span { color: #8592a3; font-family: Inter, Arial, sans-serif; font-size: 12px; }
.order-history-table-wrap { overflow-x: auto; margin-top: 23px; }
.order-history-table { width: 100%; min-width: 880px; border-collapse: collapse; text-align: right; }
.order-history-table th { padding: 12px; border-bottom: 1px solid #dfe7f0; color: #8290a2; font-size: 11px; font-weight: 700; }
.order-history-table td { padding: 16px 12px; border-bottom: 1px solid #edf1f5; color: #647388; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 11px; vertical-align: middle; }
.order-history-table tr:last-child td { border-bottom: 0; }
.order-history-table td strong { color: #30425b; font-size: 12px; }
.order-history-table td small { display: block; max-width: 280px; margin-top: 4px; overflow: hidden; color: #9aa6b4; font-family: "Cairo", Tahoma, sans-serif; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.order-history-table .history-price { color: #28568e; font-size: 12px; font-weight: 800; direction: ltr; }
.history-empty { max-width: 590px; margin: 38px auto 15px; padding: 30px; text-align: center; }
.history-empty > div { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 16px; border-radius: 10px; background: linear-gradient(145deg, #163c77, #3678e9); color: #fff; font-family: Inter, Arial, sans-serif; font-size: 15px; font-weight: 800; }
.history-empty h3 { margin: 0; color: #293b54; font-size: 18px; }
.history-empty p { margin: 8px auto 20px; color: #8390a1; font-size: 12px; line-height: 2; }

.admin-main { background: #f2f5f9; min-height: calc(100vh - 170px); }
.admin-title { padding: 42px 0 36px; border-bottom: 1px solid #dce4ed; background: linear-gradient(120deg, #10203e, #183968); color: #fff; }
.admin-title .section-label { color: #75aafc; }
.admin-title h1 { margin: 9px 0 5px; font-size: 34px; }
.admin-title p:not(.section-label) { margin: 0; color: #c3d2ea; font-size: 13px; }
.admin-content { padding: 34px 0 70px; }
.admin-section { margin-bottom: 24px; padding: 27px; border: 1px solid #e0e6ee; border-radius: 11px; background: #fff; box-shadow: 0 7px 26px rgba(24,46,77,.045); }
.admin-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.admin-section-heading h2 { margin: 5px 0 0; color: #26374e; font-size: 22px; }
.admin-section-heading > span { color: #8794a6; font-size: 12px; }
.admin-service-form { display: grid; grid-template-columns: 1.2fr .8fr .8fr .55fr; gap: 14px; padding: 20px; border-radius: 8px; background: #f7faff; }
.admin-service-form label { color: #69778b; font-size: 11px; font-weight: 700; }
.admin-service-form input { display: block; width: 100%; height: 42px; margin-top: 6px; border: 1px solid #d4deeb; border-radius: 5px; outline: none; background: #fff; padding: 0 10px; font-family: "Cairo", Tahoma, sans-serif; font-size: 12px; }
.admin-service-form select { display: block; width: 100%; height: 42px; margin-top: 6px; border: 1px solid #d4deeb; border-radius: 5px; outline: none; background: #fff; padding: 0 10px; color: #415269; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 11px; }
.admin-service-form input:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(52,120,237,.10); }
.admin-service-form .form-wide { grid-column: span 3; }
.admin-check { display: flex; align-items: center; gap: 7px; align-self: end; height: 42px; white-space: nowrap; }
.admin-check input { display: inline; width: 16px; height: 16px; margin: 0; accent-color: var(--blue-500); }
.admin-primary, .admin-secondary, .admin-approve, .admin-reject { min-height: 35px; border-radius: 5px; padding: 0 11px; font-family: "Cairo", Tahoma, sans-serif; font-size: 11px; font-weight: 700; transition: transform .18s ease, filter .18s ease; }
.admin-primary:hover, .admin-secondary:hover, .admin-approve:hover, .admin-reject:hover { transform: translateY(-1px); filter: brightness(1.04); }
.admin-primary { align-self: end; height: 42px; border: 0; background: var(--blue-500); color: #fff; }
.admin-secondary { border: 1px solid #b8cce9; background: #f1f6ff; color: #3269b4; }
.table-actions { display: flex; align-items: center; gap: 6px; }
.table-actions form { margin: 0; }
.table-actions a { display: inline-flex; align-items: center; text-decoration: none; }
.portal-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.edit-check { display: flex !important; align-items: center; gap: 8px; color: #617088 !important; font-size: 12px !important; }
.edit-check input { width: 17px !important; height: 17px !important; margin: 0 !important; accent-color: var(--blue-500); }
.form-actions { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin-top: 25px; }
.form-actions .auth-submit { width: 210px; }
.admin-table-wrap { overflow-x: auto; margin-top: 22px; }
.admin-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: right; }
.admin-table th { padding: 12px 11px; border-bottom: 1px solid #dfe6ef; color: #8190a2; font-size: 11px; font-weight: 700; }
.admin-table td { padding: 14px 11px; border-bottom: 1px solid #edf0f4; color: #536278; font-size: 12px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table strong, .admin-table small { display: block; }
.admin-table strong { color: #314159; font-size: 12px; }
.admin-table small { margin-top: 4px; color: #95a1af; font-size: 10px; line-height: 1.6; }
.status-form, .credit-actions { display: flex; align-items: center; gap: 6px; }
.status-form select { max-width: 140px; height: 35px; border: 1px solid #d5deea; border-radius: 5px; background: #fff; padding: 0 7px; font-family: "Cairo", Tahoma, sans-serif; font-size: 10px; }
.credit-actions form { margin: 0; }
.admin-approve { border: 0; background: #e7f8ef; color: #258149; }
.admin-reject { border: 0; background: #fff0f1; color: #bb4451; }
.table-empty { padding: 28px !important; color: #8e9aac !important; text-align: center; }

/* MD administration control center */
.admin-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; }
.admin-title-balance { min-width: 245px; border: 1px solid rgba(154,192,245,.3); border-radius: 9px; background: rgba(255,255,255,.07); padding: 15px 17px; }
.admin-title-balance span, .admin-title-balance small { display: block; }
.admin-title-balance span { color: #b4caeb; font-size: 10px; }
.admin-title-balance strong { display: block; margin: 4px 0 2px; color: #fff; font-family: Inter, Arial, sans-serif; font-size: 25px; letter-spacing: -1px; }
.admin-title-balance small { color: #87b4f7; font-size: 9px; }
.admin-shortcuts { display: flex; width: max-content; max-width: 100%; margin-top: 23px; overflow: hidden; border: 1px solid rgba(150,186,239,.2); border-radius: 7px; }
.admin-shortcuts a { display: inline-flex; align-items: center; gap: 10px; border-left: 1px solid rgba(150,186,239,.16); color: #d6e5fb; padding: 10px 15px; font-size: 11px; font-weight: 800; text-decoration: none; }
.admin-shortcuts a:first-child { border-left: 0; }
.admin-shortcuts a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-shortcuts b { display: grid; min-width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #4c8cf0; color: #fff; font-family: Inter, Arial, sans-serif; font-size: 10px; }
.admin-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.admin-overview article { position: relative; overflow: hidden; min-height: 130px; border: 1px solid #e0e7ef; border-radius: 10px; background: #fff; padding: 21px 22px; box-shadow: 0 7px 23px rgba(18,42,77,.045); }
.admin-overview article::after { position: absolute; left: -22px; bottom: -34px; width: 94px; height: 94px; border: 1px solid rgba(78,130,214,.14); border-radius: 50%; content: ""; }
.admin-overview span, .admin-overview small { display: block; color: #8491a2; font-size: 10px; }
.admin-overview strong { position: relative; z-index: 1; display: block; margin: 6px 0 4px; color: #233b5e; font-family: Inter, Arial, sans-serif; font-size: 31px; letter-spacing: -1px; }
.admin-overview .admin-stat-credit { border-color: #f0e0ba; background: linear-gradient(130deg, #fff, #fffaf0); }
.admin-overview .admin-stat-credit strong { color: #a27117; }
.admin-overview .admin-stat-orders { border-color: #d7e4f6; background: linear-gradient(130deg, #fff, #f5f9ff); }
.admin-overview .admin-stat-orders strong { color: #326ab6; }
.admin-attention { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin: 22px 0; border: 1px solid #dbe6f4; border-right: 4px solid #3977d9; border-radius: 10px; background: linear-gradient(115deg, #f8fbff, #eff6ff); padding: 19px 22px; }
.admin-attention h2 { margin: 5px 0 0; color: #283b57; font-size: 20px; }
.admin-attention-actions { display: flex; gap: 10px; }
.attention-action { display: flex; align-items: center; min-width: 245px; gap: 10px; border: 1px solid #d6e3f4; border-radius: 7px; background: #fff; color: #334864; padding: 10px; text-decoration: none; }
.attention-action:hover { border-color: #9dc0ef; box-shadow: 0 7px 16px rgba(31,78,141,.08); }
.attention-number { display: grid; flex: 0 0 auto; width: 31px; height: 31px; place-items: center; border-radius: 7px; background: #e9f2ff; color: #326dc0; font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 800; }
.attention-action strong, .attention-action small { display: block; }
.attention-action strong { font-size: 11px; }
.attention-action small { margin-top: 3px; color: #8290a0; font-size: 9px; }
.attention-action > b { margin-right: auto; color: #5b83bc; font-family: Inter, Arial, sans-serif; font-size: 17px; }
.admin-section-heading p:not(.section-label) { margin: 5px 0 0; color: #8995a5; font-size: 11px; }
.admin-count-badge { border-radius: 15px; background: #f1f5fa; color: #728096 !important; padding: 6px 10px; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 10px !important; font-weight: 800; }
.admin-count-badge.has-pending { background: #fff4dc; color: #9b6b16 !important; }
.admin-reference { display: inline-block; max-width: 180px; overflow: hidden; border: 1px solid #e1e8f0; border-radius: 5px; background: #f8fafc; color: #52647c; padding: 5px 7px; font-family: Inter, "Cairo", Arial, sans-serif; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-bank-rate { display: flex; align-items: end; gap: 14px; margin: -4px 0 22px; border: 1px solid #cae3d8; border-right: 4px solid #29936b; border-radius: 9px; background: linear-gradient(115deg, #f4fcf8, #fff); padding: 16px 18px; }
.admin-bank-rate > div { flex: 1; }
.admin-bank-rate span, .admin-bank-rate strong, .admin-bank-rate small { display: block; }
.admin-bank-rate span { color: #469177; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.admin-bank-rate strong { margin: 4px 0; color: #2d5047; font-size: 14px; }
.admin-bank-rate strong b { color: #137959; font-family: Inter, Arial, sans-serif; font-size: 18px; }
.admin-bank-rate small { color: #759287; font-size: 9px; line-height: 1.8; }
.admin-bank-rate label { color: #5a706b; font-size: 10px; font-weight: 800; }
.admin-bank-rate input { display: block; width: 144px; height: 38px; margin-top: 6px; border: 1px solid #c8ddd5; border-radius: 6px; outline: 0; background: #fff; padding: 0 9px; color: #285c4c; font-family: Inter, Arial, sans-serif; font-size: 12px; }
.admin-bank-rate input:focus { border-color: #49a886; box-shadow: 0 0 0 3px rgba(51,151,110,.1); }
.admin-bank-rate .admin-primary { height: 38px; }
.admin-done { color: #7e8b9d; font-size: 10px; }
.email-settings-main { min-height: calc(100vh - 170px); padding: 58px 18px 76px; background: radial-gradient(circle at 77% 10%, rgba(52,120,237,.16), transparent 25%), linear-gradient(125deg, #f1f5fb, #f8fafc); }
.email-settings-wrap { display: grid; grid-template-columns: minmax(260px, .76fr) minmax(0, 1.14fr); width: min(100%, 1040px); margin: 0 auto; overflow: hidden; border: 1px solid #dce5f0; border-radius: 16px; background: #fff; box-shadow: 0 22px 58px rgba(13,31,61,.12); }
.email-settings-intro { position: relative; overflow: hidden; min-height: 520px; background: linear-gradient(145deg, #0b1730, #163c76); color: #fff; padding: 38px 34px; }
.email-settings-intro::after { position: absolute; left: -96px; bottom: -102px; width: 255px; height: 255px; border: 1px solid rgba(117,171,253,.22); border-radius: 50%; box-shadow: 0 0 0 30px rgba(117,171,253,.05), 0 0 0 60px rgba(117,171,253,.025); content: ""; }
.email-settings-back { display: inline-flex; margin-bottom: 58px; color: #aac8f7; font-size: 10px; font-weight: 800; text-decoration: none; }
.email-settings-back:hover { color: #fff; }
.email-settings-intro .section-label { color: #82b2ff; }
.email-settings-intro h1 { margin: 10px 0 10px; font-size: 31px; }
.email-settings-intro > p:not(.section-label) { max-width: 330px; margin: 0; color: #c2d4ee; font-size: 12px; line-height: 2; }
.email-security-note { position: relative; z-index: 1; display: flex; gap: 11px; margin-top: 32px; border: 1px solid rgba(148,188,248,.22); border-radius: 10px; background: rgba(255,255,255,.075); padding: 16px; }
.email-security-note > b { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #55cf9a; color: #0c3c32; font-family: Inter, Arial, sans-serif; font-size: 12px; }
.email-security-note strong, .email-security-note small { display: block; }
.email-security-note strong { font-size: 12px; }
.email-security-note small { margin-top: 4px; color: #c6d7f0; font-size: 10px; line-height: 1.8; }
.email-settings-card { padding: 42px 43px; }
.email-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 30px; }
.email-card-head span, .email-test-box span { color: #5284cc; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.email-card-head h2 { margin: 6px 0 0; color: #263a55; font-size: 24px; }
.email-status { border-radius: 14px; background: #fff1f2; color: #c14b5a; padding: 6px 10px; font-size: 10px; white-space: nowrap; }
.email-status.is-ready { background: #e9f9f0; color: #25804a; }
.email-settings-form label { display: block; margin-bottom: 18px; color: #4b5c72; font-size: 12px; font-weight: 800; }
.email-settings-form input, .email-test-box input { display: block; width: 100%; height: 50px; margin-top: 8px; border: 1px solid #d3deec; border-radius: 7px; outline: 0; background: #fbfcfe; padding: 0 14px; color: #223754; font-family: Inter, Arial, sans-serif; font-size: 13px; }
.email-settings-form input:focus, .email-test-box input:focus { border-color: #5b91e4; box-shadow: 0 0 0 3px rgba(52,120,237,.11); }
.email-settings-form > p { margin: -4px 0 21px; color: #8491a3; font-size: 10px; line-height: 1.9; }
.email-save { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 50px; border: 0; border-radius: 7px; background: #3478ed; color: #fff; padding: 0 16px; font-family: "Cairo", Tahoma, sans-serif; font-size: 12px; font-weight: 800; box-shadow: 0 10px 20px rgba(52,120,237,.2); }
.email-save:hover { background: #4b89ef; }
.email-save span { font-family: Inter, Arial, sans-serif; font-size: 18px; }
.email-test-box { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 29px; border-top: 1px solid #e8edf4; padding-top: 25px; }
.email-test-box h3 { margin: 5px 0 3px; color: #30425c; font-size: 16px; }
.email-test-box p { max-width: 260px; margin: 0; color: #8794a5; font-size: 10px; line-height: 1.8; }
.email-test-box form { display: flex; flex: 0 0 245px; flex-direction: column; gap: 8px; }
.email-test-box input { height: 39px; margin: 0; font-size: 11px; }
.email-test-box button { height: 37px; border: 1px solid #a9c6ed; border-radius: 6px; background: #f3f8ff; color: #2d68b5; font-family: "Cairo", Tahoma, sans-serif; font-size: 11px; font-weight: 800; }
.email-test-box button:hover { background: #e7f1ff; }
.admin-category { display: inline-block; border-radius: 12px; background: #edf4ff; color: #4277bf; padding: 5px 8px; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 700; white-space: nowrap; }
.admin-add-service { margin: 2px 0 20px; border: 1px solid #dce6f2; border-radius: 8px; background: #f8fbff; }
.admin-add-service summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: #3a5e90; padding: 14px 17px; font-size: 12px; font-weight: 800; }
.admin-add-service summary::-webkit-details-marker { display: none; }
.admin-add-service summary > span { display: inline-flex; align-items: center; gap: 9px; }
.admin-add-service summary b { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #3978dd; color: #fff; font-family: Inter, Arial, sans-serif; font-size: 15px; }
.admin-add-service summary small { color: #8997a9; font-size: 10px; font-weight: 600; }
.admin-add-service[open] summary { border-bottom: 1px solid #dce6f2; background: #f1f7ff; }
.admin-add-service .admin-service-form { border-radius: 0 0 8px 8px; }

@media (max-width: 900px) {
  .flash-area { top: 86px; right: 18px; }
  .auth-main, .form-main { min-height: calc(100vh - 148px); }
  .admin-service-form { grid-template-columns: 1fr 1fr; }
  .admin-service-form .form-wide { grid-column: span 2; }
  .portal-form-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 600px) {
  .auth-card .auth-modal-head, .auth-card .auth-form, .form-card { padding-right: 24px; padding-left: 24px; }
  .verification-head-icon { left: 24px; }
  .verification-resend { flex-wrap: wrap; }
  .form-card h1 { font-size: 25px; }
  .client-orders article { grid-template-columns: 1fr auto; }
  .client-orders .status { grid-column: 1 / -1; }
  .admin-section { padding: 21px 16px; }
  .admin-section-heading { align-items: start; flex-direction: column; }
  .admin-service-form { grid-template-columns: 1fr; }
  .admin-service-form .form-wide { grid-column: auto; }
}

/* Language selector and MD Assistant */
.language-selector { position: relative; display: flex; align-items: center; align-self: stretch; }
.language-button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: #dce7f8; padding: 0 12px; font-family: "Cairo", "Inter", Tahoma, Arial, sans-serif; font-size: 12px; font-weight: 800; white-space: nowrap; }
.language-button:hover, .language-selector.is-open .language-button { background: rgba(255,255,255,.07); color: #fff; }
.language-icon-wrap { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #7999ca; border-radius: 50%; color: #8cb7ff; }
.language-icon { width: 14px; height: 14px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.language-arrow { color: #94aaca; font-family: Inter, Arial, sans-serif; font-size: 15px; }
.language-menu { position: absolute; top: calc(100% + 1px); right: 0; z-index: 40; width: 158px; overflow: hidden; border: 1px solid rgba(128,156,203,.18); border-top: 2px solid var(--blue-500); border-radius: 0 0 13px 13px; background: #16233f; box-shadow: 0 18px 32px rgba(2,8,21,.38); opacity: 0; visibility: hidden; transform: translateY(-7px); transition: .18s ease; }
.language-selector.is-open .language-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.language-menu button { display: block; width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.055); background: transparent; color: #d8e2f3; padding: 12px 17px; text-align: left; font-family: Inter, Arial, sans-serif; font-size: 12px; }
.language-menu button:hover, .language-menu button.is-active { background: #24395d; color: #fff; }

body.is-ltr { direction: ltr; font-family: Inter, "Cairo", Arial, sans-serif; }
body.is-ltr .hero-content, body.is-ltr .page-title, body.is-ltr .dashboard-title, body.is-ltr .admin-title, body.is-ltr .manual-credit { text-align: left; }
body.is-ltr .highlights article::before { right: auto; left: 34px; }
body.is-ltr .highlights strong { margin-right: 0; margin-left: 15px; }
body.is-ltr .service-row b { text-align: center; }
body.is-ltr .site-footer, body.is-ltr .form-card, body.is-ltr .dashboard-main, body.is-ltr .admin-main { text-align: left; }
body.is-ltr .account-notice { border-right: 0; border-left: 4px solid var(--blue-500); }
.welcome h1 span:not(.hero-accent) { color: #fff; }
.welcome h1 .hero-accent { color: #659cff; }

.md-assistant-launch { position: fixed; z-index: 55; bottom: 24px; left: 24px; display: flex; align-items: center; gap: 9px; min-height: 52px; border: 1px solid rgba(138,179,244,.55); border-radius: 28px; background: linear-gradient(135deg, #133a77, #1d6be0); box-shadow: 0 15px 34px rgba(19,68,147,.32); color: #fff; padding: 0 16px 0 11px; font-family: Inter, Arial, sans-serif; transition: transform .22s ease, box-shadow .22s ease; }
.md-assistant-launch:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(19,68,147,.42); }
.md-assistant-launch strong { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); font-size: 12px; letter-spacing: -1px; }
.md-assistant-launch small { position: relative; font-size: 11px; font-weight: 700; }
.assistant-pulse { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: #61e49a; box-shadow: 0 0 0 0 rgba(97,228,154,.6); animation: assistant-pulse 2.4s infinite; }
.md-assistant { position: fixed; z-index: 60; bottom: 89px; left: 24px; display: flex; width: min(390px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 115px)); flex-direction: column; overflow: hidden; border: 1px solid #254d8c; border-radius: 17px; background: #fff; box-shadow: 0 24px 70px rgba(5,20,50,.28); opacity: 0; pointer-events: none; transform: translateY(14px) scale(.97); transition: opacity .22s ease, transform .22s ease; }
.md-assistant.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.md-assistant > header { display: flex; align-items: start; justify-content: space-between; padding: 21px 20px 18px; background: linear-gradient(135deg, #0d1c38, #183b70); color: #fff; }
.md-assistant > header > div { display: flex; align-items: center; gap: 10px; }
.assistant-status { width: 9px; height: 9px; border-radius: 50%; background: #59dc94; box-shadow: 0 0 0 5px rgba(89,220,148,.12); }
.md-assistant header p { margin: 0 0 4px; color: #83afff; font-family: Inter, Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 1.7px; }
.md-assistant header h2 { margin: 0; font-size: 16px; }
.md-assistant > header button { border: 0; background: transparent; color: #e7effe; font-size: 28px; font-weight: 300; line-height: .8; }
.assistant-messages { flex: 1; min-height: 145px; overflow-y: auto; padding: 16px; background: #f8faff; }
.assistant-message { width: fit-content; max-width: 88%; margin-bottom: 10px; border-radius: 11px; padding: 10px 12px; font-size: 12px; line-height: 1.8; animation: message-in .24s ease both; }
.assistant-message-bot { border: 1px solid #dfe9f8; border-bottom-right-radius: 3px; background: #fff; color: #40526d; }
.assistant-message-user { margin-right: auto; border-bottom-left-radius: 3px; background: #3478ed; color: #fff; }
.assistant-quick-actions { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 15px 9px; border-top: 1px solid #e7edf5; background: #fff; }
.assistant-quick-actions button { border: 1px solid #caddf8; border-radius: 15px; background: #f4f8ff; color: #386db6; padding: 6px 9px; font-family: "Cairo", Tahoma, sans-serif; font-size: 10px; font-weight: 700; transition: .18s ease; }
.assistant-quick-actions button:hover { border-color: #5790ee; background: #eaf2ff; }
.assistant-form { display: flex; gap: 8px; padding: 10px 15px; border-top: 1px solid #e7edf5; background: #fff; }
.assistant-form input { min-width: 0; flex: 1; height: 38px; border: 1px solid #cedaea; border-radius: 6px; outline: none; padding: 0 10px; color: #2a3a52; font-family: "Cairo", Tahoma, sans-serif; font-size: 11px; }
.assistant-form input:focus { border-color: #5790ee; box-shadow: 0 0 0 3px rgba(52,120,237,.1); }
.assistant-form button { width: 38px; border: 0; border-radius: 6px; background: var(--blue-500); color: #fff; font-size: 18px; transition: background .18s ease; }
.assistant-form button:hover { background: #4b8af3; }
.assistant-note { margin: 0; padding: 0 16px 13px; background: #fff; color: #95a1b0; font-size: 9px; line-height: 1.7; }
.reveal-on-scroll { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.25,1); }
.reveal-on-scroll.is-revealed { opacity: 1; transform: translateY(0); }
@keyframes assistant-pulse { 70% { box-shadow: 0 0 0 7px rgba(97,228,154,0); } 100% { box-shadow: 0 0 0 0 rgba(97,228,154,0); } }
@keyframes message-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1200px) { .language-button { padding: 0 9px; } .language-button [data-language-label] { display: none; } }
@media (max-width: 600px) { .md-assistant-launch { bottom: 17px; left: 17px; } .md-assistant { bottom: 78px; left: 16px; } .md-assistant-launch small { display: none; } .language-selector { display: none; } .reveal-on-scroll { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .history-summary { grid-template-columns: repeat(2, 1fr); }
  .admin-overview { grid-template-columns: repeat(2, 1fr); }
  .admin-attention { align-items: flex-start; flex-direction: column; }
  .admin-bank-rate { align-items: flex-start; flex-wrap: wrap; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-sidebar { min-height: auto; padding-bottom: 27px; }
  .checkout-panel { padding: 43px 36px 60px; }
  .account-menu { display: none; }
  .account-settings-layout { grid-template-columns: 1fr; }
  .account-settings-nav { position: static; }
}

@media (max-width: 600px) {
  .order-history-heading { align-items: flex-start; flex-direction: column; }
  .order-history-heading h1 { font-size: 30px; }
  .history-summary { grid-template-columns: 1fr; }
  .history-tabs { width: 100%; overflow-x: auto; }
  .history-tabs a { flex: 0 0 auto; padding: 12px 18px; }
  .order-history-panel { padding: 21px 16px; }
  .credit-intro-row, .credit-form-footer, .credit-policy-footer { align-items: flex-start; flex-direction: column; }
  .credit-intro h1 { font-size: 29px; }
  .credit-whatsapp-top { width: 100%; }
  .credit-layout, .credit-form-grid, .credit-methods, .credit-policy-items { grid-template-columns: 1fr; }
  .bank-details-grid { grid-template-columns: 1fr; }
  .credit-request-card { padding: 24px 18px; }
  .credit-policy-heading, .credit-policy-items article { padding-right: 20px; padding-left: 20px; }
  .credit-policy-items article, .credit-policy-items article:first-child { border: 0; border-bottom: 1px solid #e8edf3; }
  .credit-policy-items article:last-child { border-bottom: 0; }
  .credit-policy-footer { padding: 16px 20px; }
  .credit-submit { width: 100%; }
  .admin-title-row { align-items: flex-start; flex-direction: column; }
  .admin-title-balance { width: 100%; }
  .admin-shortcuts { width: 100%; overflow-x: auto; }
  .admin-shortcuts a { flex: 1 0 auto; justify-content: space-between; }
  .admin-overview { grid-template-columns: 1fr; }
  .admin-attention-actions { width: 100%; flex-direction: column; }
  .attention-action { width: 100%; min-width: 0; }
  .admin-add-service summary { align-items: flex-start; flex-direction: column; gap: 6px; }
  .admin-bank-rate { align-items: stretch; flex-direction: column; }
  .admin-bank-rate input, .admin-bank-rate .admin-primary { width: 100%; }
  .credit-invoice-preview { align-items: flex-start; flex-wrap: wrap; }
  .credit-invoice-preview p { width: 100%; margin-right: 0; }
  .checkout-topbar .container { align-items: flex-start; flex-direction: column; gap: 6px; padding-top: 12px; padding-bottom: 12px; }
  .checkout-layout { width: 100%; }
  .checkout-panel { padding: 34px 16px 55px; }
  .checkout-sidebar { border-radius: 0; }
  .checkout-panel h1 { font-size: 29px; }
  .checkout-progress { overflow-x: auto; padding-bottom: 3px; }
  .checkout-progress i { min-width: 24px; }
  .checkout-details-head, .checkout-confirm-form { align-items: flex-start; flex-direction: column; }
  .checkout-values, .checkout-bank-recipient, .checkout-how ol { grid-template-columns: 1fr; }
  .checkout-values, .checkout-details-head { padding-right: 18px; padding-left: 18px; }
  .checkout-recipient, .checkout-bank-recipient, .checkout-important, .checkout-how { margin-right: 18px; margin-left: 18px; }
  .checkout-recipient { padding-left: 18px; }
  .checkout-recipient > button { position: static; margin-top: 10px; transform: none; }
  .checkout-bank-recipient article { padding-left: 16px; }
  .checkout-bank-recipient button { position: static; margin-top: 10px; transform: none; }
  .checkout-confirm-form { padding-right: 18px; padding-left: 18px; }
  .checkout-confirm-form button, .checkout-result a { width: 100%; }
  .account-settings-title { padding-top: 30px; padding-bottom: 27px; }
  .account-settings-title h1 { font-size: 29px; }
  .settings-panel { padding: 23px 18px; }
  .settings-form, .currency-form, .settings-two-fields { grid-template-columns: 1fr; }
  .settings-form-footer { align-items: flex-start; flex-direction: column; }
  .settings-form-footer button { width: 100%; }
  .email-settings-main { padding: 28px 13px 58px; }
  .email-settings-wrap { grid-template-columns: 1fr; }
  .email-settings-intro { min-height: auto; padding: 30px 24px; }
  .email-settings-card { padding: 30px 24px; }
  .email-settings-back { margin-bottom: 38px; }
  .email-settings-intro h1 { font-size: 26px; }
  .email-test-box { align-items: stretch; flex-direction: column; }
  .email-test-box form { flex: auto; }
}
