.dashboard-page {
  background-color: #f5f7fa !important;
  min-height: 100vh;
}

.dashboard-banner {
  padding: 50px 0 80px 0;
  border-bottom: none;
}

.dashboard-hero-title {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin: 40px 0 12px;
}

.dashboard-banner .hero-subtitle {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  max-width: 600px;
  margin: 0 auto 10px;
  line-height: 1.6;
}

.dashboard-content {
  max-width: 960px;
  margin: -40px auto 0;
  padding: 0 20px 60px;
  position: relative;
  z-index: 1;
}

.dashboard-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8ecf0;
  margin-bottom: 24px;
  transition: box-shadow 0.3s ease;
}

.dashboard-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dashboard-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.dashboard-card .card-desc {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.6;
}

.dashboard-form .form-group {
  margin-bottom: 0;
}

.dashboard-input-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.dashboard-input {
  flex: 1;
  padding: 14px 18px;
  font-size: 16px;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #1a202c;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: "Poppins", sans-serif;
}

.dashboard-input::placeholder {
  color: #6b7280;
}

.dashboard-input:focus {
  border-color: #2f5fcf;
  box-shadow: 0 0 0 3px rgba(47, 95, 207, 0.35);
  background: #fff;
  outline: 2px solid transparent;
}

.dashboard-input.is-valid {
  border-color: #16a34a !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2) !important;
  background-image: none !important;
}

.dashboard-input.is-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
  background-image: none !important;
}

.dashboard-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2f5fcf, #4a7af5);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(47, 95, 207, 0.25);
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
}

.dashboard-submit:hover {
  background: linear-gradient(135deg, #2550b5, #2f5fcf);
  box-shadow: 0 6px 20px rgba(47, 95, 207, 0.35);
  transform: translateY(-1px);
}

.dashboard-submit:focus {
  outline: 3px solid #1a3a8a;
  outline-offset: 2px;
}

.dashboard-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.dashboard-alert {
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 18px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dashboard-alert.show {
  opacity: 1;
  transform: translateY(0);
}

.dashboard-alert i {
  flex-shrink: 0;
  margin-top: 2px;
}

.dashboard-alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.dashboard-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.dashboard-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.dashboard-alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.dashboard-alert a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 3px;
  padding: 1px 4px;
  margin: 0 -4px;
  transition: background 0.2s ease;
}

.dashboard-alert a:hover,
.dashboard-alert a:focus {
  background: rgba(0, 0, 0, 0.07);
}

.dashboard-alert-info a {
  color: #1d4ed8;
}

.dashboard-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.dashboard-step {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e8ecf0;
  transition: all 0.3s ease;
}

.dashboard-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.step-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, #2f5fcf, #4a7af5);
  box-shadow: 0 4px 10px rgba(47, 95, 207, 0.2);
}

.step-number {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1e40af;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.dashboard-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.dashboard-step p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.dashboard-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.dashboard-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1e40af;
  background: #fff;
  border: 2px solid #2f5fcf;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dashboard-link:hover {
  background: #2f5fcf;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(47, 95, 207, 0.25);
  transform: translateY(-1px);
}

