/* ============================================================
   Login Page — Apzl Style
   ============================================================ */

:root {
    --primary-color: #0B3D6B;
    --secondary-color: #082D4F;
    --accent-color: #B8860B;
    --light-color: #F7F7F7;
}

body {
    background-color: var(--color-light-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.svg-decoration {
    position: absolute;
    z-index: 0;
    opacity: 0.05;
}

#svg-top-right {
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    animation: rotate 20s linear infinite;
}

#svg-bottom-left {
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    animation: pulse 10s ease infinite;
}

.login-content {
    position: relative;
    z-index: 1;
    padding: 40px;
}

.login-header {
    text-align: center;
}

.login-header svg {
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
    animation: bounce 2s ease infinite;
}

.form-control:focus {
    border-color: var(--color-accent, #B8860B);
    box-shadow: 0 0 0 0.25rem var(--color-accent-rgba-20);
}

.btn-login {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px;
    font-weight: 600;
    font-family: var(--font-family-base);
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: var(--color-text-hover);
    color: #fff;
    transform: translateY(-2px);
}

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

/* SVG Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

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

#lock-icon {
    animation: float 3s ease infinite;
}

#user-icon {
    animation: float 3s ease infinite 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
    .login-content {
        padding: 30px 20px;
    }
    .login-container {
        margin: 20px 10px;
    }
}

@media (max-width: 600px) {
    .login-content {
        padding: 20px 15px;
    }
    .login-header svg {
        width: 60px;
        height: 60px;
    }
    .login-header h2 {
        font-size: 1.3rem;
    }
    .svg-decoration {
        display: none;
    }
}
