/*
    Họ và tên: Trần Văn Thành
    Mã sinh viên: 23103100076
    Lớp: TIN17A2HN
    Nội dung: Hiệu ứng toàn cục
*/

/* 1. CHUYỂN TRANG MƯỢT MÀ (PAGE TRANSITIONS) */

body {
    opacity: 1;
    transition: opacity var(--uneti-dur-base, 250ms) var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

body.fx-page-exiting {
    opacity: 0;
}

/* 2. CUỘN HIỂN THỊ (SCROLL REVEAL & PROGRESSIVE ENHANCEMENT)*/

/* Hiện nội dung ngay nếu tắt JavaScript */
html:not(.js) .reveal,
html:not(.js) .reveal-left,
html:not(.js) .reveal-zoom,
html:not(.js) .stagger-card,
html:not(.js) .stagger-group > * {
    opacity: 1 !important;
    transform: none !important;
}

/* Khi JavaScript hoạt động (html.js) */
html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 480ms var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                transform 480ms var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1));
    transition-delay: calc(var(--i, 0) * 85ms);
    will-change: opacity, transform;
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 2.1 HOẠT ẢNH XUẤT HIỆN TỪNG THẺ SO LE (STAGGERED CARD CASCADE) */
html.js .stagger-card,
html.js .stagger-group > * {
    opacity: 0;
    transform: translateY(36px) scale(0.95);
    transition: opacity 560ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i, 0) * 110ms);
    will-change: opacity, transform;
}

html.js .stagger-card.is-visible,
html.js .stagger-group > *.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Tự động tính chỉ số trễ --i cho nhóm stagger (tối đa 12 thẻ) */
.stagger-group > :nth-child(1)  { --i: 0; }
.stagger-group > :nth-child(2)  { --i: 1; }
.stagger-group > :nth-child(3)  { --i: 2; }
.stagger-group > :nth-child(4)  { --i: 3; }
.stagger-group > :nth-child(5)  { --i: 4; }
.stagger-group > :nth-child(6)  { --i: 5; }
.stagger-group > :nth-child(7)  { --i: 6; }
.stagger-group > :nth-child(8)  { --i: 7; }
.stagger-group > :nth-child(9)  { --i: 8; }
.stagger-group > :nth-child(10) { --i: 9; }
.stagger-group > :nth-child(11) { --i: 10; }
.stagger-group > :nth-child(12) { --i: 11; }

html.js .reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 550ms var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                transform 550ms var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1));
    transition-delay: calc(var(--i, 0) * 70ms);
    will-change: opacity, transform;
}

html.js .reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

html.js .reveal-zoom {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 550ms var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                transform 550ms var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1));
    transition-delay: calc(var(--i, 0) * 70ms);
    will-change: opacity, transform;
}

html.js .reveal-zoom.is-visible {
    opacity: 1;
    transform: scale(1);
}

/*3. THANH ĐIỀU HƯỚNG THÔNG MINH (SMART NAVBAR & INDICATOR) */
.uneti-navbar {
    transition: padding var(--uneti-dur-base, 250ms) ease,
                box-shadow var(--uneti-dur-base, 250ms) ease,
                background-color var(--uneti-dur-base, 250ms) ease;
}

.uneti-navbar.is-scrolled {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.12) !important;
    background-color: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Chỉ báo trượt link Navbar đã được hợp nhất theo dạng pill badge tương tác trong site.css */
.uneti-nav-link {
    position: relative;
}

/* Nút Back-To-Top */
.fx-back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--uneti-primary, #1d4ed8);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.85);
    transition: opacity var(--uneti-dur-base, 250ms) ease,
                transform var(--uneti-dur-base, 250ms) var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                visibility var(--uneti-dur-base, 250ms),
                background-color var(--uneti-dur-fast, 150ms);
}

.fx-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.fx-back-to-top:hover {
    background-color: #1e40af;
    color: #ffffff;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 12px 28px rgba(29, 78, 216, 0.45);
}

   /* 4. HIỆU ỨNG NÚT BẤM (BUTTON RIPPLE & LOADING SPINNER) */

.uneti-btn-primary,
.uneti-btn-outline,
.uneti-btn-banner-primary,
.uneti-btn-banner-secondary {
    position: relative;
    overflow: hidden;
}

.fx-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: fxRippleAnimation 600ms linear;
    background-color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.uneti-btn-outline .fx-ripple {
    background-color: rgba(29, 78, 216, 0.2);
}

