/* File: assets/css/login.css */

:root {
    --primary-navy: #0f172a;
    --accent-blue: #2563eb;
    --accent-hover: #1d4ed8;
    --bg-canvas: #f8fafc;
}

body.login-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
}

.login-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    box-shadow: 0 25px 40px -15px rgba(15, 23, 42, 0.12);
    width: 100%;
    max-width: 420px;
    padding: 2.5rem 2.25rem;
    position: relative;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-navy);
}

.brand-logo-login {
    max-width: 105px;
    margin: 0 auto 1.2rem auto;
    display: block;
}

.login-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: -0.5px;
}

.input-group-custom {
    position: relative;
}

.form-control-custom {
    border-radius: 12px;
    padding: 0.8rem 1rem 0.8rem 2.6rem;
    border: 1.5px solid #cbd5e1;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.form-control-custom:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.input-icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    z-index: 5;
}

.btn-toggle-pwd {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    z-index: 5;
    padding: 4px;
}

.btn-toggle-pwd:hover {
    color: var(--primary-navy);
}

.btn-login {
    background-color: var(--primary-navy);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.85rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.btn-login:hover {
    background-color: #1e293b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.25);
}

.alert-custom {
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: none;
}