  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0f1724;
    color: #fff;
    margin: 0;
    padding: 20px;
    font-size: 18px;
  }

  /* === HEADER === */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: #111827;
    border-bottom: 2px solid #1f2937;
    border-radius: 10px;
  }

  .logo {
    font-size: 1.6em;
    font-weight: bold;
    color: #f59e0b;
    text-decoration: none;
  }

  .nav-links {
    display: flex;
    gap: 20px;
  }

  .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    transition: color 0.2s ease;
  }

  .nav-links a:hover {
    color: #f59e0b;
  }

  /* === REGISTRATION CARD === */
  .register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
  }

  .register-card {
    background-color: #1e293b;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    width: 100%;
    max-width: 500px;
    text-align: center;
  }

  .register-card h2 {
    color: #f59e0b;
    margin-bottom: 25px;
    font-size: 1.8em;
  }

  .form-group {
    margin-bottom: 20px;
    text-align: left;
  }

  .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #888;
  }

  .form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: none;
    font-size: 1em;
    background-color: #0f1724;
    color: #fff;
    box-shadow: inset 0 0 6px rgba(255,255,255,0.1);
    transition: all 0.2s ease;
  }

  .form-group input:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(245,158,11,0.8);
  }

  .register-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: #10b981;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .register-btn:hover {
    background-color: #059669;
  }

  .check-btn {
    width: 30%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: #10b981;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .check-btn:hover {
    background-color: #059669;
  }

  .extra-links {
    margin-top: 20px;
    font-size: 0.95em;
    color: #cbd5e1;
  }

  .extra-links a {
    color: #f59e0b;
    text-decoration: none;
  }

  .extra-links a:hover {
    text-decoration: underline;
  }

  /* === FOOTER === */
  footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #1e293b;
    border-radius: 12px;
    font-size: 0.95em;
    color: #cbd5e1;
  }

  footer a {
    color: #f59e0b;
    text-decoration: none;
  }

  footer a:hover {
    text-decoration: underline;
  }

  .return-message {
    margin-bottom:15px;
    color:#fbbf24;
    font-weight:normal;
    min-height: 22px;
  }

  .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.1em;
    color: #cbd5e1;
    user-select: none;
  }

  .toggle-password:hover {
    color: #f59e0b;
  }

  @media (max-width: 480px) {
    body { font-size: 16px; }
    .register-card { padding: 30px 20px; }
  }



/* =================================== */