@keyframes fxRippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Trạng thái Loading của nút khi Submit form */
.btn.is-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.btn.is-loading .fx-btn-spinner-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.875rem;
    white-space: nowrap;
}

.btn-outline-primary.is-loading .fx-btn-spinner-wrap,
.uneti-btn-outline.is-loading .fx-btn-spinner-wrap {
    color: var(--uneti-primary, #1d4ed8);
}

   /* 5. HIỆU ỨNG THẺ & 3D TILT NHẸ (CARD HOVER & MICRO-TILT) */

@media (hover: hover) {
    .uneti-card-hover {
        transition: transform 320ms var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                    box-shadow 320ms var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                    border-color 250ms ease;
        will-change: transform, box-shadow;
    }

    .uneti-card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 32px -8px rgba(29, 78, 216, 0.14), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
        border-color: #bfdbfe !important;
    }

    .uneti-card-hover:hover .uneti-icon-box-52 i,
    .uneti-card-hover:hover .uneti-icon-box-48 i {
        transform: scale(1.12) rotate(-4deg);
        transition: transform 320ms var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1));
    }
}


   /* 6. SKELETON LOADING SHIMMER (DÙNG CHO TẢI DỮ LIỆU AJAX) */
.skeleton {
    background: #e2e8f0;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: fxSkeletonShimmer 1.5s infinite;
    border-radius: var(--uneti-radius-sm, 8px);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    border-radius: 4px;
    width: 100%;
}

.skeleton-title {
    height: 22px;
    margin-bottom: 12px;
    width: 70%;
    border-radius: 6px;
}

.skeleton-badge {
    height: 22px;
    width: 80px;
    border-radius: 50rem;
    margin-bottom: 12px;
}

.skeleton-rect {
    height: 160px;
    width: 100%;
    border-radius: var(--uneti-radius-md, 12px);
    margin-bottom: 14px;
}

@keyframes fxSkeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


   /* 7. HÌNH TRANG TRÍ NỔI HERO (FLOATING & PARALLAX) */
.fx-float-slow {
    animation: fxFloatSlow 7s ease-in-out infinite;
    will-change: transform;
}

.fx-float-reverse {
    animation: fxFloatReverse 8s ease-in-out infinite;
    will-change: transform;
}

@keyframes fxFloatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1.5deg); }
}

@keyframes fxFloatReverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(8px) rotate(-1.5deg); }
}

.uneti-hero-floating-badge {
    position: absolute;
    top: 36px;
    right: 48px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50rem;
    padding: 0.5rem 1.15rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 0.82rem;
    z-index: 3;
    pointer-events: none;
}

.uneti-hero-floating-badge-2 {
    position: absolute;
    bottom: 38px;
    right: 90px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50rem;
    padding: 0.45rem 1.05rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #047857;
    font-weight: 600;
    font-size: 0.82rem;
    z-index: 3;
    pointer-events: none;
}

   /* 8. COMPONENT HIỆU ỨNG GIAI ĐOẠN 3 (PAGE UPGRADES) */

/* 8.1 Dải số liệu thống kê (Hero Stat Strip) */
.uneti-stat-strip {
    background: #ffffff;
    border: 1px solid var(--uneti-border, #e2e8f0);
    border-radius: var(--uneti-radius-lg, 16px);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}
.uneti-stat-strip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.uneti-stat-strip-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* 8.2 Hộp tính năng (Feature Box) */
.uneti-feature-box {
    background: #ffffff;
    border: 1px solid var(--uneti-border, #e2e8f0);
    border-radius: var(--uneti-radius-lg, 16px);
    padding: 1.5rem;
    height: 100%;
    transition: transform var(--uneti-dur-normal, 250ms) var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                box-shadow var(--uneti-dur-normal, 250ms) var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                border-color var(--uneti-dur-fast, 150ms) ease;
}
.uneti-feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
    border-color: #bfdbfe;
}
.uneti-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: transform var(--uneti-dur-normal, 250ms) var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1));
}
.uneti-feature-box:hover .uneti-feature-icon {
    transform: scale(1.1) rotate(4deg);
}

