﻿/* login-styles.css */
:root {
    --primary-blue: #4A5FC7;
    --primary-blue-dark: #3B4BA3;
    --accent-orange: #FF7B35;
    --neutral-gray: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --white: #FFFFFF;
    --border-light: #E9ECEF;
    --shadow-light: rgba(74, 95, 199, 0.1);
    --shadow-medium: rgba(74, 95, 199, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    background: #f1f1f1 !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    position: relative;
}

.logo-floating {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.company-logo-floating {
    height: 80px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

    .company-logo-floating:hover {
        opacity: 1;
    }

.login-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.login-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
}

    .login-header::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: var(--accent-orange);
        border-radius: 2px;
    }

    .login-header::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: var(--accent-orange);
        border-radius: 2px;
    }

.login-title {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.login-subtitle {
    color: var(--accent-orange);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.login-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
}

.login-body {
    padding: 2.5rem 2rem 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
}

    .form-control:focus {
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 3px var(--shadow-light);
    }

    .form-control::placeholder {
        color: var(--text-light);
    }

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 0.75rem;
}

.form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    background: var(--white);
    margin: 0;
    cursor: pointer;
}

    .form-check-input:checked {
        background: var(--primary-blue);
        border-color: var(--primary-blue);
    }

.form-check-label {
    color: var(--text-light);
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-login {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 40px rgba(74, 95, 199, 0.3);
    }

.text-danger {
    color: #E74C3C;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.validation-summary {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    color: #E74C3C;
    font-size: 0.875rem;
}

    .validation-summary ul {
        margin: 0;
        padding-left: 1rem;
    }

.forgot-password {
    text-align: center;
    margin-top: 1.5rem;
}

    .forgot-password a {
        color: var(--primary-blue);
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 500;
    }

        .forgot-password a:hover {
            color: var(--accent-orange);
        }

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 1rem;
    }

    .logo-floating {
        margin-bottom: 1.5rem;
    }

    .company-logo-floating {
        height: 65px;
        max-width: 200px;
    }

    .login-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .login-body {
        padding: 2rem 1.5rem 1.5rem;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .login-subtitle {
        font-size: 0.9rem;
    }
}
