/* css/login.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(145deg, #f0f5fa 0%, #e6edf4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    margin: 0;
    line-height: 1.5;
    color: #1e293b;
}

.login-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 35px -8px rgba(0, 20, 45, 0.2), 0 4px 8px rgba(0, 0, 0, 0.02);
    width: 100%;
    max-width: 440px;
    border-radius: 32px;
    padding: 2.5rem 2rem 2.8rem;
    transition: transform 0.2s ease;
}

.login-card:hover {
    box-shadow: 0 25px 40px -12px rgba(0, 35, 70, 0.25);
}

.system-header {
    text-align: center;
    margin-bottom: 2.2rem;
}

.system-icon {
    background: #1e3c5c;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 14px -4px rgba(20, 60, 120, 0.3);
}

.system-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: white;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.system-header h1 {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    background: linear-gradient(145deg, #1e3c5c, #0f2a40);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.system-badge {
    background: rgba(30, 60, 92, 0.1);
    color: #1e3c5c;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    display: inline-block;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.alert-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    backdrop-filter: blur(4px);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    display: block;
    margin-bottom: 0.4rem;
    margin-left: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #7e8b9c;
    width: 1.25rem;
    text-align: center;
    pointer-events: none;
}

input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    outline: none;
    color: #1e293b;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

input:focus {
    border-color: #1e3c5c;
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 60, 92, 0.15), inset 0 1px 3px rgba(0,0,0,0.05);
}

input::placeholder {
    color: #9aa9b9;
    font-weight: 400;
    font-size: 0.95rem;
}

.password-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.3rem 0.5rem 0.8rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
}

.remember-me input {
    width: auto;
    accent-color: #1e3c5c;
    transform: scale(1.1);
    margin-right: 0.2rem;
}

.forgot-link {
    font-size: 0.85rem;
    color: #1e3c5c;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted rgba(30, 60, 92, 0.3);
}

.forgot-link:hover {
    color: #0f2a40;
    border-bottom-color: #0f2a40;
}

.login-btn {
    background: #1e3c5c;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.9rem 1rem;
    border: none;
    border-radius: 30px;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 8px 18px -6px #1e3c5c80;
    letter-spacing: 0.3px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.login-btn:hover {
    background: #0f2a40;
    box-shadow: 0 10px 22px -6px #1e3c5c;
}

.login-btn:active {
    transform: scale(0.98);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.footer-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #8596a8;
    text-align: center;
}