@import 'tailwindcss' source(none);

@import '../../../../vendor/filament/filament/resources/css/index.css';

@theme {
    --font-sans: 'Open Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
}

/* ============================================================ */
/* KEYFRAMES                                                     */
/* ============================================================ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(30, 58, 138, 0.12); }
    50% { box-shadow: 0 0 40px rgba(30, 58, 138, 0.25); }
}
@keyframes slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ============================================================ */
/* ANIMATION UTILITY CLASSES                                    */
/* ============================================================ */
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-slide-up { animation: slide-up 0.5s ease-out forwards; }
.animate-fade-in { animation: fade-in 0.5s ease-out forwards; }
.animate-scale-in { animation: scale-in 0.3s ease-out forwards; }
.animate-gradient { background-size: 200% 200%; animation: gradient-shift 4s ease infinite; }

.animate-slide-up-delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.animate-slide-up-delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.animate-slide-up-delay-3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }
.animate-slide-up-delay-4 { animation-delay: 0.4s; opacity: 0; animation-fill-mode: forwards; }
.animate-slide-up-delay-5 { animation-delay: 0.5s; opacity: 0; animation-fill-mode: forwards; }
.animate-slide-up-delay-6 { animation-delay: 0.6s; opacity: 0; animation-fill-mode: forwards; }
.animate-slide-up-delay-7 { animation-delay: 0.7s; opacity: 0; animation-fill-mode: forwards; }
.animate-slide-up-delay-8 { animation-delay: 0.8s; opacity: 0; animation-fill-mode: forwards; }

/* ============================================================ */
/* GLOBAL BACKGROUND — Seperti halaman public (bg-gray-50)      */
/* ============================================================ */
body {
    background: #f9fafb !important;
    font-family: 'Open Sans', sans-serif !important;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e3a8a' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ============================================================ */
/* MAIN LAYOUT                                                   */
/* ============================================================ */
.fi-main { background: transparent !important; }
.fi-main-ctn { background: transparent !important; }

.fi-topbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(30, 58, 138, 0.08) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

/* ============================================================ */
/* SIDEBAR — Nav mirip public: bg-blue-900, SEMUA teks putih     */
/* ============================================================ */
.fi-sidebar {
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%) !important;
    border-right: 1px solid rgba(30, 58, 138, 0.2) !important;
    box-shadow: 4px 0 20px -8px rgba(30, 58, 138, 0.15) !important;
}

.fi-sidebar-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 1.25rem 1rem !important;
}

.fi-sidebar-header .fi-logo {
    filter: brightness(0) invert(1);
}

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

.fi-sidebar-item-btn {
    transition: all 0.2s ease;
    border-radius: 8px !important;
    margin: 2px 4px;
}

.fi-sidebar-item-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.fi-sidebar-item.fi-active > .fi-sidebar-item-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    border-right: 3px solid rgba(255, 255, 255, 0.7) !important;
}

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

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

.fi-sidebar-item-btn > .fi-icon {
    color: rgba(255, 255, 255, 0.55) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fi-sidebar-item-btn:hover > .fi-icon {
    color: rgba(255, 255, 255, 0.9) !important;
}

.fi-sidebar-item-btn:hover > .fi-sidebar-item-label {
    color: #ffffff !important;
}

.fi-sidebar-item-label {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500 !important;
}

.fi-sidebar-item-has-url .fi-sidebar-item-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.fi-sidebar-item-has-child-items .fi-sidebar-item-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.fi-sidebar-item-has-active-child-items .fi-sidebar-item-btn {
    background: rgba(255, 255, 255, 0.06) !important;
}

.fi-sidebar-group-label {
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 0.5rem 0.75rem 0.25rem !important;
}

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

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

.fi-sidebar-collapse-btn,
.fi-sidebar-close-collapse-sidebar-btn,
.fi-sidebar-open-collapse-sidebar-btn {
    color: rgba(255, 255, 255, 0.5) !important;
}

.fi-sidebar-collapse-btn:hover,
.fi-sidebar-close-collapse-sidebar-btn:hover,
.fi-sidebar-open-collapse-sidebar-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.fi-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.fi-sidebar-database-notifications-btn-label {
    color: rgba(255, 255, 255, 0.75) !important;
}

.fi-sidebar-database-notifications-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.fi-sidebar-database-notifications-btn > .fi-icon {
    color: rgba(255, 255, 255, 0.5) !important;
}

.fi-sidebar-group-dropdown-trigger-btn {
    color: rgba(255, 255, 255, 0.75) !important;
}

.fi-sidebar-group-dropdown-trigger-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.fi-sidebar-group-dropdown-trigger-btn .fi-icon {
    color: rgba(255, 255, 255, 0.5) !important;
}

.fi-sidebar-close-overlay {
    background: rgba(0, 0, 0, 0.4) !important;
}

/* ============================================================ */
/* PAGE & CONTENT CARDS — Mirip public: bg-white rounded-xl     */
/* ============================================================ */
.fi-page {
    animation: slide-up 0.4s ease-out;
}

.fi-page-heading {
    font-weight: 700 !important;
    color: #1e3a8a !important;
}

.fi-card {
    border-radius: 12px !important;
    border: 1px solid rgba(229, 231, 235, 0.8) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #ffffff !important;
}

.fi-card:hover {
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px);
    border-color: rgba(30, 58, 138, 0.1) !important;
}

