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

:root {
    --mockup-blue: #8eb3eb;
    --mockup-green: #aee0ca;
    --mockup-yellow: #f2ebd1;
    --mockup-white: #ffffff;
    --mockup-bg: #ececec;

    --text-dark: #333333;
    --text-muted: #888888;
    --text-light: #ffffff;

    /* Keep backward-compatible variables that pages reference */
    --md-sys-color-primary: #8eb3eb;
    --md-sys-color-primary-container: #8eb3eb;
    --md-sys-color-on-primary-container: #ffffff;
    --md-sys-color-secondary: #00639b;
    --md-sys-color-error: #b3261e;
    --md-sys-color-error-container: #f9dedc;
    --md-sys-color-success: #146c2e;
    --md-sys-color-success-container: #c4eed0;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--mockup-bg) !important;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3vh 3vw;
}

/* ── Global App Container ── */
.app-container-wrapper {
    width: 100%;
    max-width: 1400px;
    height: 94vh;
    position: relative;
    background-color: var(--mockup-green);
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: clip;
    display: flex;
}

/* ── Sidebar ── */
.md-drawer {
    background-color: var(--mockup-blue);
    width: 260px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 0 20px 0;
    z-index: 10;
    flex-shrink: 0;
}

.drawer-logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.drawer-logo-icon {
    width: 70px;
    height: 70px;
    background-color: var(--mockup-yellow);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--mockup-blue);
    margin-bottom: 15px;
}

.drawer-brand-text {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.25rem;
}

.md-nav-title {
    display: none;
}

.md-nav-item {
    color: var(--text-light) !important;
    text-decoration: none !important;
    padding: 16px 30px !important;
    display: flex !important;
    align-items: center;
    gap: 15px;
    border-radius: 30px 0 0 30px !important;
    margin-left: 20px;
    font-weight: 500 !important;
    transition: .2s;
    position: relative;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.md-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.md-nav-item.active {
    background-color: var(--mockup-white) !important;
    color: var(--text-dark) !important;
}

.md-nav-item.active i,
.md-nav-item.active .fas {
    color: var(--mockup-blue) !important;
}

/* Curved notch effect on active sidebar item */
.md-nav-item.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: -20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-bottom-right-radius: 20px;
    box-shadow: 10px 10px 0 0 var(--mockup-white);
    pointer-events: none;
}

.md-nav-item.active::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-top-right-radius: 20px;
    box-shadow: 10px -10px 0 0 var(--mockup-white);
    pointer-events: none;
}

/* ── Main Content Area ── */
.md-main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--mockup-green);
    overflow: visible;
    height: 100%;
}

/* ── Top Header ── */
.top-header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 40px;
    z-index: 2;
    flex-shrink: 0;
}

.mockup-search {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
    width: 350px;
}

.mockup-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    color: inherit;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
}

.mockup-search input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.user-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-icon {
    color: var(--text-dark);
    font-size: 1.25rem;
    position: relative;
    cursor: pointer;
}

.notification-dot {
    position: absolute;
    top: 0;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #e76f51;
    border-radius: 50%;
}

.profile-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--mockup-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid white;
    font-weight: bold;
}

/* ── White Content Area ── */
.content-body-wrapper {
    flex: 1 1 0;
    min-height: 0;
    background-color: var(--mockup-white);
    border-top-left-radius: 40px;
    padding: 40px;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

/* ── Dashboard Cards ── */
.mockup-cards-row {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.card-mockup {
    border-radius: 30px;
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    border: none;
}

.card-blue {
    background-color: var(--mockup-blue);
    color: var(--text-light);
}

.card-green {
    background-color: var(--mockup-green);
    color: var(--text-dark);
}

.card-yellow {
    background-color: var(--mockup-yellow);
    color: var(--text-dark);
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.25rem;
}

.card-blue .card-icon {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.25);
}

.card-green .card-icon {
    color: #555;
    background-color: rgba(255, 255, 255, 0.6);
}

.card-yellow .card-icon {
    color: #555;
    background-color: rgba(255, 255, 255, 0.8);
}

.card-title {
    font-size: 1rem;
    margin-bottom: 5px;
    opacity: 0.9;
    font-weight: 500;
}

.card-value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
}

