:root {
    --nexo-primary: #1347ae;
    --nexo-primary-hover: #0f3a94;
    --nexo-bg-light: #f6f6f8;
    --nexo-text-dark: #1e293b;
    --nexo-text-label: #334155;
    --nexo-text-muted: #94a3b8;
    --nexo-border: #e2e8f0;
    --nexo-divider: #f1f5f9;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Hero panel (left) ── */
.hero-panel {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}
.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://lh3.googleusercontent.com/aida-public/AB6AXuCYhEtu_LGIQKt5SBJy-zVwvGpxXBpDCHn_a5lKCb4qIGd0gRshWUOo53-_xdZrjxGDWjGUFGcvvwsyEDCAVzSEREbvjweRfkzl1HgvG9DwIjHGNxDE1REFbYWygUvWBJn_wZHFC2d1PjuRlHx6ox_SvmSfUsP8dgF_2XBwZwrDBVJpTsH0CjNJ4Sa-MT8PBWBbJj5oiIkcEDmyi0rlF-cArJV7TbuLEBfsLC0LwnGvlLIIqCpk0wXf8sr6EiaC_9n58Wt22oiqNiE') center/cover no-repeat;
    z-index: 0;
}
.hero-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19, 71, 174, 0.85), rgba(19, 71, 174, 0.20));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-logo-box {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 0.625rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nexo-primary);
}
.hero-logo-box svg {
    width: 24px;
    height: 24px;
}
.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}
.hero-subtitle {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1.05rem;
    max-width: 26rem;
}

/* ── Login panel (right) ── */
.login-panel {
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.login-form-wrapper {
    width: 100%;
    max-width: 420px;
}

/* ── Custom form controls ── */
.form-control-custom {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    background-color: var(--nexo-bg-light);
    border: 1px solid var(--nexo-border);
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 0.95rem;
    color: var(--nexo-text-dark);
}
.form-control-custom::placeholder {
    color: var(--nexo-text-muted);
}
.form-control-custom:focus {
    border-color: var(--nexo-primary);
    box-shadow: 0 0 0 3px rgba(19, 71, 174, 0.15);
}
.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nexo-text-muted);
    font-size: 1.25rem;
}
.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nexo-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}
.toggle-password:hover {
    color: #475569;
}

/* ── Checkbox ── */
.form-check-input:checked {
    background-color: var(--nexo-primary);
    border-color: var(--nexo-primary);
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(19, 71, 174, 0.25);
}

/* ── Button ── */
.btn-nexo {
    width: 100%;
    background-color: var(--nexo-primary);
    color: #fff;
    font-weight: 700;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(19, 71, 174, 0.25);
    transition: background-color 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-nexo:hover {
    background-color: var(--nexo-primary-hover);
    color: #fff;
    box-shadow: 0 10px 25px rgba(19, 71, 174, 0.30);
}
.btn-nexo:hover .arrow-icon {
    transform: translateX(4px);
}
.arrow-icon {
    transition: transform 0.2s;
    font-size: 1.125rem;
}

/* ── Links ── */
.forgot-link {
    color: var(--nexo-primary);
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.2s;
}
.forgot-link:hover {
    text-decoration: underline;
    color: var(--nexo-primary-hover);
}
.footer-link {
    color: var(--nexo-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover {
    color: var(--nexo-primary);
}

/* ── Divider ── */
.section-divider {
    border-top: 1px solid var(--nexo-divider);
}

/* ── Mobile logo ── */
.mobile-logo svg {
    width: 32px;
    height: 32px;
}