@import "tailwindcss";

:root {
  /* Axis Brand Colors - Exact from HTML file */
  --axis-primary: #003c71;
  --axis-secondary: #e74c3c;
  --axis-accent: #00a8cc;

  /* Status Colors - Exact from HTML file */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;

  /* Status Badge Colors */
  --status-requested: #8b5cf6;
  --status-approved: #3b82f6;
  --status-printing: #f59e0b;
  --status-dispatched: #06b6d4;
  --status-cancelled: #ef4444;
  --status-delivered: #10b981;
  --status-delayed: #ef4444;

  /* Gray Scale - Exact from HTML file */
  --gray-0: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Font Families - mapped to Next.js loaded font variables */
  --font-sans: var(--font-dm-sans, 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  --font-mono: var(--font-jetbrains-mono, 'JetBrains Mono', ui-monospace, monospace);

  /* Shadows - Exact from HTML file */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Border Radius - Exact from HTML file */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Transitions - Exact from HTML file */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy vars for compatibility */
  --background: var(--gray-50);
  --foreground: var(--gray-900);
  --surface: var(--gray-0);
  --surface-low: var(--gray-50);
  --surface-high: var(--gray-100);
  --primary: var(--axis-primary);
  --primary-container: rgba(0, 168, 204, 0.1);
  --secondary: var(--axis-accent);
  --on-surface: var(--gray-900);
  --on-surface-variant: var(--gray-600);
}

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

html {
  font-family: var(--font-sans);
}

body {
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* App Shell Layout */
.app-shell {
  display: flex;
  min-height: 100vh;
}

/* Sidebar - Exact from HTML */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #002a52 0%, #001a33 100%);
  color: var(--gray-0);
  position: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 100;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--axis-accent), var(--axis-primary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: white;
}

.logo-text h1 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 2px;
  color: white;
}

.logo-text p {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.sidebar-nav {
  flex: 1;
  padding: 20px 16px;
  overflow-y: auto;
}

.nav-section {
  margin-bottom: 32px;
}

.nav-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0 12px 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
  margin-bottom: 4px;
  position: relative;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 1);
}

.nav-item.active {
  background: rgba(0, 168, 204, 0.2);
  color: #00d4ff;
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.3);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  width: 3px;
  height: 60%;
  background: #00d4ff;
  border-radius: 0 2px 2px 0;
}

.nav-icon {
  width: 18px;
  height: 18px;
}

.nav-badge {
  margin-left: auto;
  background: var(--axis-secondary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.nav-badge.info {
  background: var(--axis-accent);
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
}

.user-info h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: white;
}

.user-info p {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
}

/* Top Bar */
.top-bar {
  background: var(--gray-0);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 90;
}

.search-bar {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  background: var(--gray-0);
}

.search-input:focus {
  outline: none;
  border-color: var(--axis-accent);
  box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.1);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--gray-400);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  border: none;
}

.btn-primary {
  background: var(--axis-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #002a52;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--gray-0);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-50);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gray-0);
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.notification-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--axis-secondary);
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* Content Wrapper */
.content-wrapper {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

/* Page Header */
.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 15px;
  color: var(--gray-600);
  font-weight: 500;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--gray-0);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--axis-accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.stat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

/* Cards */
.card {
  background: var(--gray-0);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
}

.card-body {
  padding: 24px;
}

/* Data Table */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table thead {
  background: var(--gray-50);
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--gray-200);
}

.data-table td {
  padding: 16px;
  font-size: 14px;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-200);
  font-weight: 500;
}

.data-table tbody tr {
  transition: background var(--transition-fast);
  cursor: pointer;
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

.project-id {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--axis-primary);
  font-size: 13px;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-requested {
  background: rgba(139, 92, 246, 0.1);
  color: var(--status-requested);
}

.status-requested .status-dot {
  background: var(--status-requested);
}

.status-approved {
  background: rgba(59, 130, 246, 0.1);
  color: var(--status-approved);
}

.status-approved .status-dot {
  background: var(--status-approved);
}

.status-printing {
  background: rgba(245, 158, 11, 0.1);
  color: var(--status-printing);
}

.status-printing .status-dot {
  background: var(--status-printing);
}

.status-dispatched {
  background: rgba(6, 182, 212, 0.1);
  color: var(--status-dispatched);
}

.status-dispatched .status-dot {
  background: var(--status-dispatched);
}

.status-delivered {
  background: rgba(16, 185, 129, 0.1);
  color: var(--status-delivered);
}

.status-delivered .status-dot {
  background: var(--status-delivered);
}

.status-cancelled,
.status-badge.status-cancelled {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
}

.status-cancelled .status-dot,
.status-badge.status-cancelled .status-dot {
  background: #ef4444 !important;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn var(--transition-base);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal {
  background: var(--gray-0);
  border-radius: var(--radius-xl);
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp var(--transition-base);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.modal-header {
  padding: 32px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 32px;
}

.modal-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  background: var(--gray-0);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--axis-accent);
  box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.1);
}

