/* ========== ADMIN LOGIN PAGE STYLES ========== */

.admin-login-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00d4ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

.admin-login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.admin-login-page::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    width: 90%;
    align-items: center;
    position: relative;
    z-index: 2;
}

.login-box {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo {
    margin-bottom: 1.5rem;
}

.login-logo img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    mix-blend-mode: darken;
}

.login-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.login-form {
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.login-form label i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
    background: #f9fbff;
}

.login-form .checkbox {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.login-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.login-form .checkbox label {
    margin: 0;
    margin-left: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

.login-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d99 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
}

.login-button:active {
    transform: translateY(0);
}

.login-button i {
    margin-right: 0.5rem;
}

.login-footer {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.login-footer p:first-child {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.login-footer strong {
    color: var(--text-dark);
}

.back-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #003d99;
}

.back-link i {
    margin-right: 0.3rem;
}

/* ========== LOGIN ILLUSTRATION ========== */
.login-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.illustration-content {
    text-align: center;
}

.illustration-content i {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

.illustration-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.illustration-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 300px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .login-illustration {
        display: none;
    }

    .login-box {
        padding: 2rem;
    }

    .login-header h1 {
        font-size: 1.5rem;
    }

    .login-logo img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .login-container {
        width: 95%;
    }

    .login-box {
        padding: 1.5rem;
    }

    .login-header {
        margin-bottom: 1.5rem;
    }

    .login-header h1 {
        font-size: 1.3rem;
    }

    .login-footer {
        padding: 1rem;
    }

    .login-form input[type="text"],
    .login-form input[type="password"] {
        padding: 0.8rem 1rem;
        font-size: 16px;
    }
}
