/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Nov 27, 2025, 1:47:46 PM
    Author     : Stephanie Ivy
*//* ------------------------------
   BODY & BACKGROUND
------------------------------ */
body.login-page {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f0c29, #302b63, #4b5ef0); 
    /*//purple*/
    /*background: linear-gradient(135deg,#0d1b2a, #1b263b, #415a77); //blue*/
    background-size: 120% 120%;
    animation: gradientShift 15s ease infinite;
    margin: 0;
}

@keyframes gradientShift {
    0%   { background-position: 20% 50%; }
    50%  { background-position: 80% 50%; }
    100% { background-position: 20% 50%; }
}

/* ------------------------------
   LOGIN CARD
------------------------------ */
.login-box {
    position: relative;
    background: #ffffff; /* FULL WHITE CARD */
    border-radius: 18px;
    padding: 40px 32px;
    width: 100%;
    max-width: 430px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 1;
}

/* Optional glow behind the card */
.login-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    margin: -10px; 
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(242, 209, 107, 0.15); /* subtle warm glow */
    z-index: -1;
}

/* ------------------------------
   LOGO
------------------------------ */
.logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.logo-wrapper img {
    max-width: 85%;
    height: auto;
    filter: brightness(100%) contrast(105%);
}

/* ------------------------------
   TITLE
------------------------------ */
.login-title {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #333333; /* dark text on white card */
    text-align: center;
}

/* ------------------------------
   ROLE BUTTONS
------------------------------ */
.role-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.role-btn {
    flex: 1;
    padding: 14px 0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s ease;
    text-align: center;
    background: linear-gradient(135deg, rgba(242,209,107,0.2), rgba(242,209,107,0.3));
    border: 1px solid rgba(242,209,107,0.4);
    color: #1a1a1a;
    backdrop-filter: blur(5px);
}

.role-btn:hover {
    background: linear-gradient(135deg, rgba(242,209,107,0.3), rgba(242,209,107,0.4));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.role-btn.active {
    background: #f2d16b; /* warm yellow highlight */
    color: #1a1a1a;
    border-color: #f2d16b;
    box-shadow: 0 5px 20px rgba(242,209,107,0.35);
}

/* ------------------------------
   INPUTS
------------------------------ */
.modern-input {
    position: relative;
    margin-bottom: 18px;
}

.modern-input input {
    height: 50px;
    width: 100%;
    padding-left: 45px;
    border-radius: 12px;
    border: 1px solid #ccc;
    color: #333;
    font-size: 1rem;
}

.modern-input input::placeholder {
    color: #999;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #999;
}

/* ------------------------------
   SIGN IN BUTTON
------------------------------ */
.modern-btn {
    height: 50px;
    width: 100%;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    background: #f2d16b;
    border: 1px solid #f2d16b;
    color: #1a1a1a;
    transition: 0.25s;
    margin-top: 5px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(242,209,107,0.25);
}

.modern-btn:hover {
    background: #f7db7d;
}

/* ------------------------------
   SUPPORT LINK
------------------------------ */
.support-link a {
    color: #f2d16b;
    font-weight: 500;
    text-decoration: underline;
}

.support-link a:hover {
    opacity: 0.7;
}

/* ------------------------------
   MOBILE OPTIMIZATION
------------------------------ */
@media (max-width: 576px) {
    .login-box {
        padding: 28px 22px;
    }
    .role-btn {
        padding: 10px 0;
        font-size: 0.9rem;
    }
    .modern-btn {
        height: 48px;
    }
}