/* 8.3 Lộ trình đào tạo (Timeline Connector) */
.uneti-timeline-steps {
    position: relative;
}
@media (min-width: 992px) {
    .uneti-timeline-steps::before {
        content: '';
        position: absolute;
        top: 48px;
        left: 14%;
        right: 14%;
        height: 2px;
        background: linear-gradient(90deg, #bfdbfe 0%, #bbf7d0 50%, #fde68a 100%);
        z-index: 0;
        pointer-events: none;
    }
}

/* 8.4 FAQ Accordion */
.uneti-accordion .accordion-item {
    border: 1px solid var(--uneti-border, #e2e8f0);
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: border-color var(--uneti-dur-fast, 150ms) ease, box-shadow var(--uneti-dur-fast, 150ms) ease;
}
.uneti-accordion .accordion-item:hover {
    border-color: #bfdbfe;
}
.uneti-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--uneti-text-main, #0f172a);
    background-color: #ffffff;
    padding: 1rem 1.25rem;
    box-shadow: none !important;
}
.uneti-accordion .accordion-button:not(.collapsed) {
    color: var(--uneti-primary, #1d4ed8);
    background-color: #f8fafc;
}
.uneti-accordion .accordion-body {
    font-size: 0.9rem;
    color: var(--uneti-text-muted, #475569);
    line-height: 1.6;
    background-color: #ffffff;
    padding: 1rem 1.25rem 1.25rem;
}

/* 8.5 CTA Card Banner */
.uneti-cta-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #2563eb 100%);
    border-radius: 20px;
    color: #ffffff;
    padding: 2.75rem 2.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 32px -8px rgba(29, 78, 216, 0.35);
}
.uneti-cta-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.uneti-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 4%;
    width: min(340px, 36%);
    background: url('../images/cta-art.svg') center / contain no-repeat;
    pointer-events: none;
    animation: fxCtaArtFloat 7s ease-in-out infinite;
}
.uneti-cta-card .btn-light {
    background-color: #ffffff !important;
    color: #1d4ed8 !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: transform var(--uneti-dur-fast, 150ms) ease, box-shadow var(--uneti-dur-fast, 150ms) ease, background-color var(--uneti-dur-fast, 150ms) ease;
}
.uneti-cta-card .btn-light:hover {
    background-color: #f8fafc !important;
    color: #1e40af !important;
    border-color: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22) !important;
}
.uneti-cta-card .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}
@keyframes fxCtaArtFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
/* Responsive cho Tablet (768px) và Mobile (360px) */
@media (max-width: 991.98px) {
    .uneti-cta-card {
        padding: 2.25rem 1.75rem;
    }
    .uneti-cta-card::before {
        display: none;
    }
}
@media (max-width: 575.98px) {
    .uneti-cta-card {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }
    .uneti-cta-card h3 {
        font-size: 1.35rem;
    }
    .uneti-cta-card .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .uneti-cta-card::before {
        animation: none;
    }
}

