:root {
  --bg: #000815;
  --bg-2: #000c1a;
  --panel: #061020;
  --panel-2: #071322;
  --line: rgba(137, 162, 201, 0.18);
  --line-soft: rgba(137, 162, 201, 0.1);
  --text: #f4f6fb;
  --muted: #b6bdca;
  --purple: #8b2cff;
  --purple-2: #6820e9;
  --purple-light: #bb55ff;
  --cyan: #18d8ff;
  --green: #68ff50;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Cairo", Arial, sans-serif;
}
body {
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  background:
    radial-gradient(
      700px 500px at 76% 45%,
      rgba(19, 37, 74, 0.16),
      transparent 70%
    ),
    linear-gradient(135deg, #000815 0%, #000b19 55%, #000612 100%);
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 248px;
  border-right: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #020a16 0%, #010914 100%);
  flex-direction: column;
  z-index: 1000;
}
.brand {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-soft);
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid #852cff;
  border-radius: 15px 22px 22px 15px;
  box-shadow: 0 0 20px rgba(128, 38, 255, 0.18);
}
.brand-d {
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
  color: #9a36ff;
}
.brand-name {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
}
.brand-subtitle {
  font-size: 12px;
  color: #a8afbc;
  margin-top: 5px;
}

.side-nav {
  padding: 20px 13px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 17px;
  height: 48px;
  padding: 0 13px;
  margin: 3px 0;
  border-radius: 10px;
  color: #dce1ea;
  font-size: 15px;
  transition: 0.22s ease;
}
.side-link i {
  font-size: 20px;
  color: #aeb6c5;
  width: 23px;
  text-align: center;
}
.side-link:hover {
  background: rgba(125, 43, 255, 0.08);
  color: #fff;
}
.side-link.active {
  background: linear-gradient(90deg, rgba(126, 42, 255, 0.12), transparent);
  color: #fff;
}
.side-link.active i {
  color: #b24aff;
}

.secure-card {
  margin: auto 18px 20px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(7, 17, 31, 0.72);
  display: flex;
  gap: 13px;
}
.secure-icon {
  font-size: 23px;
  color: #d9dce5;
}
.secure-card strong {
  font-size: 14px;
}
.secure-card p {
  font-size: 11px;
  line-height: 1.7;
  color: #9fa8b7;
  margin: 5px 0 0;
}

.main-area {
  margin-left: 248px;
  width: calc(100% - 248px);
  min-width: 0;
}
.topbar {
  height: 80px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 24px;
  background: rgba(0, 7, 17, 0.74);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 900;
}
.topbar-spacer {
  flex: 1;
}
.language-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #f0f2f7;
}
.language-selector i:first-child {
  font-size: 19px;
  color: #bfc6d2;
}
.tiny {
  font-size: 10px !important;
}
.divider {
  height: 28px;
  width: 1px;
  background: var(--line-soft);
}
.icon-btn,
.hamburger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line-soft);
  color: #fff;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.icon-btn:hover,
.hamburger:hover {
  border-color: rgba(166, 74, 255, 0.5);
  background: rgba(135, 43, 255, 0.08);
}
.btn-signin,
.btn-create {
  min-width: 112px;
  height: 43px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.btn-signin {
  border: 1px solid rgba(137, 162, 201, 0.2);
  color: #d9b7ff;
}
.btn-create {
  background: linear-gradient(135deg, #6f21dd, #7e27ed);
  box-shadow: 0 8px 22px rgba(107, 31, 225, 0.18);
}

.content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 40px 28px;
}
.breadcrumb-row {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #c8cdd7;
}
.breadcrumb-row i {
  font-size: 10px;
  color: #7e8795;
}
.breadcrumb-row .current {
  color: #a845ff;
}

.verification-card {
  width: 100%;
  min-height: 746px;
  border: 1px solid rgba(142, 160, 191, 0.2);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(
    120deg,
    rgba(4, 13, 27, 0.96),
    rgba(5, 16, 29, 0.92)
  );
  display: grid;
  grid-template-columns: 40% 60%;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

.visual-panel {
  position: relative;
  min-height: 744px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(83, 24, 173, 0.11),
      transparent 39%
    ),
    linear-gradient(180deg, rgba(2, 9, 20, 0.35), rgba(1, 10, 20, 0.78));
}
.visual-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(116, 42, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 42, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 20%,
    black 75%,
    transparent
  );
}
.visual-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(111, 31, 255, 0.08);
  filter: blur(60px);
}
.verification-art {
  width: 90%;
  max-width: 510px;
  position: relative;
  z-index: 1;
}