/* ============================================================ */
/* SECTIONS                                                      */
/* ============================================================ */
.fi-section {
    border-radius: 12px !important;
    border: 1px solid rgba(229, 231, 235, 0.7) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden;
    background: #ffffff !important;
}

.fi-section-header {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
    border-bottom: 1px solid rgba(229, 231, 235, 0.6) !important;
    padding: 1.25rem 1.5rem !important;
}

.fi-section-header-heading {
    font-weight: 700 !important;
    color: #1e3a8a !important;
}

.fi-section:has(.fi-section-header) {
    border-top: 3px solid rgba(30, 58, 138, 0.15) !important;
}

/* ============================================================ */
/* TABLES                                                        */
/* ============================================================ */
.fi-ta-ctn {
    border-radius: 12px !important;
    border: 1px solid rgba(229, 231, 235, 0.8) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    background: #ffffff !important;
}

.fi-ta-ctn:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.fi-ta-header {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%) !important;
    border-bottom: 1px solid rgba(30, 58, 138, 0.06) !important;
    padding: 1rem 1.5rem !important;
}

.fi-ta-record {
    transition: all 0.2s ease;
    animation: fade-in 0.3s ease-out forwards;
}

.fi-ta-record:nth-child(even) {
    background: rgba(249, 250, 251, 0.4) !important;
}

.fi-ta-record:hover {
    background: rgba(239, 246, 255, 0.5) !important;
}

/* ============================================================ */
/* STATS OVERVIEW WIDGETS                                       */
/* ============================================================ */
.fi-stats-overview-stat {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(229, 231, 235, 0.6) !important;
    background: #ffffff !important;
    animation: slide-up 0.4s ease-out forwards;
}

.fi-stats-overview-stat:nth-child(1) { animation-delay: 0.05s; }
.fi-stats-overview-stat:nth-child(2) { animation-delay: 0.1s; }
.fi-stats-overview-stat:nth-child(3) { animation-delay: 0.15s; }
.fi-stats-overview-stat:nth-child(4) { animation-delay: 0.2s; }
.fi-stats-overview-stat:nth-child(5) { animation-delay: 0.25s; }
.fi-stats-overview-stat:nth-child(6) { animation-delay: 0.3s; }

.fi-stats-overview-stat:hover {
    box-shadow: 0 8px 25px -8px rgba(30, 58, 138, 0.1) !important;
    transform: translateY(-3px) !important;
    border-color: rgba(30, 58, 138, 0.15) !important;
}

/* ============================================================ */
/* FORM INPUTS — Mirip public: border-gray-300, focus:ring-blue */
/* ============================================================ */
.fi-input-wrp {
    border-radius: 8px !important;
    border: 1px solid rgba(209, 213, 219, 1) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s ease !important;
    background: #ffffff !important;
}

.fi-input-wrp:focus-within {
    border-color: rgba(59, 130, 246, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* ============================================================ */
/* BUTTONS — Mirip public: bg-blue-900, hover:bg-blue-800       */
/* ============================================================ */
.fi-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.fi-btn-primary {
    box-shadow: 0 4px 10px -2px rgba(30, 58, 138, 0.15) !important;
}

.fi-btn-primary:hover {
    box-shadow: 0 8px 20px -4px rgba(30, 58, 138, 0.25) !important;
    transform: translateY(-2px) !important;
}

.fi-btn-primary:active {
    transform: translateY(0) !important;
}

.fi-btn-danger:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.25) !important;
}

.fi-btn-outlined {
    border: 1px solid rgba(209, 213, 219, 0.8) !important;
}

.fi-btn-outlined:hover {
    border-color: rgba(30, 58, 138, 0.3) !important;
    background: rgba(239, 246, 255, 0.4) !important;
}

