:root {
    --primary: #003b79;
    --primary-dark: #002651;
    --secondary: #f58220;
    --background: #f6fafe;
    --surface: #ffffff;
    --text-main: #171c1f;
    --text-muted: #434750;
    --text-light: #737781;
    --input-bg: #e4e9ed;
    --border-radius: 16px;
    --transition: all 0.2s ease;
}

* { box-sizing: border-box; }

.login-page {
    font-family: Inter, sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow-x: hidden;
}

.bg-accent {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.accent-1,
.accent-2 {
    position: absolute;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    filter: blur(100px);
}
.accent-1 {
    top: -10%;
    right: -5%;
    background: rgba(0, 59, 121, 0.05);
}
.accent-2 {
    bottom: -10%;
    left: -5%;
    background: rgba(245, 130, 32, 0.05);
}

.login-main {
    width: 100%;
    max-width: 400px;
    z-index: 1;
}

.brand-section {
    text-align: center;
    margin-bottom: 32px;
}
.logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: var(--primary);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}
.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.brand-title {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.brand-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}
.brand-meta {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 500;
}
.brand-meta span { display: block; }

.login-card {
    background-color: var(--surface);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: 0 20px 40px -12px rgba(0, 59, 121, 0.08);
}
.login-alert {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    background: #ffdad6;
    color: #93000a;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
}
.form-group { margin-bottom: 24px; }
.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-left: 4px;
}
.input-wrapper { position: relative; }
.input-wrapper .material-symbols-outlined {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 20px;
}
.form-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background-color: var(--input-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-main);
    transition: var(--transition);
    outline: none;
}
.form-input:focus {
    background-color: var(--surface);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 59, 121, 0.05);
}

.input-wrapper--password .form-input {
    padding-right: 52px;
}
.pwd-toggle-btn {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}
.pwd-toggle-btn:hover {
    color: var(--primary);
    background: rgba(0, 59, 121, 0.06);
}
.pwd-toggle-btn .material-symbols-outlined {
    font-size: 22px;
}

.login-remember-wrap {
    margin-bottom: 20px;
}
.login-remember-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.4;
}
.login-remember-label input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    flex-shrink: 0;
}
.login-remember-hint {
    margin: 8px 0 0 28px;
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.45;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 59, 121, 0.15);
}
.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}
.submit-btn:active { transform: scale(0.98); }
.submit-btn .arrow { transition: transform 0.2s ease; }
.submit-btn:hover .arrow { transform: translateX(4px); }

.admin-btn {
    width: 100%;
    margin-top: 10px;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}
.admin-btn:hover {
    background: rgba(0, 59, 121, 0.06);
}

.card-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #dfe3e7;
    text-align: center;
}
.hint-text {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}
.hint-text .material-symbols-outlined { font-size: 14px; }
.support-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.support-link:hover { color: var(--secondary); }

.bottom-decoration {
    margin-top: 48px;
    text-align: center;
}
.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0.2;
    filter: grayscale(1);
    margin-bottom: 24px;
}
.logo-text {
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.05em;
    color: var(--primary);
}
.tagline {
    font-size: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}

@media (max-width: 480px) {
    .login-page { padding: 16px; }
    .login-card { padding: 24px; }
}
