/* ==========================================================================
   HOPE SYSTEM - MODERN UI CUSTOMIZATION (SNEAT THEME BASED)
   ========================================================================== */

/* 1. Page Load Entrance Transition (SPA Feeling) */
.content-wrapper {
    animation: pageEntrance 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes pageEntrance {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Premium Card Elevation on Hover */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(67, 89, 102, 0.12) !important;
}

/* Disable hover elevation for auth cards & menu aside */
.authentication-wrapper .card:hover,
#layout-menu.card:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* 3. Smooth Form Transitions & Glow Focus */
.form-control, .form-select, .form-check-input {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.form-control:focus, .form-select:focus {
    border-color: #696cff !important;
    box-shadow: 0 0 0.25rem 0.05rem rgba(105, 108, 255, 0.22) !important;
}

/* 4. Elegant Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #cbd3dc;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8b4c2;
}

/* 5. Modernized Table Rows & Micro-interactions */
.table-hover tbody tr {
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.table-hover tbody tr:hover {
    background-color: rgba(105, 108, 255, 0.04) !important;
}

/* 6. Clean badge styling */
.badge {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.45em 0.7em;
}

/* 7. Flex styling fallback for legacy center elements */
center {
    display: block;
    text-align: center;
}

center .card-header {
    text-align: center !important;
}