/* Progress bar inside card (div-based) */
.mockup-progress {
    height: 8px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
}

.card-blue .mockup-progress {
    background-color: rgba(255, 255, 255, 0.3);
}

.mockup-progress-bar {
    height: 100%;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.25);
    transition: width 0.5s ease;
}

.card-blue .mockup-progress-bar {
    background-color: rgba(255, 255, 255, 0.8);
}

/* ── Recent Attendance List ── */
.list-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mockup-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 20px;
    transition: background 0.2s;
}

.mockup-list-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.mockup-list-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mockup-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fcebd1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--mockup-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.mockup-list-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.mockup-list-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mockup-pill {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    display: inline-block;
    text-align: center;
    min-width: 90px;
}

.pill-present {
    background-color: var(--mockup-green);
    color: var(--text-dark);
}

.pill-absent {
    background-color: #ebdcd1;
    color: var(--text-dark);
}

.pill-late {
    background-color: var(--mockup-yellow);
    color: var(--text-dark);
}

/* ── Backward-Compatible Material Classes ── */
/* These are used heavily across output.php, edit_data.php, presensi.php, laporan */
.md-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.md-input {
    border-radius: 12px !important;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    padding: 12px 15px !important;
    box-shadow: none !important;
    font-family: 'Poppins', sans-serif;
}

.md-input:focus {
    border-color: var(--mockup-blue) !important;
    background: white !important;
}

/* Avatar helper used in card headers */
.md-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Pastel backgrounds used in modals, card headers, avatars */
.bg-pastel-primary {
    background-color: #d3e3fd !important;
}

.bg-pastel-success {
    background-color: #c4eed0 !important;
}

.bg-pastel-warning {
    background-color: #fef3cd !important;
}

.bg-pastel-danger {
    background-color: #f9dedc !important;
}

/* ── Buttons ── */
.btn-md {
    border-radius: 20px !important;
    padding: 10px 24px !important;
    font-weight: 500;
    outline: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: filter 0.2s, transform 0.15s;
}

.btn-md:hover {
    filter: brightness(0.95);
}

.btn-md-primary {
    background: var(--mockup-blue) !important;
    color: white !important;
}

.btn-md-success {
    background: var(--mockup-green) !important;
    color: var(--text-dark) !important;
}

.btn-md-warning {
    background: var(--mockup-yellow) !important;
    color: var(--text-dark) !important;
}

.btn-md-danger {
    background: #e76f51 !important;
    color: white !important;
}

.btn-md-secondary {
    background: #b0bec5 !important;
    color: white !important;
}

.btn-md-outline {
    background: transparent !important;
    border: 2px solid #e9ecef !important;
    color: var(--text-dark) !important;
}

/* ── Tables ── */
.table-light th {
    background-color: #f8f9fa !important;
    border-bottom: 2px solid #e9ecef !important;
    font-weight: 600;
    text-transform: none;
    color: var(--text-dark) !important;
    padding: 15px !important;
}

.table td {
    padding: 15px !important;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

/* Badge overrides to match the theme */
.badge.rounded-pill {
    border-radius: 20px !important;
    padding: 6px 16px !important;
    font-weight: 500;
}

/* ── Floating Action Button ── */
.mockup-fab {
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background-color: var(--mockup-green);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(174, 224, 202, 0.4);
    cursor: pointer;
    border: none;
    z-index: 1060;
    text-decoration: none;
    transition: transform 0.2s;
}

.mockup-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(174, 224, 202, 0.6);
    color: var(--text-dark);
}

/* ── Modal Fixes ── */
/* Ensure Bootstrap modals render above the app wrapper */
.modal {
    z-index: 1060 !important;
}

.modal-backdrop {
    z-index: 1055 !important;
}

.modal-content.md-card {
    border-radius: 24px;
    overflow: hidden;
}

/* ── Nav pills (edit_data.php tabs) ── */
.nav-pills .nav-link.active {
    background-color: var(--mockup-blue) !important;
    color: white !important;
    border-color: var(--mockup-blue) !important;
}

.nav-pills .nav-link {
    color: var(--text-dark);
}

