/* assets/css/login.css - GEOHUB.UZ Login Page Styles */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --brand-emerald-500: #10b981;
    --brand-emerald-600: #059669;
    --brand-emerald-700: #047857;
    --brand-teal-900: #022c22;
}

* {
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hero Background Image with Atmospheric Emerald Gradient */
.login-hero-bg {
    background-image:
        linear-gradient(135deg, rgba(6, 78, 59, 0.92) 0%, rgba(4, 47, 46, 0.86) 45%, rgba(2, 44, 34, 0.95) 100%),
        url('../images/login-bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Subtle particle or noise texture overlay */
.hero-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 30%, rgba(2, 44, 34, 0.4) 100%);
}

/* Error Alert Shake Animation */
@keyframes shakeAlert {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-6px);
    }

    40%,
    80% {
        transform: translateX(6px);
    }
}

.animate-shake {
    animation: shakeAlert 0.4s ease-in-out;
}

/* Modal Fade Animation */
@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content-animated {
    animation: fadeInModal 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Input Focus Glow */
.login-input {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-input:focus {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

/* Custom Checkbox */
input[type="checkbox"] {
    accent-color: #059669;
}