/* Login Page Styles - Updated */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

.min-vh-100 {
    min-height: 100vh;
}

/* Left Half - Image Container */
.login-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.3) 0%, rgba(108, 117, 125, 0.3) 100%);
}

/* Right Half - Login Form Container */
.login-form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    background-color: #f8f9fa;
    position: relative;
}

.login-form-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* App Name and Slogan */
.app-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.app-slogan {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Form Styles */
.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.input-group .btn {
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Login Footer */
.login-footer {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    padding: 0;
    border-top: none;
    margin-top: 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #6c757d;
}

.footer-content a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #007bff;
}

/* Alert Styles */
.alert {
    border-radius: 0.5rem;
    border: none;
    padding: 1rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

/* reCAPTCHA Container */
.g-recaptcha {
    display: flex;
    justify-content: center;
}

/* Slug Icon Styles */
.slug-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .app-name {
        font-size: 2rem;
    }
    
    .login-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .login-form-container {
        padding: 1rem;
    }
    
    .login-form-wrapper {
        padding: 1.5rem;
    }
    
    .app-name {
        font-size: 1.75rem;
    }
    
    .app-slogan {
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form-wrapper {
    animation: fadeIn 0.5s ease;
}
