:root {
    --marian-blue: #1E3A8A;
    --penn-blue: #0B1F50;
    --citrine: #EDCF1C;
    --light-gray: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--penn-blue), var(--marian-blue));
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo img {
    max-width: 150px;
    height: auto;
}

.login-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.login-subtitle {
    color: var(--light-gray);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 300;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 10px;
    height: 55px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--citrine);
    box-shadow: 0 0 0 0.25rem rgba(237, 207, 28, 0.25);
    color: var(--white);
}

.form-floating label {
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.25rem;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--citrine);
    transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
}

.btn-login-link {
    color: var(--penn-blue) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login-link:hover {
    text-decoration: none !important;
}



.btn-login {
    background: var(--citrine);
    color: var(--penn-blue);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
    height: 55px;
    margin-top: 1rem;
}

.btn-login:hover {
    background: #d9bc19;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 207, 28, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    margin-left: 0.5rem;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.login-footer a {
    color: var(--citrine);
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-footer a:hover {
    color: #d9bc19;
    text-decoration: underline;
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-icon:hover {
    color: var(--citrine);
}

.animate-in {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-card {
        padding: 2rem;
        margin: 0 1rem;
    }
}