@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;600;700&family=Montserrat:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat Alternates', sans-serif;
    background-color: #FCB426;
    overflow: hidden;
}

.hide {
    display: none !important;
}

/* Main Container */
.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Left Side - Login Form */
.login-left {
    flex: 0 0 45%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0px 80px 0;
    position: relative;
    z-index: 2;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

.login-content {
    width: 100%;
    max-width: 420px;
    padding: 40px;
}

/* Header */
.login-header {
    margin-bottom: 50px;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #58595B;
    line-height: 1.3;
    margin: 0;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-error {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #58595B;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #58595B;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus {
    border-color: #FCB426;
    box-shadow: 0 0 0 3px rgba(252, 180, 38, 0.1);
}

/* Form Link */
.form-link {
    margin: 16px 0 24px;
    text-align: right;
}

.form-link a {
    font-size: 14px;
    color: #4A90E2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-link a:hover {
    color: #FCB426;
}

/* Button */
.btn {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat Alternates', sans-serif;
}

.btn-primary {
    background-color: #FCB426;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(252, 180, 38, 0.3);
}

.btn-primary:hover {
    background-color: #e5a220;
    box-shadow: 0 6px 16px rgba(252, 180, 38, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(252, 180, 38, 0.3);
}

/* Footer */
.login-footer {
    margin-top: 40px;
    text-align: center;
}

.login-footer p {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

/* Right Side - Background */
.login-right {
    flex: 1;
    background: linear-gradient(135deg, #FCB426 0%, #f5a623 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.world-illustration {
    width: 100%;
    height: 100%;
    background-image: url('../images/mapping-zuma.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .login-left {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-left {
        flex: 1;
        border-radius: 0 0 60px 60px;
        padding: 20px;
    }
    
    .login-content {
        max-width: 100%;
        padding: 20px;
    }
    
    .login-header {
        margin-bottom: 30px;
    }
    
    .login-header h1 {
        font-size: 26px;
    }
    
    .login-right {
        flex: 0 0 200px;
    }
    
    .world-illustration {
        background-size: cover;
    }
    
    .login-footer {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .login-content {
        padding: 16px;
    }
    
    .login-header h1 {
        font-size: 22px;
    }
    
    .form-control {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .btn {
        padding: 14px;
        font-size: 14px;
    }
    
    .login-right {
        flex: 0 0 150px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-content {
    animation: fadeIn 0.6s ease;
}

/* Focus States for Accessibility */
.form-control:focus,
.btn:focus,
a:focus {
    outline: 2px solid #FCB426;
    outline-offset: 2px;
}