/* sidebar background */
.fi-sidebar {
    background-color: #7d7979 !important;
}

/* sidebar labels + icons */
.fi-sidebar-item-label,
.fi-sidebar-group-label,
.fi-sidebar-item-icon {
    color: #ffffff !important;
}

/* dashboard default state */
.fi-sidebar-item-button {
    background-color: transparent !important;
    color: #ffffff !important;
}

/* dashboard icon */
.fi-sidebar-item-button svg {
    color: #ffffff !important;
}

/* dashboard hover state */
.fi-sidebar-item-button:hover {
    background-color: rgba(255,255,255,0.08) !important;
}

/* dashboard active state */
.fi-sidebar-item-button.fi-active {
    background-color: rgba(255,255,255,0.15) !important;
}

/* scrollbar fix */
.fi-main {
    overflow-y: auto !important;
}

.fi-body {
    overflow-y: auto !important;
}

.fi-form {
    overflow-y: auto !important;
}

.fi-section-content {
    overflow-y: visible !important;
}

/* ============================
   CoFlow Auth
============================ */

/* === Background === */
.fi-simple-layout {
    background:
        radial-gradient(circle at 30% 30%, #eef1ff 0%, transparent 50%),
        radial-gradient(circle at 75% 80%, #e8ecff 0%, transparent 50%),
        linear-gradient(180deg, #f0f2f8 0%, #e8eaf3 100%) !important;
}

/* === Card === */
.fi-simple-main {
    width: 460px !important;
    max-width: 92% !important;
    padding: 2.75rem 2.5rem 2.5rem !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    --tw-ring-shadow: 0 0 0 1px rgba(0,0,0,0.06) !important;
    box-shadow:
        var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow),
        0 1px 3px rgba(0,0,0,0.04),
        0 8px 24px rgba(0,0,0,0.06),
        0 20px 48px rgba(0,0,0,0.04) !important;
}

/* === Logo spacing === */
.fi-simple-main img.fi-logo {
    margin-bottom: 1.25rem !important;
}

/* === Heading === */
.fi-simple-header-heading {
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: #111827 !important;
}

/* === Input wrapper (ring border) === */
.fi-simple-main .fi-input-wrp {
    padding: 0 0.75rem !important;
    min-height: 48px !important;
    border-radius: 12px !important;
    border: 1.5px solid #d1d5db !important;
    --tw-ring-shadow: 0 0 #0000 !important;
    --tw-shadow: 0 0 #0000 !important;
    box-shadow: none !important;
}

.fi-simple-main .fi-input-wrp:focus-within {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
}

/* === Input field === */
.fi-simple-main .fi-input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    height: 100% !important;
    padding: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    color: #111827 !important;
}

.fi-simple-main .fi-input::placeholder {
    color: #9ca3af !important;
}

/* === Primary button === */
.fi-simple-main .fi-btn-color-primary {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    background: #4f46e5 !important;
    box-shadow:
        0 1px 2px rgba(79, 70, 229, 0.15),
        0 4px 12px rgba(79, 70, 229, 0.2) !important;
    transition: background 0.15s ease, box-shadow 0.15s ease !important;
}

.fi-simple-main .fi-form-actions {
    margin-top: 0.5rem !important;
}

.fi-simple-main .fi-btn-color-primary:hover {
    background: #4338ca !important;
    box-shadow:
        0 2px 4px rgba(79, 70, 229, 0.2),
        0 8px 20px rgba(79, 70, 229, 0.25) !important;
}

/* === Forgot password link === */
.fi-simple-main .fi-link .text-custom-600 {
    color: #4f46e5 !important;
}

.fi-simple-main .fi-link:hover .text-custom-600 {
    color: #4338ca !important;
}

/* === Checkbox === */
.fi-simple-main .fi-checkbox-input:checked {
    background-color: #4f46e5 !important;
}

/* === Labels === */
.fi-simple-main .fi-fo-field-wrp-label span {
    color: #374151 !important;
}

/* === Password eye icon border === */
.fi-simple-main .fi-input-wrp-suffix {
    border-left-color: #e5e7eb !important;
}