  /* === BASE STYLES === */
  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background:
      linear-gradient(
        rgba(92, 1, 1, 0.95),
        rgba(0, 0, 0, 0.95)
      ),
      url("../Media/cvsu_copy.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-y: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100svh; 
    padding: 20px; 
  }

  .auth-container {
    background-color: #f9f7f7;
    padding: 28px 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);

    width: 100%;
    max-width: 360px;
  }


  form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
  }

  .logo img {
    width: 50px;
    margin-bottom: 5px;
  }

  .logo h1 {
    color: #000000;
    font-size: 24px;
    margin: 0;
  }

  h2 {
    color: #000000;
    margin-bottom: 5px;
    font-weight: 600;
    text-align: center;
  }

  .subtitle {
    color: #000000;
    font-size: 12px;
    margin-bottom: 20px;
    text-align: center;
  }

  /* === INPUTS & ICONS === */
  .input-group {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
  }

  .input-group input {
    width: 85%;
    padding: 12px 40px 12px 15px;
    border: none;
    border-radius: 10px;
    background-color: #a10000;
    color: white;
    font-size: 14px;
  }


  .input-group img {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    opacity: 0.8;
  }

  /* === CHECKBOX & LINKS === */
  .options,
  .agreement {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 13px;
    color: #000000;
    margin-bottom: 20px;
  }

  .options label,
  .agreement label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #000000;
  }

  .options a {
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
  }

  /* === BUTTONS === */
  .btn {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    border: none;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 10px;
  }

  .btn.submit {
    background-color: #a10000;
    color: #ffffff;
  }

  .btn.clear {
    background-color: #ecb100;
    color: #000000;
  }

  .auth-link {
    color: #000000;
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
  }

  .auth-link a {
    color:#000000;
    font-weight: 600;
    text-decoration: underline;
  }

  input::placeholder {
    color: white;
    opacity: 0.8;
  }

  /* Modal background */
  .modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
  }

  /* Modal content */
  .modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 70%;
    max-width: 600px;
    color: #000;
  }

  /* Close button */
  .close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
  }
  .close:hover {
    color: #000;
  }

  .subtitle {
    color: #000000;
    font-size: 12px;
    margin-bottom: 10px;
    text-align: center;
  }
  .explanation {
    color: #000000;
    font-size: 13px;
    margin-bottom: 15px;
    background-color: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
  }
  .timer {
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
  }
  .btn:disabled {
    background-color: #555;
    color: #aaa;
    cursor: not-allowed;
  }
  .error {
    color: #ffb3b3;
    font-size: 13px;
    margin-bottom: 10px;
    text-align: center;
  }
  .success {
    color: #08CB00;
    font-size: 13px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
  }

  @media (max-width: 480px) {

  .auth-container {
    padding: 22px 20px;
    border-radius: 12px;
  }

  .logo img {
    width: 42px;
  }

  .logo h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  .subtitle {
    font-size: 11px;
  }

  .btn {
    font-size: 13px;
    padding: 9px;
  }
}