.details-panel {
  padding: 34px 42px 26px;
  min-width: 0;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(75, 196, 35, 0.09);
  border: 1px solid rgba(86, 255, 76, 0.13);
  color: #75ff4f;
  font-size: 13px;
}
.status-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #68ff50;
  box-shadow: 0 0 9px #68ff50;
}
.details-panel h1 {
  font-size: 31px;
  line-height: 1.2;
  margin: 15px 0 8px;
  font-weight: 700;
}
.lead-copy {
  font-size: 15px;
  line-height: 1.8;
  color: #c2c8d2;
  margin: 0 0 24px;
}

.email-box {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(9, 22, 38, 0.62);
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 15px 18px;
}
.email-icon {
  width: 49px;
  height: 49px;
  border-radius: 7px;
  background: rgba(115, 30, 231, 0.19);
  display: grid;
  place-items: center;
  color: #c34cff;
  font-size: 25px;
}
.email-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.email-copy span {
  font-size: 14px;
  color: #d1d5dd;
}
.email-copy strong {
  font-size: 17px;
  color: #1ddcff;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.change-email {
  margin-left: auto;
  background: none;
  border: 0;
  color: #24d8ff;
  font-size: 13px;
  white-space: nowrap;
}

.details-panel h2 {
  font-size: 18px;
  margin: 27px 0 17px;
  font-weight: 700;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.step {
  display: flex;
  align-items: center;
  gap: 17px;
}
.step p {
  margin: 0;
  color: #c9ced8;
  font-size: 14px;
}
.step-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 29px;
}
.step-icon.purple {
  color: #bf4dff;
}
.step-icon.cyan {
  color: #18d8ff;
}
.step-icon.green {
  color: #68ff50;
}

.resend-box {
  min-height: 90px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 23px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(8, 21, 36, 0.62);
}
.resend-left {
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
}
.clock-icon {
  font-size: 34px;
  color: #20d7ff;
  line-height: 1;
}
.resend-left strong,
.resend-left span {
  display: block;
}
.resend-left strong {
  font-size: 14px;
}
.resend-left span {
  font-size: 12px;
  color: #9da6b5;
  margin-top: 4px;
}
.resend-action {
  text-align: center;
  flex: 0 0 145px;
}
.resend-action button {
  width: 145px;
  height: 39px;
  background: transparent;
  border: 1px solid #20d7ff;
  color: #20d7ff;
  border-radius: 6px;
  font-size: 13px;
}
.resend-action button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.resend-action small {
  display: block;
  color: #9da6b5;
  font-size: 12px;
  margin-top: 5px;
}

.help-section {
  border-top: 1px solid var(--line-soft);
  margin-top: 27px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.help-section h2 {
  font-size: 17px;
  margin: 0 0 5px;
}
.help-section p {
  font-size: 12px;
  line-height: 1.8;
  color: #a8afbc;
  margin: 0;
}
.support-btn {
  height: 45px;
  min-width: 190px;
  background: transparent;
  border: 1px solid rgba(158, 50, 255, 0.6);
  color: #bb55ff;
  border-radius: 6px;
  font-size: 13px;
}
.support-btn:hover {
  background: rgba(141, 40, 255, 0.08);
}

.page-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: #a7afbd;
  font-size: 13px;
  padding: 29px 0 0;
}
.page-footer i {
  font-size: 14px;
}
.page-footer a {
  color: #a940ff;
}