/* ============================================================ */
/* MODALS                                                        */
/* ============================================================ */
.fi-modal-window {
    border-radius: 16px !important;
    box-shadow: 0 25px 80px -12px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(229, 231, 235, 0.5) !important;
    background: #ffffff !important;
}

.fi-modal-window[open] {
    animation: scale-in 0.3s ease-out;
}

.fi-modal-header {
    border-bottom: 1px solid rgba(229, 231, 235, 0.6) !important;
    padding: 1.25rem 1.5rem !important;
}

.fi-modal-footer {
    border-top: 1px solid rgba(229, 231, 235, 0.6) !important;
    padding: 1rem 1.5rem !important;
}

/* ============================================================ */
/* DROPDOWN                                                      */
/* ============================================================ */
.fi-dropdown-list {
    border: 1px solid rgba(229, 231, 235, 0.8) !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.1) !important;
    background: #ffffff !important;
    padding: 6px !important;
}

.fi-dropdown-item {
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
}

.fi-dropdown-item:hover {
    background: rgba(239, 246, 255, 0.5) !important;
}

/* ============================================================ */
/* NOTIFICATION                                                  */
/* ============================================================ */
.fi-notification {
    border-radius: 12px !important;
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(229, 231, 235, 0.3) !important;
    animation: slide-up 0.3s ease-out;
}

/* ============================================================ */
/* FILE UPLOAD                                                   */
/* ============================================================ */
.fi-file-upload {
    border-radius: 12px !important;
    border: 2px dashed rgba(209, 213, 219, 0.8) !important;
    transition: all 0.3s ease !important;
    background: rgba(249, 250, 251, 0.3) !important;
}

.fi-file-upload:hover,
.fi-file-upload:focus-within {
    border-color: rgba(59, 130, 246, 0.3) !important;
    background: rgba(239, 246, 255, 0.3) !important;
}

/* ============================================================ */
/* BADGES                                                        */
/* ============================================================ */
.fi-badge {
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    padding: 0.15rem 0.6rem !important;
    border-radius: 9999px !important;
}

/* ============================================================ */
/* PAGINATION                                                    */
/* ============================================================ */
.fi-pagination {
    border-radius: 8px !important;
    background: rgba(249, 250, 251, 0.3) !important;
    padding: 0.5rem !important;
}

.fi-pagination-item {
    transition: all 0.2s ease !important;
    border-radius: 8px !important;
}

.fi-pagination-item:hover {
    background: rgba(59, 130, 246, 0.06) !important;
}

.fi-pagination-item-active {
    background: rgba(59, 130, 246, 0.1) !important;
    color: rgba(30, 58, 138, 1) !important;
    font-weight: 600 !important;
}

/* ============================================================ */
/* TABS                                                          */
/* ============================================================ */
.fi-tabs {
    border-bottom: 1px solid rgba(229, 231, 235, 0.6) !important;
}

.fi-tab {
    transition: all 0.2s ease !important;
    position: relative !important;
    font-weight: 500 !important;
}

.fi-tab:hover {
    color: rgba(30, 58, 138, 0.8) !important;
}

.fi-tab-active {
    color: rgba(30, 58, 138, 1) !important;
    font-weight: 600 !important;
}

.fi-tab-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 1rem;
    right: 1rem;
    height: 2.5px;
    background: rgba(30, 58, 138, 0.5);
    border-radius: 2px 2px 0 0;
}

/* ============================================================ */
/* BREADCRUMB                                                    */
/* ============================================================ */
.fi-breadcrumbs {
    color: rgba(107, 114, 128, 0.8) !important;
    font-size: 0.85rem !important;
}

.fi-breadcrumbs a {
    transition: color 0.2s ease !important;
}

.fi-breadcrumbs a:hover {
    color: rgba(30, 58, 138, 0.8) !important;
}

/* ============================================================ */
/* TOGGLE / CHECKBOX                                             */
/* ============================================================ */
.fi-toggle {
    transition: all 0.3s ease !important;
}

.fi-checkbox {
    accent-color: #2563eb !important;
}

/* ============================================================ */
/* EMPTY STATE                                                   */
/* ============================================================ */
.fi-empty-state {
    border-radius: 12px !important;
    padding: 2.5rem !important;
    text-align: center !important;
    color: rgba(107, 114, 128, 0.6) !important;
}

/* ============================================================ */
/* LOADING / SKELETON                                           */
/* ============================================================ */
.fi-skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%) !important;
    background-size: 200% 100% !important;
    animation: shimmer 1.5s ease-in-out infinite !important;
    border-radius: 8px !important;
}

