﻿
/* ===== Page Background ===== */
.admin-login-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b1f4b, #123a7a);
    animation: bgFade 1.2s ease;

}

@keyframes bgFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== Glass Card ===== */
.login-card {
    width: 420px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
    color: #fff;
    animation: slideUp 0.9s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-card h2 {
    text-align: center;
    margin-bottom: 5px;
    font-weight: 700;
}

.login-card p {
    text-align: center;
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 25px;
}

/* ===== Inputs ===== */
.login-card .form-control {
    height: 48px;
    border-radius: 10px;
    border: none;
    margin-bottom: 15px;
    padding-left: 15px;
}

    .login-card .form-control:focus {
        box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.35);
    }

/* ===== Button ===== */
.btn-login {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    background: #ffc107;
    color: #0b1f4b;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        background: #0b1f4b;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    }

/* ===== Error ===== */
.login-error {
    background: rgba(220,53,69,0.15);
    border-left: 4px solid #dc3545;
    padding: 10px;
    font-size: 14px;
    margin-bottom: 15px;
    border-radius: 6px;
}

/* ===== Register Link ===== */
.create-admin {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
}

    .create-admin a {
        color: #ffc107;
        font-weight: 600;
        text-decoration: none;
    }

        .create-admin a:hover {
            text-decoration: underline;
        }