/* ====================================================
   Login Page Styles
   ==================================================== */

body.login-page {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    width: 100%;
    max-width: 500px;
    transition: all 0.5s ease;
    position: relative;
}

.role-selection {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.role-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100px;
}

.role-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.role-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.login-form {
    display: none;
    opacity: 0;
    transition: all 0.5s ease;
}

.login-page .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    padding: 12px;
    margin-bottom: 20px;
}

.login-page .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    box-shadow: none;
    color: #fff;
}

.login-page .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-login {
    background: #fff;
    color: #1e3c72;
    border-radius: 10px;
    padding: 12px;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s ease;
    border: none;
}

.btn-login:hover {
    background: #f0f0f0;
    transform: scale(1.02);
}

.password-toggle {
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.7;
    color: #fff;
}

.error-msg {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.fade-in {
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}