.fi-loading-spinner {
    color: rgba(59, 130, 246, 0.5) !important;
}

/* ============================================================ */
/* PROGRESS BAR                                                  */
/* ============================================================ */
.fi-progress-bar {
    border-radius: 9999px !important;
    background: rgba(229, 231, 235, 0.6) !important;
    overflow: hidden !important;
}

.fi-progress-bar-fill {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    border-radius: 9999px !important;
    transition: width 0.5s ease !important;
}

/* ============================================================ */
/* REPEATABLE ENTRY                                              */
/* ============================================================ */
.fi-repeatable-entry {
    border-radius: 12px !important;
    border: 1px solid rgba(229, 231, 235, 0.7) !important;
    padding: 1.25rem !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.6) !important;
}

.fi-repeatable-entry:hover {
    border-color: rgba(59, 130, 246, 0.15) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

/* ============================================================ */
/* RICH EDITOR                                                   */
/* ============================================================ */
.tiptap-editor {
    border-radius: 8px !important;
    border: 1px solid rgba(209, 213, 219, 0.7) !important;
}

.tiptap-editor:focus-within {
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.06) !important;
}

.ProseMirror {
    min-height: 300px !important;
    padding: 1rem 1.25rem !important;
}

.ProseMirror p {
    margin-bottom: 0.5rem !important;
    line-height: 1.7 !important;
}

/* ============================================================ */
/* CUSTOM SCROLLBAR                                             */
/* ============================================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.12);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 58, 138, 0.2);
}

/* ============================================================ */
/* LOGIN PAGE — Mirip public: blue theme                         */
/* ============================================================ */
body:has(.fi-simple-layout) {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 50%, #e0f2fe 100%) !important;
    min-height: 100vh;
}

.fi-simple-layout {
    background: transparent !important;
}

.fi-simple-layout .fi-simple-layout-content {
    animation: slide-up 0.6s ease-out;
}

.fi-simple-layout .fi-simple-card {
    border-radius: 20px !important;
    border: 1px solid rgba(30, 58, 138, 0.06) !important;
    box-shadow: 0 25px 70px -14px rgba(30, 58, 138, 0.1), 0 10px 30px -6px rgba(0, 0, 0, 0.03) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    overflow: hidden;
    position: relative;
}

.fi-simple-layout .fi-simple-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #2563eb, #1e3a8a);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

.fi-simple-layout .fi-simple-card:hover {
    box-shadow: 0 30px 80px -14px rgba(30, 58, 138, 0.15) !important;
    transition: box-shadow 0.3s ease;
}

.fi-simple-layout .fi-simple-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e3a8a;
    letter-spacing: -0.02em;
}

.fi-simple-layout .fi-simple-heading-text {
    color: #1e40af;
}

.fi-simple-layout .fi-simple-subheading {
    color: #6b7280;
    font-size: 0.9rem;
}

.fi-simple-layout .fi-btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
    border-radius: 10px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px -2px rgba(30, 58, 138, 0.2) !important;
}

.fi-simple-layout .fi-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px -4px rgba(30, 58, 138, 0.35) !important;
}

.fi-simple-layout .fi-btn-primary:active {
    transform: translateY(0) !important;
}

.fi-simple-layout .fi-input-wrp {
    border-radius: 10px !important;
    padding: 4px !important;
    transition: all 0.3s ease !important;
}

.fi-simple-layout .fi-input-wrp:focus-within {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

.fi-simple-layout a {
    color: #2563eb !important;
    transition: all 0.2s ease !important;
}

.fi-simple-layout a:hover {
    color: #1e3a8a !important;
    text-decoration: underline !important;
}

body:has(.fi-simple-layout)::before,
body:has(.fi-simple-layout)::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

body:has(.fi-simple-layout)::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

body:has(.fi-simple-layout)::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    animation: float 8s ease-in-out infinite;
    animation-delay: 2s;
}

@media (max-width: 640px) {
    body:has(.fi-simple-layout)::before,
    body:has(.fi-simple-layout)::after {
        display: none;
    }
    .fi-simple-layout .fi-simple-card {
        border-radius: 16px !important;
        margin: 12px;
    }
}

/* ============================================================ */
/* WIDGET ENTRANCE                                              */
/* ============================================================ */
.fi-widget {
    animation: slide-up 0.5s ease-out forwards;
}

/* ============================================================ */
/* RESPONSIVE                                                    */
/* ============================================================ */
@media (max-width: 768px) {
    .fi-card { border-radius: 10px !important; }
    .fi-section { border-radius: 10px !important; }
    .fi-ta-ctn { border-radius: 10px !important; }
}