.dashboard-link:focus {
  outline: 3px solid #1a3a8a;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .dashboard-banner {
    padding: 30px 20px 60px;
  }

  .dashboard-hero-title {
    font-size: 26px;
  }

  .dashboard-banner .hero-subtitle {
    font-size: 19px;
  }

  .dashboard-content {
    margin-top: -30px;
    padding: 0 16px 40px;
  }

  .dashboard-card {
    padding: 28px 20px;
  }

  .dashboard-input-row {
    flex-direction: column;
  }

  .dashboard-submit {
    width: 100%;
    justify-content: center;
  }

  .dashboard-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dashboard-step {
    padding: 22px 18px;
  }

  .dashboard-links {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-link {
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .dashboard-hero-title {
    font-size: 32px;
  }

  .dashboard-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

body.dashboard-page[data-theme="dark"] {
  background-color: #0e0f19 !important;
}

body[data-theme="dark"] .dashboard-card {
  background: #181b2d !important;
  border-color: #2a2d40;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .dashboard-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body[data-theme="dark"] .dashboard-card h2 {
  color: #e2e8f0;
}

body[data-theme="dark"] .dashboard-card .card-desc {
  color: #9fc0e0;
}

body[data-theme="dark"] .dashboard-input {
  background: #181b2d !important;
  border-color: #3a3f56;
  color: #e2e8f0;
}

body[data-theme="dark"] .dashboard-input::placeholder {
  color: #8a9bb5;
}

body[data-theme="dark"] .dashboard-input:focus {
  border-color: #4284fb;
  box-shadow: 0 0 0 3px rgba(66, 132, 251, 0.35);
  background: #0e0f19 !important;
  outline: 2px solid transparent;
}

body[data-theme="dark"] .dashboard-input.is-valid {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2) !important;
}

body[data-theme="dark"] .dashboard-input.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

body[data-theme="dark"] .dashboard-submit {
  background: linear-gradient(135deg, #3565d9, #4a7af5);
  box-shadow: 0 4px 12px rgba(53, 101, 217, 0.3);
}

body[data-theme="dark"] .dashboard-submit:hover {
  background: linear-gradient(135deg, #4a7af5, #3565d9);
  box-shadow: 0 6px 20px rgba(53, 101, 217, 0.4);
}

body[data-theme="dark"] .dashboard-submit:focus {
  outline-color: #93b4ff;
}

body[data-theme="dark"] .dashboard-alert-info {
  background: #1a2744 !important;
  border-color: #2a3f6e;
  color: #93c5fd;
}

body[data-theme="dark"] .dashboard-alert-info a {
  color: #60a5fa;
}

body[data-theme="dark"] .dashboard-alert a:hover,
body[data-theme="dark"] .dashboard-alert a:focus {
  background: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .dashboard-alert-success {
  background: #14261e !important;
  border-color: #1e4d38;
  color: #86efac;
}

body[data-theme="dark"] .dashboard-alert-error {
  background: #2a1419 !important;
  border-color: #5c1d28;
  color: #fca5a5;
}

body[data-theme="dark"] .dashboard-alert-warning {
  background: #2a2214 !important;
  border-color: #5c4b1d;
  color: #fcd34d;
}

body[data-theme="dark"] .dashboard-step {
  background: #181b2d !important;
  border-color: #2a2d40;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .dashboard-step:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

body[data-theme="dark"] .step-number {
  color: #93b4ff;
}

body[data-theme="dark"] .dashboard-step h3 {
  color: #e2e8f0;
}

body[data-theme="dark"] .dashboard-step p {
  color: #9fc0e0;
}

body[data-theme="dark"] .dashboard-link {
  color: #93b4ff;
  background: #181b2d !important;
  border-color: #4284fb;
}

body[data-theme="dark"] .dashboard-link:hover {
  background: #3565d9 !important;
  color: #fff;
  border-color: #3565d9;
  box-shadow: 0 4px 12px rgba(53, 101, 217, 0.3);
}

body[data-theme="dark"] .dashboard-link:focus {
  outline-color: #93b4ff;
}

body[data-theme="dark"] .footer-group a.footer-link {
  color: #9fc0e0;
}

.form-control-feedback {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-alert,
  .dashboard-card,
  .dashboard-step,
  .dashboard-link,
  .dashboard-submit {
    transition: none !important;
  }

  .dashboard-step:hover,
  .dashboard-link:hover,
  .dashboard-submit:hover {
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .dashboard-card,
  .dashboard-step,
  .dashboard-link,
  .dashboard-submit,
  .dashboard-input,
  .dashboard-alert {
    border: 2px solid ButtonText;
  }

  .dashboard-submit:focus,
  .dashboard-input:focus,
  .dashboard-link:focus {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}
