/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

/* BODY BACKGROUND */
body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e1e2f, #2b2b5f, #3a1c71);
}

/* ANIMATED GRADIENT LAYER */
body::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #ff8c00, #6a5acd, #00c9ff, #ff8c00);
    background-size: 400% 400%;
    animation: gradientMove 18s ease infinite;
    opacity: 0.12;
}

/* GLOWING BLOBS */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob1 {
    width: 320px;
    height: 320px;
    background: #ff8c00;
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.blob2 {
    width: 260px;
    height: 260px;
    background: #6a5acd;
    bottom: 10%;
    right: 20%;
    animation-delay: 4s;
}

.blob3 {
    width: 220px;
    height: 220px;
    background: #00c9ff;
    top: 60%;
    left: 40%;
    animation-delay: 8s;
}

/* ANIMATIONS */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes blobFloat {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(30px, -30px); }
    100% { transform: translate(0, 0); }
}

/* LOGIN BOX */
.login-box {
    position: relative;
    z-index: 2;
    width: 400px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    border: 3px solid orange;
    text-align: center;

    /* DEPTH */
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);

    /* FLOATING EFFECT */
    animation: float 6s ease-in-out infinite;
}

/* TITLE */
.login-box h2 {
    margin-bottom: 25px;
    color: #333;
}

/* INPUT BOXES */
.login-box input,
.login-box select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: 0.3s;
}

/* SUBTLE FOCUS EFFECT */
.login-box input:focus,
.login-box select:focus {
    outline: none;
    border-color: #6a5acd;
    box-shadow: 0 0 8px rgba(106, 90, 205, 0.3);
}

/* BUTTON */
.login-box button {
    width: 100%;
    padding: 12px;
    background: #2b2b5f;
    color: white;
    border: 2px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

/* BUTTON HOVER */
.login-box button:hover {
    color:#2b2b5f;
    background-color: #F6A200;
  
}

/* FOOTER */
.footer {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}

.custom-select {
  min-width: 300px;
  position: relative;
  text-align: left;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}


.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  padding: 10px 2.5em 10px 1em; /* top/bottom padding = 10px to match input height */
  background-color: #fff;
  border: 1px solid #caced1;
  border-radius: 4px; /* soft rounding, like modern inputs */
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%227%22%20viewBox%3D%220%200%2010%207%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200l5%207%205-7H0z%22%20fill%3D%22%23666%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 0.65em auto;
}

/* LOGO CONTAINER */
.logo {
    width: 100%;
    height: 90px; /* controls visual size */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

/* IMAGE FIT */
.logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* keeps proportions */
}

 .sso-divider {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 18px 0 16px;
            color: rgba(255,255,255,.45);
            font-size: 12px;
            letter-spacing: .06em;
            text-transform: uppercase;
        }
        .sso-divider::before,
        .sso-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: rgba(255,255,255,.18);
        }

        .btn-google {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            padding: 11px 0;
            border: 1.5px solid rgba(255,255,255,.25);
            border-radius: 8px;
            background: rgba(255,255,255,.07);
            color: #fff;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: background .18s, border-color .18s;
            letter-spacing: .01em;
        }
        .btn-google:hover {
            background: rgba(255,255,255,.14);
            border-color: rgba(255,255,255,.45);
        }
        .btn-google:active { opacity: .85; }

        /* Google's official coloured "G" rendered in SVG — no external request */
        .g-icon {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
        }

        /* Campus selector shared between both forms */
        .campus-note {
            font-size: 11px;
            color: rgba(255,255,255,.45);
            margin-top: -6px;
            margin-bottom: 10px;
            text-align: center;
        }

        /* Show/hide the password section via JS toggle */
        .pw-section { margin-top: 4px; }
        .toggle-pw-link {
            display: block;
            text-align: center;
            margin-top: 14px;
            font-size: 12px;
            color: rgba(255,255,255,.5);
            cursor: pointer;
            text-decoration: underline;
            text-underline-offset: 3px;
            background: none;
            border: none;
            width: 100%;
        }
        .toggle-pw-link:hover { color: rgba(255,255,255,.8); }

        .pw-section[hidden] { display: none; }