@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --at-primary: #0d47a1;
    --at-primary-dark: #08306b;
    --at-sidebar-bg: #0a2647;
    --at-sidebar-hover: #123a66;
    --at-sidebar-active: #0d47a1;
    --at-body-bg: #f0f4f8;
}

body,
.fi-logo {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.fi-body {
    background-color: var(--at-body-bg);
}

/* Sidebar */
.fi-sidebar {
    background-color: var(--at-sidebar-bg) !important;
}

.fi-sidebar-header {
    background-color: var(--at-sidebar-bg) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.fi-sidebar-header .fi-logo {
    color: #ffffff !important;
}

.fi-sidebar-group-label,
.fi-sidebar-group-icon {
    color: rgba(255, 255, 255, 0.45) !important;
}

.fi-sidebar-item-button {
    border-left: 3px solid transparent;
    border-radius: 0.375rem;
}

.fi-sidebar-item-button:hover {
    background-color: var(--at-sidebar-hover) !important;
}

.fi-sidebar-item-icon,
.fi-sidebar-item-label {
    color: rgba(255, 255, 255, 0.72) !important;
}

.fi-sidebar-item-button:hover .fi-sidebar-item-icon,
.fi-sidebar-item-button:hover .fi-sidebar-item-label {
    color: #ffffff !important;
}

.fi-sidebar-item.fi-active .fi-sidebar-item-button {
    background-color: var(--at-sidebar-active) !important;
    border-left-color: #ffffff;
}

.fi-sidebar-item.fi-active .fi-sidebar-item-icon,
.fi-sidebar-item.fi-active .fi-sidebar-item-label {
    color: #ffffff !important;
}

/* Topbar */
.fi-topbar nav {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Cards / sections */
.fi-section,
.fi-ta-ctn {
    border-radius: 0.65rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Auth pages (login, dst) */
.fi-simple-layout {
    background: linear-gradient(135deg, var(--at-sidebar-bg) 0%, var(--at-primary) 100%);
}

.fi-simple-header {
    display: none;
}

.fi-simple-main {
    overflow: hidden;
    border-radius: 1rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

.at-auth-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--at-sidebar-bg) 0%, var(--at-primary) 100%);
    margin: -3rem -1.5rem 2rem;
    padding: 2.5rem 1.5rem 2rem;
}

@media (min-width: 640px) {
    .at-auth-header {
        margin-left: -3rem;
        margin-right: -3rem;
    }
}

.at-auth-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.at-auth-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.at-auth-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 2px 0 0;
}

.at-auth-form-heading {
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    margin: 0 0 1.25rem;
}

/* Slider captcha di halaman login */
.at-slider-captcha-wrap {
    margin-bottom: 1.25rem;
}

.at-slider-captcha-track {
    position: relative;
    height: 44px;
    border-radius: 0.5rem;
    background: #e2e8f0;
    overflow: hidden;
    user-select: none;
    touch-action: none;
}

.at-slider-captcha-fill {
    position: absolute;
    inset: 0;
    width: 0;
    background: #86efac;
    transition: width 0.05s linear;
}

.at-slider-captcha-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
    pointer-events: none;
}

.at-slider-captcha-handle {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 40px;
    height: 40px;
    border-radius: 0.4rem;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--at-primary);
    cursor: grab;
    transition: left 0.05s linear;
}

.at-slider-captcha-handle:active {
    cursor: grabbing;
}

.at-slider-captcha-track.is-verified .at-slider-captcha-fill {
    background: #4ade80;
    transition: none;
}

.at-slider-captcha-track.is-verified .at-slider-captcha-label {
    color: #166534;
}

.at-slider-captcha-track.is-verified .at-slider-captcha-handle {
    color: #16a34a;
    transition: none;
}

.at-slider-captcha-track.is-resetting .at-slider-captcha-handle,
.at-slider-captcha-track.is-resetting .at-slider-captcha-fill {
    transition: left 0.2s ease, width 0.2s ease;
}

