/**
 * Login Page Styles
 */

:root {
    --primary-color: #60a5fa;
    --primary-dark: #3b82f6;
    --surface-color: #ffffff;
    --background-color: #f8fafc;
    --text-primary: #475569;
    --text-secondary: #94a3b8;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(1200px 600px at 10% 10%, #e0f2fe 0%, transparent 60%),
                radial-gradient(1000px 600px at 90% 90%, #f0f9ff 0%, transparent 60%),
                linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.login-wrapper {
    width: 100%;
    max-width: 980px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.brand-card {
    position: relative;
    border-radius: 18px;
    padding: 32px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.1), rgba(147, 197, 253, 0.08));
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #1e293b;
    min-height: 420px;
    display: none;
}

@media (min-width: 900px) {
    .brand-card { 
        display: block; 
    }
}

.brand-hero {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 400px at 70% 20%, rgba(96,165,250,0.15) 0%, transparent 60%),
                radial-gradient(600px 400px at 20% 80%, rgba(147,197,253,0.15) 0%, transparent 60%);
    filter: blur(30px);
    pointer-events: none;
}

.brand-content { 
    position: relative; 
    z-index: 1; 
    display: flex; 
    height: 100%; 
    flex-direction: column; 
    justify-content: space-between; 
}

.brand-header { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    font-size: 22px; 
    font-weight: 700; 
}

.brand-header i { 
    color: #60a5fa; 
}

.brand-sub { 
    color: #64748b; 
    font-size: 14px; 
    margin-top: 6px; 
}

.brand-footer { 
    color: #94a3b8; 
    font-size: 12px; 
}

.login-card {
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgb(15 23 42 / 0.10), 0 2px 8px rgb(15 23 42 / 0.05);
    padding: 32px;
}

.login-header { 
    margin-bottom: 18px; 
}

.brand { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-weight: 800; 
    font-size: 22px; 
    color: var(--text-primary); 
}

.brand i { 
    color: var(--primary-color); 
}

.subtitle { 
    color: var(--text-secondary); 
    font-size: 13px; 
    margin-top: 6px; 
}

.form-group { 
    margin-bottom: 20px; 
}

label { 
    display: block; 
    font-size: 13px; 
    color: var(--text-secondary); 
    margin-bottom: 6px; 
}

.input-wrap { 
    position: relative; 
}

input[type="text"], input[type="password"] { 
    width: 100%; 
    padding: 14px 44px 14px 16px; 
    border: 1px solid var(--border-color); 
    border-radius: 12px; 
    font-size: 14px; 
    outline: none; 
    background: #fff; 
    color: var(--text-primary); 
    box-sizing: border-box;
    transition: all 0.2s ease;
}

input[type="text"]:focus, input[type="password"]:focus { 
    border-color: var(--primary-color); 
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15); 
}

.icon-right { 
    position: absolute; 
    right: 14px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: #94a3b8; 
    cursor: pointer; 
}

.helper { 
    font-size: 12px; 
    color: #b91c1c; 
    margin-top: 6px; 
    display: none; 
}

.row { 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
    margin: 12px 0 24px; 
}

.remember { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    color: var(--text-secondary); 
    font-size: 14px; 
    cursor: pointer;
    user-select: none;
}

.remember input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.btn { 
    width: 100%; 
    padding: 14px 16px; 
    background: var(--primary-color); 
    color: white; 
    border: none; 
    border-radius: 12px; 
    font-weight: 600; 
    font-size: 15px; 
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.08);
}

.btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.28);
    transform: translateY(-1px);
}

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

.btn[disabled] { 
    opacity: 0.7; 
    cursor: not-allowed; 
}

.error { 
    background: #fee2e2; 
    color: #991b1b; 
    border: 1px solid #fecaca; 
    padding: 10px 12px; 
    border-radius: 10px; 
    font-size: 13px; 
    margin-bottom: 12px; 
    display: none; 
}

.footer-note { 
    margin-top: 20px; 
    color: var(--text-secondary); 
    font-size: 13px; 
    text-align: center; 
}


