/* Vscore FinX Login Styles - Vscore.at Design */
:root {
    --primary-color: #075e65;
    --primary-light: #0a7178;
    --secondary-color: #aaa739;
    --secondary-light: #bdb847;
    --accent-color: #075e65;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-bg: #ffffff;
    --lighter-bg: #f8f9fa;
    --dark-text: #1a1a1a;
    --gray-text: #666666;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--lighter-bg);
}

.login-body {
    height: 100vh;
    background: var(--lighter-bg);
}

/* Left side - Brand section */
.login-image {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
}

.overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 400px;
    padding: 2rem;
}

.text-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.text-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Right side - Login form */
.login-form-container {
    width: 100%;
    max-width: 420px;
    padding: 3rem 2rem;
    background: var(--light-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin: 2rem;
    border: 1px solid var(--border-color);
}

.logo-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.logo-icon i {
    font-size: 2.5rem;
    color: white;
}

.login-form h2 {
    color: var(--dark-text);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.login-form p {
    color: var(--gray-text);
    margin-bottom: 2rem;
}

/* Form Controls */
.form-label {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    transition: all 0.2s ease;
    background-color: var(--light-bg);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(7, 94, 101, 0.1);
    background-color: var(--light-bg);
    outline: none;
}

.form-control-lg {
    padding: 1rem 1rem;
    font-size: 1rem;
}

.input-group-text {
    background-color: var(--lighter-bg);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: var(--gray-text);
}

.input-group .form-control {
    border-left: none;
    border-radius: 0;
}

.input-group .form-control:focus {
    border-left: none;
}

.input-group .btn-outline-secondary {
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: 0 4px 4px 0;
    color: var(--gray-text);
    background-color: var(--lighter-bg);
}

.input-group .btn-outline-secondary:hover {
    background-color: var(--border-color);
    border-color: var(--border-color);
    color: var(--dark-text);
}

/* Button Styles */
.btn-primary {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
    transition: all 0.2s ease;
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
}

.btn-primary:focus {
    box-shadow: 0 0 0 3px rgba(7, 94, 101, 0.2);
}

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

.btn-primary:disabled {
    opacity: 0.7;
    transform: none;
}

/* Alert Styles */
.alert {
    border-radius: 4px;
    border: 1px solid;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form-container {
    animation: fadeInUp 0.6s ease-out;
}

.text-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .login-body {
        background: white;
    }
    
    .login-form-container {
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 2rem 1.5rem;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .text-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .login-form-container {
        padding: 1.5rem 1rem;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon i {
        font-size: 2rem;
    }
}

/* Loading states */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus {
    outline: none;
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-text);
}