.nav-reserved-btn {
  appearance: none;
  min-height: 36px;
  padding: 7px 14px;
  border: 2px solid var(--blue, #00c8ff);
  border-radius: 3px;
  background: #060608;
  color: var(--blue, #00c8ff);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-reserved-btn:hover,
.nav-reserved-btn:focus-visible {
  background: rgba(0, 200, 255, 0.1);
  color: #e9fbff;
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.12);
  outline: none;
}

.reserved-modal {
  position: fixed;
  inset: 0;
  z-index: 4100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 4, 7, 0.82);
  animation: reservedFadeIn 180ms ease-out both;
}

.reserved-modal[hidden] {
  display: none;
}

.reserved-modal-panel {
  position: relative;
  width: min(430px, 100%);
  padding: 30px;
  border: 1px solid rgba(0, 200, 255, 0.45);
  border-radius: 8px;
  background: #0a0c10;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.66);
  animation: reservedPanelIn 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reserved-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: #101319;
  color: #c4c8d4;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.reserved-modal-close:hover,
.reserved-modal-close:focus-visible {
  border-color: var(--blue, #00c8ff);
  color: var(--blue, #00c8ff);
  outline: none;
}

.reserved-modal-kicker {
  margin-bottom: 10px;
  color: var(--blue, #00c8ff);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reserved-modal-title {
  margin: 0 44px 8px 0;
  color: #f7f9fc;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  letter-spacing: 0;
}

.reserved-modal-copy {
  margin: 0 0 22px;
  color: #8a8f9e;
  font-size: 13px;
  line-height: 1.6;
}

.reserved-password-label {
  display: block;
  margin-bottom: 8px;
  color: #c4c8d4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reserved-password-control {
  display: grid;
  grid-template-columns: 1fr 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: #11141a;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.reserved-password-control:focus-within {
  border-color: var(--blue, #00c8ff);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.1);
}

.reserved-password-input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #f7f9fc;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
}

.reserved-password-input::placeholder {
  color: #575d6c;
}

.reserved-password-toggle {
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #8a8f9e;
  cursor: pointer;
}

.reserved-password-toggle:hover,
.reserved-password-toggle:focus-visible {
  color: var(--blue, #00c8ff);
  outline: none;
}

.reserved-eye-icon {
  position: relative;
  width: 19px;
  height: 12px;
  border: 1.8px solid currentColor;
  border-radius: 50% / 65%;
}

.reserved-eye-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.reserved-password-toggle[aria-pressed='true'] .reserved-eye-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -3px;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-36deg);
}

.reserved-login-error {
  min-height: 19px;
  margin: 10px 0 0;
  color: #ff8f96;
  font-size: 12px;
  line-height: 1.5;
}

.reserved-login-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 1px solid var(--blue, #00c8ff);
  border-radius: 4px;
  background: var(--blue, #00c8ff);
  color: #031015;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.reserved-login-submit:hover,
.reserved-login-submit:focus-visible {
  background: #e9fbff;
  outline: none;
}

.reserved-login-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

body.reserved-modal-open {
  overflow: hidden;
}

.reserved-page {
  min-height: 100vh;
  margin: 0;
  background: #060608;
  color: #f7f9fc;
  font-family: 'Inter', sans-serif;
}

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

.reserved-page a {
  color: inherit;
  text-decoration: none;
}

.reserved-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 6, 8, 0.95);
}

.reserved-topbar-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.reserved-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reserved-brand img {
  width: 80px;
}

.reserved-brand-label {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: #8a8f9e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reserved-logout {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: transparent;
  color: #c4c8d4;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.reserved-logout:hover,
.reserved-logout:focus-visible {
  border-color: var(--blue, #00c8ff);
  color: var(--blue, #00c8ff);
  outline: none;
}

.reserved-main {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 100px;
}

.reserved-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding-bottom: 34px;
}

.reserved-kicker {
  color: var(--blue, #00c8ff);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reserved-title {
  max-width: 760px;
  margin: 12px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.reserved-session-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a8f9e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.reserved-session-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue, #00c8ff);
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.65);
}

.reserved-files {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reserved-file-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.reserved-file-type {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 200, 255, 0.28);
  border-radius: 5px;
  background: rgba(0, 200, 255, 0.07);
  color: var(--blue, #00c8ff);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reserved-file-name {
  overflow-wrap: anywhere;
  color: #edf1f7;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.reserved-file-meta {
  margin-top: 4px;
  color: #737988;
  font-size: 11px;
  line-height: 1.5;
}

.reserved-file-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: #c4c8d4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.reserved-file-action:hover,
.reserved-file-action:focus-visible {
  border-color: var(--blue, #00c8ff);
  background: rgba(0, 200, 255, 0.07);
  color: var(--blue, #00c8ff);
  outline: none;
}

.reserved-loading,
.reserved-empty,
.reserved-error {
  padding: 34px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #8a8f9e;
  font-size: 14px;
  line-height: 1.6;
}

.reserved-error {
  color: #ff9ca3;
}

.reserved-footer {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #656b79;
  font-size: 11px;
  line-height: 1.6;
}

@keyframes reservedFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes reservedPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .mobile-nav .nav-reserved-btn {
    position: relative;
    width: min(100%, 300px);
    min-height: 44px;
    margin: 10px 0;
    padding: 0 18px;
    z-index: 2;
  }
}

@media (max-width: 680px) {
  .reserved-modal-panel {
    padding: 24px 20px;
  }

  .reserved-brand-label {
    display: none;
  }

  .reserved-main {
    padding-top: 48px;
  }

  .reserved-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .reserved-title {
    font-size: 30px;
  }

  .reserved-file-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
  }

  .reserved-file-type {
    width: 40px;
    height: 40px;
  }

  .reserved-file-action {
    grid-column: 2;
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reserved-modal,
  .reserved-modal-panel {
    animation: none;
  }
}