/* Multi-Collateral Builder - From HTML file */
.collateral-builder {
  background: var(--gray-50);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 2px dashed var(--gray-300);
}

.collateral-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 12px;
  align-items: end;
}

.add-collateral-btn {
  padding: 10px;
  background: var(--axis-accent);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Utility */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* Project Detail View - Exact from HTML file */
.detail-container {
  max-width: 1400px;
  margin: 0 auto;
}

.detail-header {
  background: var(--gray-0);
  padding: 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
}

.detail-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.detail-actions {
  display: flex;
  gap: 12px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.detail-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
}

/* Items List */
.items-list {
  background: var(--gray-50);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 12px;
}

.item-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
}

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

/* Timeline - Exact from HTML file */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--gray-200);
  background: var(--gray-0);
  z-index: 2;
}

.timeline-dot.completed {
  border-color: var(--color-success);
  background: var(--color-success);
}

.timeline-dot.active {
  border-color: var(--axis-accent);
  background: var(--axis-accent);
  box-shadow: 0 0 0 4px rgba(0, 168, 204, 0.1);
}

.timeline-dot.pending {
  border-color: var(--gray-300);
  background: var(--gray-0);
}

.timeline-content {
  background: var(--gray-0);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.timeline-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.timeline-meta {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.timeline-details {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

/* Document Section - Exact from HTML file */
.doc-section {
  background: var(--gray-50);
  padding: 16px;
  border-radius: var(--radius-md);
}

.doc-upload-btn {
  padding: 8px 16px;
  background: var(--axis-primary);
  color: white;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-upload-btn:hover {
  background: #002a52;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: var(--gray-0);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  margin-top: 8px;
}

.doc-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-icon {
  width: 36px;
  height: 36px;
  background: var(--axis-primary);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.doc-actions {
  display: flex;
  gap: 8px;
}


/* ============================================================
   FORGOT PASSWORD PAGE - Centered card layout
   ============================================================ */

/* Page container - gradient background */
.forgot-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #003c71 50%, #0f172a 100%);
  font-family: var(--font-sans);
}

/* Content container */
.forgot-container {
  width: 100%;
  max-width: 420px;
}

/* Header section with logo */
.forgot-header {
  text-align: center;
  margin-bottom: 24px;
}

.forgot-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  margin-bottom: 16px;
}

.forgot-logo-icon {
  width: 32px;
  height: 32px;
  color: #ffffff;
}

.forgot-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.forgot-subtitle {
  font-size: 14px;
  color: #93c5fd;
  margin: 0;
}

/* Card container */
.forgot-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Success state */
.forgot-success {
  text-align: center;
}

.forgot-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  margin-bottom: 16px;
}

.forgot-check-icon {
  width: 32px;
  height: 32px;
  color: #16a34a;
}

/* Card title and text */
.forgot-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.forgot-card-text {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.forgot-card-text strong {
  color: #0f172a;
  font-weight: 600;
}

/* Form */
.forgot-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forgot-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.forgot-label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.forgot-input {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  box-sizing: border-box;
}

.forgot-input::placeholder {
  color: #94a3b8;
}

.forgot-input:focus {
  border-color: #003c71;
  box-shadow: 0 0 0 3px rgba(0, 60, 113, 0.10);
}

/* Submit button */
.forgot-submit {
  width: 100%;
  padding: 12px 20px;
  background: #003c71;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 150ms ease, opacity 150ms ease;
}

.forgot-submit:hover:not(:disabled) {
  background: #002a52;
}

.forgot-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.forgot-spinner {
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
}

/* Back link */
.forgot-back {
  margin-top: 24px;
  text-align: center;
}

.forgot-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #003c71;
  text-decoration: none;
  transition: opacity 150ms ease;
}

.forgot-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.forgot-link-icon {
  width: 16px;
  height: 16px;
}