#root {
  width: 100%;
  min-height: 100vh;
}

.auth-screen,
.locked-screen {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.locked-screen__card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--nav-shadow);
  text-align: center;
}

.locked-screen__icon {
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 20px;
}

.locked-screen__title {
  margin: 0 0 8px;
  font-size: 22px;
}

.locked-screen__text {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.content {
  max-width: var(--app-max-width);
  margin: 0 auto;
  padding: 24px 20px;
}

.content-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.content-tabs__btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.content-tabs__btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.screen {
  display: none;
}

.screen[aria-hidden="false"] {
  display: block;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.request-card {
  position: relative;
  padding-right: 42px;
}

.request-delete-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #991b1b;
  background: #fff;
  cursor: pointer;
}

.request-delete-btn:hover {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
}

.card__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.card__meta {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.status-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.status-badge_running {
  background: rgba(34, 197, 94, 0.2);
  color: #15803d;
}

.status-badge_cancelled {
  background: rgba(168, 85, 247, 0.18);
  color: #7e22ce;
}

.wizard {
  padding: 18px 16px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.wizard-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.wizard-step-title {
  font-size: 17px;
  font-weight: 600;
}

.wizard-step-progress {
  font-size: 12px;
  color: var(--text-muted);
}

.wizard-summary {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.wizard-summary-row {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.wizard-summary-row:last-child {
  border-bottom: none;
}

.wizard-summary-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wizard-summary-value {
  font-size: 13px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--nav-shadow);
}

.modal--results {
  max-width: 1120px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

.modal--results .modal__message {
  overflow: auto;
  min-height: 0;
  padding-right: 4px;
}

.modal--results .modal__btn {
  flex: 0 0 auto;
}

.modal__title {
  margin: 0 0 12px;
  font-size: 17px;
}

.modal__message {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-muted);
}

.modal__btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
}

.modal__btn:hover {
  background: var(--primary-hover);
}

@media (max-width: 760px) {
  .content {
    padding: 16px 12px;
  }

  .content-tabs {
    gap: 4px;
    overflow-x: auto;
  }

  .content-tabs__btn {
    white-space: nowrap;
    padding: 10px 12px;
    font-size: 13px;
  }
}
