/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* ============================================
   Settings Page — Linear-inspired dark theme
   ============================================ */

.settings-page {
  min-height: 100vh;
  background-color: #0F0F0F;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #E2E2E2;
  display: flex;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.settings-container {
  width: 100%;
  max-width: 560px;
}

.settings-header {
  margin-bottom: 2rem;
}

.settings-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F5F5F5;
  margin: 0 0 0.25rem;
}

.settings-subtitle {
  font-size: 0.875rem;
  color: #737373;
  margin: 0;
}

.settings-notice {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.settings-errors {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.settings-errors p {
  margin: 0.25rem 0;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.settings-section {
  border-top: 1px solid #1F1F1F;
  padding-top: 1.5rem;
}

.settings-section-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #F5F5F5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.25rem;
}

.settings-section-desc {
  font-size: 0.8125rem;
  color: #737373;
  margin: 0 0 1.25rem;
}

.settings-field {
  margin-bottom: 1rem;
}

.settings-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #A3A3A3;
  margin-bottom: 0.375rem;
}

.settings-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: #171717;
  border: 1px solid #2A2A2A;
  border-radius: 0.375rem;
  color: #E2E2E2;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.settings-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.3);
}

.settings-input::placeholder {
  color: #525252;
}

.settings-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.settings-btn-primary {
  padding: 0.5rem 1.25rem;
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.settings-btn-primary:hover {
  background: #4f46e5;
}

.settings-btn-secondary {
  font-size: 0.875rem;
  color: #737373;
  text-decoration: none;
  transition: color 0.15s ease;
}

.settings-btn-secondary:hover {
  color: #A3A3A3;
}

/* ============================================
   Dashboard — matching dark theme
   ============================================ */

.dashboard {
  min-height: 100vh;
  background-color: #0F0F0F;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #E2E2E2;
  padding: 2rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #1F1F1F;
}

.dashboard-header h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #F5F5F5;
  margin: 0;
}

.dashboard-header nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-settings {
  font-size: 0.875rem;
  color: #A3A3A3;
  text-decoration: none;
  transition: color 0.15s ease;
}

.btn-settings:hover {
  color: #F5F5F5;
}

.btn-logout {
  font-size: 0.875rem;
  color: #737373;
  text-decoration: none;
  transition: color 0.15s ease;
}

.btn-logout:hover {
  color: #f87171;
}

.dashboard-content {
  color: #737373;
  font-size: 0.9375rem;
}

@media (max-width: 640px) {
  .settings-page {
    padding: 1.5rem 1rem;
  }

  .settings-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .settings-btn-primary {
    text-align: center;
  }

  .settings-btn-secondary {
    text-align: center;
    padding: 0.5rem;
  }
}
