input:hover,
select:hover,
textarea:hover {
    transform: none !important;
    box-shadow: none !important;
}

input,
select,
textarea,
button {
    font-size: 16px;
}

html,
body {
    max-width: 100%;
}

img,
svg,
canvas,
video {
    max-width: 100%;
}

.step-card {
    transition: none !important;
}

.step-card:hover {
    box-shadow: none !important;
    transform: none !important;
}

.stat-card,
#spa-content>.grid>div:not([class*="bg-white/10"]) {
    transform: none !important;
}

.stat-card:hover {
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08) !important;
    transform: none !important;
}

aside nav a {
    transition: background-color 0.15s ease, color 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.12);
}

.bg-white\/10 input:focus,
input.bg-white\/10:focus {
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

input[type="datetime-local"] {
    font-family: inherit;
    color-scheme: light;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: auto;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.save-indicator {
    animation: fadeInUp 0.2s ease-out;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.save-indicator.hiding {
    animation: fadeOut 0.4s ease-out forwards;
}

.share-modal-backdrop {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.status-badge-terdaftar {
    background: #e2e8f0;
    color: #1e293b;
    border: 1px solid #94a3b8;
}

.status-badge-sedang {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.status-badge-selesai {
    background: #dcfce7;
    color: #14532d;
    border: 1px solid #22c55e;
}

.status-badge-diskualifikasi {
    background: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #ef4444;
}

#nav-grid button {
    transform: none;
}

#nav-grid button.scale-105 {
    transform: scale(1.05) !important;
}

@media (max-width: 768px) {

    main,
    #spa-content {
        min-width: 0;
    }

    table {
        min-width: max-content;
    }

    .rounded-2xl {
        border-radius: 0.75rem;
    }

    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 1px;
        height: 6px;
    }
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

* {
    scrollbar-width: auto;
    scrollbar-color: auto;
}

.swal2-container {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    background-color: rgba(15, 23, 42, 0.65) !important;
}

@media (max-width: 640px) {
    .swal2-popup {
        width: 88vw !important;
        padding: 1.25rem !important;
        border-radius: 1.5rem !important;
    }
}

#spa-content {
    transition: opacity 0.15s ease-in-out;
}