/* ---------------------------
   REGISTER PAGE STYLE
   --------------------------- */

   :root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --background: #f9fafb;
    --text: #111827;
    --muted: #6b7280;
    --error: #dc2626;
    --radius: 0.75rem;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: 0.25s ease-in-out;
    --font: "Inter", "Segoe UI", system-ui, sans-serif;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: var(--font);
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text);
  }
  
  /* Card */
  .register-card {
    background: #fff;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    animation: fadeIn 0.6s ease;
  }
  
  .register-card h1 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }

  .register-card h4 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #D90229;
  }
  
  /* Error */
  .error-box {
    background: #fee2e2;
    color: var(--error);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }
  
  /* Form */
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
  }
  
  input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
  }
  
  input:focus {
    border-color: #D90229;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  }
  
  button {
    background: #D90229;
    color: white;
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
  }
  
  button:hover {
    background: #D90429;
    transform: translateY(-2px);
  }
  
  button:active {
    transform: translateY(0);
  }
  
  /* Footer */
  .footer-text {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--muted);
  }
  
  .footer-text a {
    color: #D90229;
    text-decoration: none;
  }
  
  .footer-text a:hover {
    text-decoration: underline;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (max-width: 480px) {
    .register-card {
      margin: 1rem;
      padding: 1.75rem;
    }
  
    .register-card h1 {
      font-size: 1.5rem;
    }
  }
  