/* ========================================
   Login Page Styles (scoped to body.login-page)
   ======================================== */

body.login-page {
    font-family: var(--font-family-base);
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.login-page * {
    box-sizing: border-box;
}

body.login-page .login-container {
    width: 100%;
    max-width: 420px;
}

body.login-page .login-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

body.login-page .login-header {
    background: #2c3e50;
    padding: 2.5rem 2rem;
    text-align: center;
    border-bottom: 3px solid #3498db;
}

body.login-page .logo-icon {
    width: 70px;
    height: 70px;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

body.login-page .logo-icon i {
    font-size: 2rem;
    color: #ffffff;
}

body.login-page .login-header h1 {
    font-family: var(--font-family-heading);
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

body.login-page .login-header p {
    margin: 0;
    font-size: 0.875rem;
    color: #bdc3c7;
    font-weight: 400;
}

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

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

body.login-page .form-label {
    font-weight: 500;
    color: #34495e;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.login-page .input-wrapper {
    position: relative;
}

body.login-page .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 1rem;
    z-index: 2;
}

body.login-page .form-control {
    border: 1px solid #dce1e6;
    border-radius: 0;
    padding: 0.875rem 1rem 0.875rem 3rem;
    font-size: 0.9375rem;
    transition: border-color 0.15s ease;
    background: #ffffff;
    color: #2c3e50;
}

body.login-page .form-control:focus {
    border-color: #3498db;
    box-shadow: none;
    background: #ffffff;
    outline: none;
}

body.login-page .form-control::placeholder {
    color: #95a5a6;
}

body.login-page .btn-login {
    font-family: var(--font-family-heading);
    background: #3498db;
    border: none;
    border-radius: 0;
    padding: 0.875rem 1rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #ffffff;
    width: 100%;
    transition: background-color 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.login-page .btn-login:hover {
    background: #2980b9;
}

body.login-page .btn-login:active {
    background: #21618c;
}

body.login-page .alert {
    border-radius: 0;
    border: none;
    border-left: 4px solid #e74c3c;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: #fadbd8;
    color: #c0392b;
}

body.login-page .alert i {
    color: #e74c3c;
}

body.login-page .back-link {
    text-align: center;
    margin-top: 1.5rem;
}

body.login-page .back-link a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

body.login-page .back-link a:hover {
    color: #3498db;
}

body.login-page .security-badge {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ecf0f1;
}

body.login-page .security-badge small {
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 576px) {
    body.login-page .login-body {
        padding: 2rem 1.5rem;
    }

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

    body.login-page .login-header h1 {
        font-size: 1.25rem;
    }

    body.login-page .logo-icon {
        width: 60px;
        height: 60px;
    }

    body.login-page .logo-icon i {
        font-size: 1.75rem;
    }
}