/* 8.6 Rung lắc khi form lỗi (Form Error Shake) */
@keyframes fxShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.fx-shake {
    animation: fxShake 400ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* 8.7 Thanh đo độ mạnh mật khẩu (Password Strength Meter) */
.password-strength-bar {
    height: 4px;
    border-radius: 2px;
    background-color: #e2e8f0;
    overflow: hidden;
    margin-top: 6px;
}
.password-strength-progress {
    height: 100%;
    width: 0%;
    transition: width 300ms ease, background-color 300ms ease;
}

/* 8.7b Animated Progress Bar */
.fx-progress-bar {
    width: var(--w, 0%);
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 8.8 Chế độ xem danh sách (List View Mode) */
.view-list .mon-hoc-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
@media (min-width: 768px) {
    .view-list .uneti-card {
        flex-direction: row !important;
        align-items: center;
        gap: 1.5rem;
        padding: 1.25rem 1.5rem !important;
    }
    .view-list .mon-hoc-title {
        min-width: 240px;
        max-width: 320px;
        margin-bottom: 0 !important;
    }
    .view-list .mon-hoc-desc {
        min-height: auto !important;
        margin-bottom: 0 !important;
        flex-grow: 1;
    }
    .view-list .mon-hoc-meta {
        border-top: none !important;
        padding-top: 0 !important;
        min-width: 170px;
        gap: 1rem;
    }
    .view-list .uneti-card a.btn {
        width: auto !important;
        margin-top: 0 !important;
        white-space: nowrap;
        min-width: 160px;
    }
}

/* 8.9 Quick Filter Chips */
.uneti-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--uneti-text-muted, #475569);
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: all var(--uneti-dur-fast, 150ms) ease;
    text-decoration: none;
    user-select: none;
}
.uneti-filter-chip:hover {
    background-color: #e2e8f0;
    color: var(--uneti-text-main, #0f172a);
}
.uneti-filter-chip.active {
    background-color: var(--uneti-primary, #1d4ed8);
    color: #ffffff;
    border-color: var(--uneti-primary, #1d4ed8);
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.25);
}

/* 8.10 Admin Sidebar Thu gọn (Collapsed) & Mobile Overlay */
.admin-sidebar {
    transition: width var(--uneti-dur-base, 250ms) var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                min-width var(--uneti-dur-base, 250ms) var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                left var(--uneti-dur-base, 250ms) var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

@media (min-width: 992px) {
    .admin-sidebar.collapsed {
        width: 76px !important;
        min-width: 76px !important;
    }
    .admin-sidebar.collapsed .admin-sidebar-brand {
        justify-content: center;
        padding: 0.85rem 0.5rem;
    }
    .admin-sidebar.collapsed .admin-sidebar-brand > div {
        display: none !important;
    }
    .admin-sidebar.collapsed .admin-sidebar-user {
        padding: 0.5rem 0;
        margin: 0.5rem 0.5rem;
        text-align: center;
        justify-content: center;
    }
    .admin-sidebar.collapsed .admin-sidebar-user .d-flex {
        justify-content: center !important;
    }
    .admin-sidebar.collapsed .admin-sidebar-user .overflow-hidden {
        display: none !important;
    }
    .admin-sidebar.collapsed .admin-menu-header {
        display: none !important;
    }
    .admin-sidebar.collapsed .admin-nav-item {
        justify-content: center !important;
        padding: 0.75rem 0 !important;
        text-align: center;
    }
    .admin-sidebar.collapsed .admin-nav-item span {
        display: none !important;
    }
    .admin-sidebar.collapsed .admin-nav-item i {
        font-size: 1.25rem !important;
        margin: 0 !important;
    }
    .admin-sidebar.collapsed .admin-sidebar-footer .admin-logout-btn span {
        display: none !important;
    }
    .admin-sidebar.collapsed .admin-sidebar-footer .admin-logout-btn {
        padding: 0.6rem 0 !important;
        justify-content: center !important;
    }
}

/* Mobile Sidebar Backdrop */
.admin-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--uneti-dur-base, 250ms) ease;
}
.admin-sidebar-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* 8.11 Bảng Admin: Header Sticky & Row Animation */
.uneti-table thead th {
    position: sticky;
    top: 0;
    background-color: #f8fafc;
    z-index: 5;
    box-shadow: inset 0 -1px 0 var(--uneti-border, #e2e8f0);
}

.uneti-table tbody tr {
    transition: background-color 150ms ease;
}

/* Stat card hover micro elevation */
.uneti-stat-card {
    transition: transform var(--uneti-dur-fast, 150ms) var(--uneti-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                box-shadow var(--uneti-dur-fast, 150ms) ease;
}
.uneti-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -2px rgba(0, 0, 0, 0.08);
}


   /* 9. KHẢ NĂNG TRUY CẬP & PREFERS-REDUCED-MOTION (BẮT BUỘC) */

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    body {
        transition: none !important;
        opacity: 1 !important;
    }

    html.js .reveal,
    html.js .reveal-left,
    html.js .reveal-zoom {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .uneti-card-hover {
        transform: none !important;
    }

    .fx-float-slow,
    .fx-float-reverse,
    .skeleton {
        animation: none !important;
    }

    .fx-ripple {
        display: none !important;
    }
}


   /* 10. KHẢ NĂNG TRUY CẬP (ACCESSIBILITY - WCAG 2.1 AA) */

/* 10.1 Skip to Main Content Link */
.uneti-skip-link {
    position: absolute;
    top: -120px;
    left: 16px;
    z-index: 9999;
    padding: 10px 18px;
    background-color: var(--uneti-primary, #1d4ed8);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--uneti-radius-md, 8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: top 180ms ease;
}

.uneti-skip-link:focus,
.uneti-skip-link:focus-visible {
    top: 16px;
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* 10.2 Focus Visible Ring */
:focus-visible {
    outline: 2px solid var(--uneti-primary, #1d4ed8) !important;
    outline-offset: 2px !important;
}

:focus:not(:focus-visible) {
    outline: none !important;
}

/* 10.3 Touch Target Size trên thiết bị di động (Tối thiểu 40px) */
@media (pointer: coarse), (max-width: 768px) {
    .btn,
    .uneti-nav-link,
    .page-link,
    .admin-nav-item,
    .dropdown-item {
        min-height: 40px;
        min-width: 40px;
        display: inline-flex;
        align-items: center;
    }

    .form-check-input {
        width: 1.25rem;
        height: 1.25rem;
    }
}