.mobile-menu {
  width: min(310px, 86vw);
  background: #030c18;
  color: #fff;
  border-right: 1px solid var(--line);
}
.mobile-brand {
  height: 68px;
  padding: 0;
}
.mobile-menu .side-nav {
  padding: 15px 0;
}
.mobile-menu .secure-card {
  margin-left: 0;
  margin-right: 0;
}

.dark-modal {
  background: #061020;
  border: 1px solid var(--line);
  color: #fff;
}
.dark-modal .modal-header,
.dark-modal .modal-footer {
  border-color: var(--line-soft);
}
.custom-input {
  background: #020a15;
  border-color: var(--line);
  color: #fff;
}
.custom-input:focus {
  background: #020a15;
  color: #fff;
  border-color: #8d35ff;
  box-shadow: 0 0 0 0.2rem rgba(141, 53, 255, 0.13);
}
.modal-cancel,
.modal-save {
  padding: 9px 18px;
  border-radius: 5px;
  font-size: 13px;
}
.modal-cancel {
  background: transparent;
  border: 1px solid var(--line);
  color: #ddd;
}
.modal-save {
  background: #7024df;
  border: 1px solid #8e39ff;
  color: #fff;
}

@media (max-width: 1100px) {
  .content {
    padding-left: 25px;
    padding-right: 25px;
  }
  .verification-card {
    grid-template-columns: 36% 64%;
  }
  .details-panel {
    padding: 32px 30px;
  }
  .verification-art {
    width: 102%;
  }
}

@media (max-width: 991.98px) {
  .main-area {
    margin-left: 0;
    width: 100%;
  }
  .topbar {
    height: 70px;
    padding: 0 18px;
    gap: 13px;
  }
  .hamburger {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }
  .content {
    padding: 20px 18px 25px;
  }
  .verification-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .visual-panel {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .verification-art {
    width: min(520px, 90%);
    height: 370px;
  }
  .details-panel {
    padding: 30px;
  }
  .language-selector {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 0 12px;
  }
  .language-selector {
    display: none;
  }
  .divider {
    display: none;
  }
  .btn-signin,
  .btn-create {
    min-width: auto;
    padding: 0 13px;
    height: 39px;
    font-size: 12px;
  }
  .icon-btn {
    width: 39px;
    height: 39px;
  }
  .content {
    padding: 14px 10px 22px;
  }
  .breadcrumb-row {
    font-size: 12px;
    padding: 0 5px;
  }
  .verification-card {
    border-radius: 12px;
  }
  .visual-panel {
    min-height: 305px;
  }
  .verification-art {
    height: 300px;
    width: 106%;
  }
  .details-panel {
    padding: 23px 18px 20px;
  }
  .status-pill {
    font-size: 11px;
  }
  .details-panel h1 {
    font-size: 25px;
  }
  .lead-copy {
    font-size: 13px;
    line-height: 1.75;
  }
  .desktop-only {
    display: none;
  }
  .email-box {
    padding: 13px;
    gap: 11px;
    align-items: flex-start;
  }
  .email-icon {
    width: 43px;
    height: 43px;
    font-size: 21px;
  }
  .email-copy span {
    font-size: 11px;
  }
  .email-copy strong {
    font-size: 14px;
  }
  .change-email {
    font-size: 11px;
    padding: 4px 0;
  }
  .details-panel h2 {
    font-size: 16px;
    margin-top: 23px;
  }
  .step {
    gap: 10px;
  }
  .step p {
    font-size: 12px;
    line-height: 1.6;
  }
  .resend-box {
    padding: 14px;
    align-items: flex-start;
    flex-direction: column;
  }
  .resend-action {
    width: 100%;
    flex-basis: auto;
  }
  .resend-action button {
    width: 100%;
  }
  .help-section {
    align-items: stretch;
    flex-direction: column;
  }
  .support-btn {
    width: 100%;
  }
  .page-footer {
    font-size: 10px;
    text-align: center;
    line-height: 1.7;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 380px) {
  .btn-create {
    display: none;
  }
  .details-panel h1 {
    font-size: 22px;
  }
  .visual-panel {
    min-height: 275px;
  }
  .verification-art {
    height: 270px;
  }
}
