      /* Background & layout */
      :root {
        --bg3: #025ab2;
        --bg5: #000000;
        --glass: rgba(255, 255, 255, 0.08);
        --glass-2: rgba(255, 255, 255, 0.12);
        --txt: #fff;
        --ink: #0b1220;
        --gold: #f1c40f;
        --radius: 18px;
        --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        --trans: 0.3s ease;
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      body {
        font-family: "Segoe UI", sans-serif;
        background: linear-gradient(135deg, var(--bg3), var(--bg5));
        background-size: 300% 300%;
        animation: gradientMove 30s ease infinite;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        margin: 0;
        padding: 20px;
      }

      @keyframes gradientMove {
        0% {
          background-position: 0% 50%;
        }
        50% {
          background-position: 100% 50%;
        }
        100% {
          background-position: 0% 50%;
        }
      }

      .card {
        background: rgba(255, 255, 255, 0.1);
        padding: 30px;
        border-radius: 20px;
        width: 100%;
        max-width: 400px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        text-align: center;
        animation: fadeIn 1.5s ease;
      }

      .card h3 {
        margin-bottom: 20px;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
      }
      form div {
        margin-bottom: 15px;
        text-align: left;
        padding-right: 5px; /* space on the right */
        padding-left: 5px; /* space on the left */
      }

      form .form-control {
        width: 100%;
        padding: 12px;
        margin-top: 5px;
        border-radius: 10px;
        border: none;
        outline: none;
        font-size: 1rem;
        box-sizing: border-box; /* ensures padding doesn’t break layout */
      }

      form .btn {
        margin-top: 25px;
        width: 40%;
        padding: 12px;
        border-radius: 10px;
        border: none;
        background: white;
        color: #2c3e50;
        font-weight: bold;
        font-size: 1.1rem;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      }

      form .btn:hover {
        background: #f1c40f;
        color: black;
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(-20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .redirect-text {
        margin-top: 15px;
        font-size: 0.9rem;
        color: white;
        opacity: 0.9;
      }

      .redirect-text a {
        color: #f1c40f;
        font-weight: bold;
        text-decoration: none;
        transition: 0.3s;
      }

      .redirect-text a:hover {
        text-decoration: underline;
        color: #fff;
      }

      footer {
        position: absolute;
        bottom: 20px;
        font-size: 0.9rem;
        opacity: 0.8;
        width: 100%;
        text-align: center;
        color: white;
      }

      @media (max-width: 480px) {
        .card {
          padding: 20px;
        }
        form .form-control {
          padding: 10px;
          font-size: 0.9rem;
        }
        form .btn {
          padding: 10px;
          font-size: 1rem;
        }
      }

      .flash-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1050;
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      .custom-alert {
        padding: 12px 18px;
        border-radius: 12px;
        font-size: 0.95rem;
        font-weight: 500;
        color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        animation: fadeIn 0.5s ease;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-width: 250px;
        max-width: 350px;
      }

      .custom-alert.alert-success {
        background: linear-gradient(135deg, #28a745, #20c997);
      }
      .custom-alert.alert-danger {
        background: linear-gradient(135deg, #dc3545, #ff6b6b);
      }
      .custom-alert.alert-warning {
        background: linear-gradient(135deg, #ffc107, #ff9f43);
        color: #333;
      }
      .custom-alert.alert-info {
        background: linear-gradient(135deg, #17a2b8, #00bcd4);
      }

      .custom-alert .close-btn {
        background: transparent;
        border: none;
        color: inherit;
        font-size: 1.2rem;
        cursor: pointer;
        margin-left: 10px;
      }