/* ── Search filters (edit_data.php) ── */
.search-filters {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 24px;
    margin-bottom: 1.5rem;
}

/* ── Alert overrides ── */
.alert {
    border-radius: 16px;
}

/* ── Floating totals (edit_data.php) ── */
.floating-totals {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--mockup-blue);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 24px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: 500;
}

/* ── Mobile Bottom Nav ── */
.md-bottom-nav {
    display: none;
}

/* ── Mobile Responsive ── */
@media (max-width: 991.98px) {
    body {
        background-color: #f5f5f5 !important;
        padding: 0;
        display: block;
    }

    .app-container-wrapper {
        height: auto;
        min-height: 100vh;
        max-width: none;
        border-radius: 0;
        box-shadow: none;
        display: block;
        background: #f5f5f5;
        margin: 0;
        overflow: visible;
    }

    .md-drawer {
        display: none !important;
    }

    .md-main-content {
        display: block;
        height: auto;
        background: transparent;
        overflow: visible;
    }

    .top-header-area {
        display: flex;
        height: 70px;
        background-color: var(--mockup-blue);
        color: white;
        border-radius: 0 0 24px 24px;
        padding: 0 20px;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1040;
    }

    .top-header-area .mockup-search {
        display: none !important;
    }

    .user-profile-header {
        display: none !important;
    }

    .mobile-brand-area {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        font-size: 1.1rem;
        color: white;
    }

    .mobile-brand-icon {
        width: 35px;
        height: 35px;
        background: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--mockup-blue);
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        font-size: 1.5rem;
        background: transparent;
        border: none;
        color: white;
        padding: 0;
    }

    .content-body-wrapper {
        background: white !important;
        border-radius: 0 !important;
        padding: 15px !important;
        padding-top: 90px !important;
        padding-bottom: 100px !important;
        min-height: calc(100vh - 70px);
        overflow: visible !important;
    }

    .mockup-cards-row {
        flex-direction: column;
        gap: 12px;
    }

    .card-mockup {
        min-height: 120px;
        padding: 20px;
        border-radius: 20px;
    }

    .card-value {
        font-size: 2rem;
    }

    .md-bottom-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--mockup-blue);
        border-radius: 24px 24px 0 0;
        padding: 10px 15px 20px 15px;
        z-index: 1050;
    }

    .md-bottom-nav-inner {
        display: flex;
        justify-content: space-around;
    }

    .md-bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 500;
    }

    .md-bottom-item.active {
        color: white;
    }

    .md-bottom-item-icon-wrapper {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .mockup-fab {
        right: 20px;
        bottom: 90px;
        width: 50px;
        height: 50px;
        border-radius: 16px;
        z-index: 1045;
    }

    /* Mobile Sidebar Overlay */
    .md-drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1060;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .md-drawer-overlay.active {
        display: block;
        opacity: 1;
    }

    .md-drawer.mobile-open {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        z-index: 1070;
        transform: translateX(0);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    }

    .md-card {
        border-radius: 16px;
        padding: 16px;
    }

    .btn-md {
        padding: 8px 16px !important;
        font-size: 0.85rem;
    }

    .table-responsive {
        border-radius: 16px;
    }

    .table th,
    .table td {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .mockup-list-item {
        padding: 10px 5px;
    }

    .mockup-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .mockup-list-name {
        font-size: 0.9rem;
    }

    .mockup-pill {
        padding: 6px 14px;
        font-size: 0.8rem;
        min-width: 70px;
    }

    .floating-totals {
        bottom: 80px;
        right: 15px;
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }

    .search-filters {
        padding: 15px !important;
    }
}

/* ── Toast Notification ── */
.md-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 420px;
    padding: 16px 20px;
    border-radius: 16px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.md-toast.toast-success {
    background: linear-gradient(135deg, #2e7d32, #43a047);
}

.md-toast.toast-error {
    background: linear-gradient(135deg, #c62828, #e53935);
}

.md-toast.toast-info {
    background: linear-gradient(135deg, #1565c0, #1e88e5);
}

.md-toast.toast-hide {
    animation: toastSlideOut 0.5s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

@keyframes toastSlideIn {
    0% {
        opacity: 0;
        transform: translateX(150px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(150px);
    }
}

/* ── Custom Confirm Modal ── */
.md-confirm-modal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
}

.md-confirm-modal .modal-body {
    padding: 2rem;
    text-align: center;
}

.md-confirm-modal .confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.md-confirm-modal .confirm-icon.warning {
    background: #fff3cd;
    color: #856404;
}

/* ── Clickable Guru Badge ── */
.guru-belum-badge {
    cursor: pointer;
    transition: all 0.2s ease;
}

.guru-belum-badge:hover {
    transform: scale(1.05);
    background-color: #ffe0b2 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
}

.empty-state-icon {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.empty-state-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ── Weekly Stats ── */
.weekly-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.weekly-stat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Pull to Refresh ── */
.pull-indicator {
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: top 0.3s ease;
    z-index: 9998;
}

.pull-indicator.active {
    top: 20px;
}

.pull-indicator i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Enhanced Bottom Nav Active (mobile) ── */
@media (max-width: 991.98px) {
    .md-bottom-item.active .md-bottom-item-icon-wrapper {
        background: rgba(255, 255, 255, 0.25);
        border-radius: 20px;
        padding: 4px 16px;
    }

    .md-bottom-item.active span {
        font-weight: 600;
    }
}

/* ── Dark Mode ── */
body.dark-mode {
    background-color: #121212 !important;
    color: #e0e0e0;
}

body.dark-mode .app-container-wrapper {
    background-color: #1e1e1e;
}

body.dark-mode .md-drawer {
    background-color: #1a1a2e !important;
}

body.dark-mode .content-body-wrapper {
    background-color: #1e1e1e !important;
    color: #e0e0e0;
}

body.dark-mode .md-card {
    background-color: #2d2d2d !important;
    color: #e0e0e0;
}

body.dark-mode .top-header-area {
    background-color: #1e1e1e !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #383838 !important;
    color: #e0e0e0 !important;
    border-color: #555 !important;
}

body.dark-mode .text-dark {
    color: #e0e0e0 !important;
}

body.dark-mode .text-muted {
    color: #aaa !important;
}

body.dark-mode .bg-light {
    background-color: #333 !important;
}

body.dark-mode .mockup-list-item {
    border-bottom-color: #444;
}

body.dark-mode .modal-content {
    background-color: #2d2d2d !important;
    color: #e0e0e0;
}

body.dark-mode .card-mockup {
    opacity: 0.9;
}

/* Dark mode toggle button */
.dark-mode-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
}

body:not(.dark-mode) .dark-mode-toggle {
    border-color: #ddd;
    color: #666;
}

body.dark-mode .dark-mode-toggle {
    color: #ffd54f;
    border-color: #ffd54f;
}

/* ── Print styles ── */
@media print {

    .md-drawer,
    .md-bottom-nav,
    .top-header-area,
    .mockup-fab {
        display: none !important;
    }

    .app-container-wrapper {
        height: auto;
        border-radius: 0;
        box-shadow: none;
    }

    .content-body-wrapper {
        padding: 0;
        border-radius: 0;
    }

    body {
        padding: 0;
        background: white !important;
        display: block;
    }
}

/* ── Skeleton Loading Animation ── */
@keyframes skeletonPulse {
    0% {
        background-color: #e2e5e7;
        color: transparent;
    }

    50% {
        background-color: #f1f3f5;
        color: transparent;
    }

    100% {
        background-color: #e2e5e7;
        color: transparent;
    }
}

@keyframes darkSkeletonPulse {
    0% {
        background-color: #333;
        color: transparent;
    }

    50% {
        background-color: #444;
        color: transparent;
    }

    100% {
        background-color: #333;
        color: transparent;
    }
}

.skeleton-loading {
    animation: skeletonPulse 1.5s ease-in-out infinite !important;
    color: transparent !important;
    border-color: transparent !important;
    pointer-events: none;
}

body.dark-mode .skeleton-loading {
    animation: darkSkeletonPulse 1.5s ease-in-out infinite !important;
}

.skeleton-loading::placeholder {
    color: transparent !important;
}