/* public/css/signin.css */

:root {
    --bg-page: #f3f4f6;
    --bg-card: #ffffff;
    --border-subtle: #e5e7eb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --primary: #f97316; /* orange */
    --primary-hover: #ea580c;
    --error: #dc2626;
    --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.08);
    --radius-card: 32px;
  }
  
  /* Reset-ish */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      sans-serif;
    color: var(--text-main);
    background: var(--bg-page);
    display: flex;
    flex-direction: column;
  }
  
  /* Top nav */
  
  .top-nav {
    height: 64px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
  }
  
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
  }
  
  .brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
  }
  
  .brand-name {
    font-weight: 700;
    font-size: 18px;
  }
  
  .nav-link {
    font-size: 14px;
    text-decoration: none;
    color: var(--text-muted);
  }
  
  .nav-link:hover {
    color: var(--text-main);
  }
  
  /* Main layout */
  
  .auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
  }
  
  .auth-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    padding: 40px 36px 32px;
  }
  
  .auth-title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
  }
  
  .auth-subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: var(--text-muted);
  }
  
  /* Form */
  
  .auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
  }
  
  .form-group input {
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
  }
  
  .form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.25);
  }
  
  .primary-btn {
    margin-top: 8px;
    border: none;
    border-radius: 999px;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.35);
    transition: background 0.12s ease, transform 0.05s ease,
      box-shadow 0.12s ease;
  }
  
  .primary-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
  }
  
  .primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
  }
  
  .error-message {
    min-height: 18px;
    font-size: 13px;
    color: var(--error);
  }
  
  /* Switch text */
  
  .switch-auth {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
  }
  
  .switch-auth a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
  }
  
  .switch-auth a:hover {
    text-decoration: underline;
  }
  
  /* Footer */
  
  .site-footer {
    padding: 12px 24px 20px;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-links {
    display: flex;
    gap: 16px;
  }
  
  .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  /* Mobile tweaks */
  
  @media (max-width: 640px) {
    .auth-card {
      padding: 28px 20px 24px;
      border-radius: 24px;
    }
  
    .top-nav {
      padding: 0 16px;
    }
  
    .brand-name {
      font-size: 16px;
    }
  }
  