/* --- Global Styles from layouts/op.blade.php --- */
body {
    background-color: #f1f5f9 !important;
    background-image:
        radial-gradient(at 0% 0%, rgba(102, 126, 234, 0.18) 0px, transparent 40%),
        radial-gradient(at 100% 0%, rgba(118, 75, 162, 0.18) 0px, transparent 40%) !important;
    background-attachment: fixed !important;
}

/* Fix agar background body tidak tertutup */
.wrapper,
.content,
#kt_content {
    background: transparent !important;
}

.aside {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    left: 0 !important;
    border-radius: 0 !important;
    z-index: 100 !important;
}

.header-fixed .wrapper {
    padding-top: 30px !important;
}

@media (min-width: 992px) {
    .wrapper {
        padding-left: 280px !important;
    }
}

@media (min-width: 992px) {

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding: 0 30px 0 40px !important;
    }
}

/* Aside Header Gradient */
.aside-header {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    padding: 1rem 1.5rem !important;
}

.aside-header h5 {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.aside-header .badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Menu Item Interactive */
.menu-item-interactive .menu-link {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
}

.menu-item-interactive .menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.menu-item-interactive .menu-link:hover::before,
.menu-item-interactive .menu-link.active::before {
    transform: scaleY(1);
}

.menu-item-interactive .menu-link:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    transform: translateX(5px);
    padding-left: 20px;
}

.menu-item-interactive .menu-link.active {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left: 3px solid #667eea;
}

/* Menu Icon Animation */
.menu-icon i {
    transition: all 0.3s ease;
}

.menu-item-interactive:hover .menu-icon i {
    transform: scale(1.2) rotate(5deg);
}

.menu-item-interactive .menu-link.active .menu-icon i {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* Pulse Dot */
@keyframes pulseDot {

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

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.pulse-dot {
    animation: pulseDot 1.5s infinite;
}

/* Menu Arrow Animation */
.menu-accordion .menu-arrow {
    transition: transform 0.3s ease;
}

.menu-accordion.show>.menu-link .menu-arrow {
    transform: rotate(90deg);
}

/* Menu Badge */
.menu-badge {
    position: absolute;
    right: 15px;
}

/* Button Animated */
.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-animated:hover::before {
    width: 300px;
    height: 300px;
}

.btn-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Menu Heading with Icons */
.menu-heading {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 2px solid #f1f1f2;
    margin-bottom: 8px;
}

/* Smooth Scrollbar - Hanya muncul saat overflow */
.hover-scroll-overlay-y {
    overflow-y: auto !important;
}

.hover-scroll-overlay-y::-webkit-scrollbar {
    width: 6px;
}

.hover-scroll-overlay-y::-webkit-scrollbar-track {
    background: transparent;
}

.hover-scroll-overlay-y::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.hover-scroll-overlay-y::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Bullet Color Animation */
.bullet {
    transition: all 0.3s ease;
}

.menu-item:hover .bullet {
    transform: scale(1.3);
}

/* Menu Icon Image */
.menu-icon-img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.menu-item-interactive:hover .menu-icon-img {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Fix Aside Footer - Selalu di bawah */
#kt_aside {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
}

.aside-header {
    flex-shrink: 0;
}

.aside-menu {
    flex: 1 1 auto;
    overflow: hidden;
    min-height: 0;
}

.aside-footer {
    flex-shrink: 0;
    margin-top: auto;
    border-top: 1px solid #e5e7eb;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem !important;
}

#kt_aside_menu_wrapper {
    height: 100% !important;
}

/* User Profile Card with Dropdown */
.user-profile-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.user-profile-card:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.user-profile-card .symbol-label {
    transition: all 0.3s ease;
}

.user-profile-card:hover .symbol-label {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Dropdown Menu - Dropup */
.dropup .dropdown-menu {
    border-radius: 15px !important;
    position: absolute !important;
    top: auto !important;
    margin-bottom: 1rem !important;
    transform-origin: bottom center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 0.5rem !important;
    width: 260px;
    overflow: hidden;
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropup .dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    transition: all 0.2s ease;
    border-radius: 10px !important;
    padding: 0.75rem 1.25rem !important;
    margin-bottom: 0.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.08) !important;
    color: #667eea !important;
    transform: translateX(5px);
}

.dropdown-item.text-danger:hover {
    background: rgba(220, 53, 69, 0.1) !important;
}

/* SAKURA Button Styling */
.btn-sakura {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%) !important;
    color: white !important;
    border: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-sakura::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-sakura:hover {
    background: linear-gradient(135deg, #ff5a8a 0%, #b33a58 100%) !important;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.btn-sakura:hover::before {
    left: 100%;
}

.btn-sakura i,
.btn-sakura svg {
    transition: transform 0.3s ease;
}

.btn-sakura:hover i,
.btn-sakura:hover svg {
    transform: scale(1.2) rotate(5deg);
}

/* Background Sakura */
.bg-sakura {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%) !important;
    color: white !important;
}

/* SAKURA Logo Animation - Updated for Image */
@keyframes sakuraFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.sakura-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    /* Jaga proporsi image */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    margin-left: 5px;
}

/* Hover effect untuk sakura logo */
.btn-sakura:hover .sakura-logo {
    animation-play-state: paused;
    transform: scale(1.2) rotate(5deg) !important;
}


/* Chevron animation */
.user-profile-card .fa-chevron-up {
    transition: transform 0.3s ease;
}

.user-profile-card[aria-expanded="true"] .fa-chevron-up {
    transform: rotate(180deg);
}

/* ===== MOBILE TOP NAVBAR ===== */
#kt_mobile_navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 15px rgba(102, 126, 234, 0.3);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

#kt_mobile_navbar .navbar-brand {
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#kt_mobile_navbar .navbar-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#kt_mobile_navbar .navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

#kt_mobile_navbar .navbar-toggle:active {
    transform: scale(0.95);
}

/* ===== MODAL LOGIN SIMPLE & CLEAN ===== */

.modal-backdrop.show {
    background: rgba(0, 0, 0, 0.5);
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    animation: modalSlideDown 0.3s ease-out;
}

@keyframes modalSlideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

.modal-login-simple {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-login-simple .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 1.75rem 2rem;
}

.modal-login-simple .modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-login-simple .modal-title i {
    font-size: 1.75rem;
}

.modal-login-simple .modal-body {
    padding: 2rem;
    background: white;
}

.welcome-text {
    text-align: center;
    margin-bottom: 1.75rem;
}

.welcome-text h6 {
    color: #667eea;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.welcome-text p {
    color: #6b7280;
    font-size: 0.95rem;
}

.input-group-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group-custom .form-control {
    height: 55px;
    padding-left: 3.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group-custom .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-group-custom .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.25rem;
    z-index: 1;
}

.input-group-custom .form-control:focus~.input-icon {
    color: #667eea;
}

.input-group-custom label {
    position: absolute;
    left: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.input-group-custom .form-control:focus~label,
.input-group-custom .form-control:not(:placeholder-shown)~label {
    top: 0;
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 600;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
    font-size: 1.15rem;
    z-index: 2;
}

.password-toggle:hover {
    color: #667eea;
}

.btn-login {
    width: 100%;
    height: 55px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-login:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.divider-simple {
    position: relative;
    text-align: center;
    margin: 1.75rem 0;
}

.divider-simple::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
}

.divider-simple span {
    background: white;
    padding: 0 1rem;
    position: relative;
    color: #6b7280;
    font-size: 0.9rem;
}

.btn-dinas {
    width: 100%;
    height: 55px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-dinas:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.btn-close {
    opacity: 1;
}

.input-group-custom .form-control.is-invalid {
    border-color: #ef4444;
}

.input-group-custom .form-control.is-invalid~.input-icon {
    color: #ef4444;
}

.input-group-custom .invalid-feedback {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ===== MOBILE & RESPONSIVE SUPPORT ===== */
@media (max-width: 991.98px) {

    /* HIDE Aside Header di Mobile */
    .aside-header {
        display: none !important;
    }

    .aside {
        position: fixed !important;
        top: 60px !important;
        bottom: 0 !important;
        left: -320px !important;
        width: 280px !important;
        height: auto !important;
        border-radius: 0 !important;
        transition: left 0.3s ease !important;
        z-index: 98 !important;
    }

    /* Active state - muncul */
    .aside.drawer-on,
    .aside[data-kt-drawer-shown="true"] {
        left: 0 !important;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3) !important;
    }

    /* Overlay */
    .drawer-overlay {
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 97 !important;
        animation: fadeIn 0.3s ease !important;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Body lock scroll saat drawer aktif */
    body.drawer-active {
        overflow: hidden;
    }

    /* HIDE Aside Header di Mobile */
    .aside-header {
        display: none !important;
    }

    .aside-menu {
        padding: 1rem !important;
        padding-top: 0 !important;
    }

    .aside-footer {
        padding: 1rem !important;
    }

    .header-fixed .wrapper {
        padding-top: 80px !important;
    }

    .container,
    .container-fluid {
        padding: 0 15px !important;
    }

    .menu-title {
        font-size: 0.9rem !important;
    }

    .menu-heading {
        font-size: 0.75rem !important;
    }

    .user-profile-card {
        padding: 0.75rem !important;
    }

    .user-profile-card .fs-7 {
        font-size: 0.8rem !important;
    }

    .user-profile-card .fs-8 {
        font-size: 0.75rem !important;
    }

    .dropdown-menu {
        min-width: 220px !important;
    }

    .drawer-overlay {
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 97 !important;
    }

    /* Modal Responsive */
    .modal-login-simple .modal-header {
        padding: 1.5rem;
    }

    .modal-login-simple .modal-body {
        padding: 1.5rem;
    }

    .modal-login-simple .modal-title {
        font-size: 1.3rem;
    }

    .input-group-custom .form-control {
        height: 52px;
    }

    .btn-login,
    .btn-dinas {
        height: 52px;
    }

    #kt_aside {
        height: auto !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .aside {
        width: 300px !important;
        left: -330px !important;
    }
}

@media (max-width: 575.98px) {
    .aside {
        width: 260px !important;
        left: -300px !important;
    }

    .user-profile-card .symbol {
        width: 35px !important;
        height: 35px !important;
    }

    .aside-header h5 {
        font-size: 1.2rem !important;
    }

    #kt_mobile_navbar .navbar-brand {
        font-size: 1.1rem;
    }

    .modal-login-simple .modal-title {
        font-size: 1.2rem;
    }

    .input-group-custom .form-control {
        height: 50px;
    }

    .btn-login,
    .btn-dinas {
        height: 50px;
    }
}

/* Hide navbar on desktop */
@media (min-width: 992px) {
    #kt_mobile_navbar {
        display: none !important;
    }
}

.modal {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(1px) !important;
}

/* Source: bpp/index.blade.php */
.flatpickr-calendar {
    z-index: 9999 !important;
}

/* Source: data_bnba/index.blade.php */
.card-agregat {
    border-radius: 12px !important;
    transition: all 0.3s ease;
    background: white;
}

.card-agregat:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15) !important;
    border-color: #667eea !important;
}

.badge-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    font-size: 0.7rem !important;
    padding: 0.4rem 0.65rem !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

.card-agregat .symbol {
    transition: all 0.3s ease;
}

.card-agregat:hover .symbol {
    transform: scale(1.1) rotate(-5deg);
}

.card-agregat .symbol-label {
    transition: all 0.3s ease;
}

.card-agregat:hover .symbol-label {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.symbol-label img {
    object-fit: contain;
}

.btn-view {
    transition: all 0.3s ease;
}

.card-agregat:hover .btn-view {
    transform: translateX(5px);
}

.arrow-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.card-agregat:hover .arrow-icon {
    transform: translateX(5px);
}

@media (max-width: 575.98px) {
    .card-agregat .symbol {
        width: 50px !important;
        height: 50px !important;
    }

    .card-agregat .symbol img {
        width: 28px !important;
        height: 28px !important;
    }

    .card-agregat h3 {
        font-size: 0.95rem !important;
    }

    .badge-primary {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.5rem !important;
    }
}

/* Source: data_bnba/show.blade.php */
/* Card Styling */
.card-main {
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

/* Select2 Custom */
.select2-container--bootstrap5 .select2-selection {
    border: 1px solid #e4e6ef !important;
    border-radius: 0.475rem !important;
    min-height: 45px !important;
}

/* Button Animation */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Table Styling */
#mytable thead tr {
    background: linear-gradient(135deg, #4c5fd5 0%, #5a3d7d 100%) !important;
}

#mytable thead th {
    color: white !important;
    font-weight: 600 !important;
    padding: 1rem !important;
    border: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#mytable tbody tr {
    transition: all 0.2s ease;
}

#mytable tbody tr:hover {
    background: #f8f9fa !important;
    transform: scale(1.002);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#mytable tbody td {
    padding: 0.95rem !important;
}





/* Separator */
.separator-gradient {
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

/* Badge Status Custom */
.badge-status {
    font-size: 1rem !important;
    border-radius: 10px !important;
    transition: all 0.3s ease;
    cursor: default;
}

.badge-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-status i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.badge-status .count {
    font-size: 1.3rem;
    font-weight: 700;
    margin-left: 8px;
}

/* Animation Fade In */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fadein {
    animation: fadeInUp 0.5s ease-out;
}

/* Custom Search Box - Konsisten dengan Select2 */
.custom-search {
    position: relative;
}

.custom-search input {
    height: 45px;
    border: 1px solid #e4e6ef;
    border-radius: 0.475rem;
    padding: 0.75rem 3rem 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: #ffffff;
}

.custom-search input:focus {
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    outline: 0;
}

.custom-search .search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a1a5b7;
    pointer-events: none;
    font-size: 1.1rem;
}

.custom-search input::placeholder {
    color: #a1a5b7;
}

/* Source: data_kependudukan/index.blade.php */
.card-agregat {
    border-radius: 12px !important;
    transition: all 0.3s ease;
    background: white;
}

.card-agregat:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15) !important;
    border-color: #667eea !important;
}

.badge-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    font-size: 0.7rem !important;
    padding: 0.4rem 0.65rem !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

.card-agregat .symbol {
    transition: all 0.3s ease;
}

.card-agregat:hover .symbol {
    transform: scale(1.1) rotate(-5deg);
}

.card-agregat .symbol-label {
    transition: all 0.3s ease;
}

.card-agregat:hover .symbol-label {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.symbol-label img {
    object-fit: contain;
}

.btn-view {
    transition: all 0.3s ease;
}

.card-agregat:hover .btn-view {
    transform: translateX(5px);
}

.arrow-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.card-agregat:hover .arrow-icon {
    transform: translateX(5px);
}

@media (max-width: 575.98px) {
    .card-agregat .symbol {
        width: 50px !important;
        height: 50px !important;
    }

    .card-agregat .symbol img {
        width: 28px !important;
        height: 28px !important;
    }

    .card-agregat h3 {
        font-size: 0.95rem !important;
    }

    .badge-primary {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.5rem !important;
    }
}

/* Source: data_kependudukan/show.blade.php */
/* Card Styling */
.card-main {
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

/* Select2 Custom */
.select2-container--bootstrap5 .select2-selection {
    border: 1px solid #e4e6ef !important;
    border-radius: 0.475rem !important;
    min-height: 45px !important;
}

/* Button Animation */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Table Styling - WARNA LEBIH GELAP */
#mytable thead tr {
    background: linear-gradient(135deg, #4c5fd5 0%, #5a3d7d 100%) !important;
}

#mytable thead th {
    color: white !important;
    font-weight: 600 !important;
    padding: 1rem !important;
    border: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#mytable tbody tr {
    transition: all 0.2s ease;
}

#mytable tbody tr:hover {
    background: #f8f9fa !important;
    transform: scale(1.002);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#mytable tbody td {
    padding: 0.95rem !important;
}

/* Transpose Table Style - FIXED WIDTH */
.table-transposed tbody th {
    background: linear-gradient(135deg, #4c5fd5 0%, #5a3d7d 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    text-align: right !important;
    padding: 1rem 1.5rem !important;
    max-width: 200px !important;
    min-width: 150px !important;
    width: 200px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    vertical-align: middle !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.table-transposed tbody td {
    text-align: center !important;
    vertical-align: middle !important;
}

/* Comparison Table Style - WARNA LEBIH GELAP */
.comparison-mode .bg-primary-subtle {
    background-color: #c5cae9 !important;
    font-weight: 500;
}

.comparison-mode .bg-success-subtle {
    background-color: #c8e6c9 !important;
    font-weight: 500;
}

.comparison-mode thead th.bg-primary-subtle {
    background: linear-gradient(135deg, #5c6bc0 0%, #7e57c2 100%) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.comparison-mode thead th.bg-success-subtle {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.comparison-mode .text-success {
    color: #2e7d32 !important;
    font-weight: 700;
}

.comparison-mode .text-danger {
    color: #c62828 !important;
    font-weight: 700;
}

.comparison-mode .badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
}

/* Separator */
.separator-gradient {
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

/* Chart Container */
#chartContainer {
    min-height: 400px;
}

/* Comparison Section - REDESIGN */
.comparison-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
    border-radius: 12px;
    margin-top: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Comparison Toggle Card - NEW DESIGN */
.comparison-toggle-card {
    background: white;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.comparison-toggle-card:hover {
    background: #f8f9fa;
    border-bottom-color: #667eea;
}

.comparison-toggle-card .custom-switch {
    transform: scale(1.3);
    cursor: pointer;
}

.comparison-toggle-card .toggle-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a237e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comparison-toggle-card .toggle-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.comparison-toggle-card .toggle-desc {
    font-size: 0.9rem;
    color: #616161;
    margin-top: 0.5rem;
    font-weight: 400;
}

.comparison-toggle-card .toggle-instruction {
    font-size: 0.8rem;
    color: #9e9e9e;
    font-style: italic;
    margin-top: 0.25rem;
}

/* Comparison Filters */
#compareFilters {
    background: white;
    padding: 1.5rem;
    border-top: 2px dashed #e0e0e0;
}

/* Custom Switch Style */
.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

/* Source: desa_renjana/index.blade.php */


/* Source: desa_siap/akl.blade.php */
.timeline-label:before {
    left: 101px;
}

/* Source: desa_siap/daftar.blade.php */
/* ===== PAGE HEADER ===== */
.page-header-desa {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
}

.page-header-desa::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-desa>* {
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.icon-box img {
    width: 35px;
    height: 35px;
}

/* ===== FILTER BUTTONS ===== */
.filter-status-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-filter-status {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-filter-status:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
}

.btn-filter-status.active {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    filter: brightness(0.85);
}

.btn-filter-status i {
    font-size: 0.9rem;
}

/* ===== CARD ===== */
.card-desa {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ===== TABLE ===== */
.table-desa {
    border-collapse: separate;
    border-spacing: 0;
}

.table-desa thead th {
    background: #667eea;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 12px;
    border: none;
    white-space: nowrap;
}

.table-desa thead th:first-child {
    border-top-left-radius: 8px;
}

.table-desa thead th:last-child {
    border-top-right-radius: 8px;
}

.table-desa tbody tr {
    background: white;
    border-bottom: 1px solid #f1f5f9;
}

.table-desa tbody tr:hover {
    background: #f8fafc;
}

.table-desa tbody td {
    padding: 10px 12px;
    vertical-align: middle;
}

/* ===== DATATABLES PROCESSING ===== */
/* div.dataTables_wrapper {
                    position: relative;
                }

                div.dataTables_wrapper div.dataTables_processing {
                    position: absolute !important;
                    top: 50% !important;
                    left: 50% !important;
                    transform: translate(-50%, -50%) !important;
                    width: 120px !important;
                    height: 120px !important;
                    margin: 0 !important;
                    padding: 0 !important;
                    background: rgba(255, 255, 255, 0.95) !important;
                    backdrop-filter: blur(4px);
                    border-radius: 15px !important;
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
                    z-index: 9999 !important;
                    border: none !important;
                } */

/* ===== DISABLED CAMERA BUTTON ===== */
.btn.disabled,
.btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.btn-light-success.disabled,
.btn-light-success:disabled {
    background-color: #e4e6ef !important;
    color: #a1a5b7 !important;
    border-color: #e4e6ef !important;
}

/* ===== MODAL CAMERA - PORTRAIT ORIGINAL SIZE ===== */
.modal-camera {
    padding: 0 !important;
}

.modal-camera .modal-dialog {
    max-width: 100vw;
    width: 100vw;
    margin: 0;
    height: 100vh;
    height: 100dvh;
}

.modal-camera .modal-content {
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    border: none;
    overflow: hidden;
}

.modal-camera .modal-body {
    padding: 0;
    height: 100vh;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    touch-action: none;
}

/* Prevent scroll saat modal terbuka */
body.modal-camera-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100vh !important;
    touch-action: none !important;
}

/* Camera Container */
.camera-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #000;
    overflow: hidden;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video ORIGINAL - NO ZOOM, NO CROP */
#videoPreview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* CONTAIN = tampil semua tanpa crop */
    object-position: center;
}

.camera-controls {
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1060;
    padding: 0 20px;
}

.btn-camera-action {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid white;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-camera-action:hover,
.btn-camera-action:active {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.btn-camera-action i {
    font-size: 28px;
    color: white;
}

.btn-capture {
    width: 80px;
    height: 80px;
    background: #667eea;
    border-color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
}

/* Preview Captured - ORIGINAL SIZE */
.preview-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1050;
}

.preview-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* CONTAIN = tampil semua tanpa crop */
}

.camera-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1055;
}

.camera-loading .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .camera-controls {
        bottom: 30px;
        gap: 15px;
    }

    .btn-camera-action {
        width: 60px;
        height: 60px;
    }

    .btn-capture {
        width: 70px;
        height: 70px;
    }

    .btn-camera-action i {
        font-size: 24px;
    }
}


/* Mobile optimization */
@media (max-width: 768px) {
    .camera-controls {
        bottom: 30px;
        gap: 15px;
    }

    .btn-camera-action {
        width: 60px;
        height: 60px;
    }

    .btn-capture {
        width: 70px;
        height: 70px;
    }

    .btn-camera-action i {
        font-size: 24px;
    }
}

/* ===== CROPPER MODAL ===== */
.modal-cropper .modal-dialog {
    max-width: 800px;
}

#cropperContainer {
    max-height: 500px;
    overflow: hidden;
}

#cropperContainer img {
    max-width: 100%;
}

.cropper-view-box {
    outline: 1px solid #667eea;
    outline-color: rgba(102, 126, 234, 0.75);
}

/* ===== HOVER EFFECT UNTUK CARD DOKUMEN ===== */
.hover-shadow {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hover-shadow img {
    transition: all 0.3s ease;
}

.hover-shadow:hover img {
    transform: scale(1.05);
}

/* Source: desa_siap/index.blade.php */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 0;
    margin-bottom: 20px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%23ffffff' fill-opacity='0.05'%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");
}

.hero-content {
    position: relative;
    z-index: 1;
}

.logo-desa-siap {
    max-height: 120px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Info Section - Modern Design */
.info-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 25px 50px 0px 50px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.info-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.info-section h3 {
    color: #1e293b !important;
    font-size: 1.75rem;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.info-section h3 i {
    color: #667eea !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.info-card {
    background: white;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.08);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transition: height 0.4s ease;
}

.info-card:hover::before {
    height: 100%;
}

.info-card:hover {
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.2);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
    transition: all 0.3s ease;
    position: relative;
}

.info-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.info-card:hover .info-icon::after {
    width: 120%;
    height: 120%;
}

.info-icon i {
    color: white !important;
    position: relative;
    z-index: 1;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
}

.info-card h5 {
    color: #1e293b;
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.info-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Card Jenis */
.card-jenis {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.card-jenis:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.card-jenis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.card-jenis .card-body {
    padding: 25px;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.icon-wrapper img {
    width: 50px;
    height: 50px;
}

.chart-container {
    position: relative;
    height: 200px;
    margin-top: 15px;
}

.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 10px;
}

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

    100% {
        background-position: -200% 0;
    }
}

.stats-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Button - Fix Hover Text Color */
.btn-view-data {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-data:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white !important;
    /* Pastikan tetap white saat hover */
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-view-data:focus,
.btn-view-data:active {
    color: white !important;
}

/* Source: desa_siap/kia.blade.php */
.timeline-label:before {
    left: 101px;
}

/* Source: faq/index.blade.php */
figure img {
    max-width: 100%;
}

/* Source: form_capil/kelahiran/create.blade.php */
.form-select.is-invalid,
.was-validated .form-select:invalid {
    border-color: #f1416c !important;
}

.form-select.is-valid,
.was-validated .form-select:valid {
    border-color: #50cd89 !important;
}

.select2-search__field,
.select2-results__option {
    text-transform: uppercase !important;
}

/* Source: form_capil/kelahiran/index.blade.php */
/* ===== MODAL DETAIL SUMMARY CSS ===== */
.summary-section {
    background: #fafbfc;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #f1f1f4;
    transition: all 0.3s ease;
}

.summary-section:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f1f4;
}

.summary-header h5 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #3f4254;
    font-size: 1rem;
}

.summary-table {
    width: 100%;
    margin: 0;
}

.summary-table td {
    padding: 0.35rem 0;
    border: none;
    vertical-align: top;
    font-size: 0.92rem;
}

.summary-table td:first-child {
    width: 180px;
    color: #a1a5b7;
    font-weight: 500;
}

.summary-table td:last-child {
    color: #3f4254;
    font-weight: 600;
}

/* ===== PAGE HEADER ===== */
.page-header-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
}

.page-header-custom::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-custom>* {
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

/* ===== CARD ===== */
.card-custom {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ===== TABLE ===== */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom thead th {
    background: #667eea !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 12px !important;
    border: none !important;
    white-space: nowrap !important;
}

.table-custom thead th:first-child {
    border-top-left-radius: 8px;
}

.table-custom thead th:last-child {
    border-top-right-radius: 8px;
}

.table-custom tbody tr:hover {
    background: #f8fafc;
}

.table-custom tbody td {
    padding: 10px 12px;
    vertical-align: middle;
}

/* Source: form_capil/kelahiran/pdf_kelahiran.blade.php */
html,
body {
    /* font-size: 12!important; */
}

/* table tr td{
            font-size: 10px!important;
        } */
table {
    width: 100% !important;
    border-spacing: -1px;
    /* autosize:1; */
    /* border: 1px solid black!important;
            border-collapse: collapse; */
}

table tr td {
    font-size: 11 !important;
    /* font-size: 12!important; */
}

.isi {
    text-align: center;
    border: 1px solid black;
    font-size: 11 !important;
    height: 15px !important;
    width: 15px !important;
}

.isi-no-border {
    text-align: center;
    height: 15px !important;
    width: 15px !important;
}

.isi2 {
    text-align: center;
    border: 1px solid black;
    font-size: 11 !important;
    height: 15px !important;
}

.border {
    border: 1px solid black;
    text-align: center;
}

.label-jenis {
    padding-left: 10px;
}

.kotak {
    padding: 1px;
    border: 1.5px solid black;
    margin-bottom: 2px;
}

.tanda-tangan tr td {
    font-size: 11 !important;

}

/* Source: form_capil/kematian/create.blade.php */
.form-select.is-invalid,
.was-validated .form-select:invalid {
    border-color: #f1416c !important;
}

.form-select.is-valid,
.was-validated .form-select:valid {
    border-color: #50cd89 !important;
}

.select2-search__field,
.select2-results__option {
    text-transform: uppercase !important;
}

/* Source: form_capil/kematian/index.blade.php */
/* ===== MODAL DETAIL SUMMARY CSS ===== */
.summary-section {
    background: #fafbfc;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #f1f1f4;
    transition: all 0.3s ease;
}

.summary-section:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f1f4;
}

.summary-header h5 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #3f4254;
    font-size: 1rem;
}

.summary-table {
    width: 100%;
    margin: 0;
}

.summary-table td {
    padding: 0.35rem 0;
    border: none;
    vertical-align: top;
    font-size: 0.92rem;
}

.summary-table td:first-child {
    width: 180px;
    color: #a1a5b7;
    font-weight: 500;
}

.summary-table td:last-child {
    color: #3f4254;
    font-weight: 600;
}

/* ===== PAGE HEADER ===== */
.page-header-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
}

.page-header-custom::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-custom>* {
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

/* ===== CARD ===== */
.card-custom {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ===== TABLE ===== */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom thead th {
    background: #667eea !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 12px !important;
    border: none !important;
    white-space: nowrap !important;
}

.table-custom thead th:first-child {
    border-top-left-radius: 8px;
}

.table-custom thead th:last-child {
    border-top-right-radius: 8px;
}

.table-custom tbody tr:hover {
    background: #f8fafc;
}

.table-custom tbody td {
    padding: 10px 12px;
    vertical-align: middle;
}

/* Source: form_capil/kematian/pdf_kematian.blade.php */
html,
body {
    /* font-size: 12!important; */
}

/* table tr td{
            font-size: 10px!important;
        } */
table {
    width: 100% !important;
    border-spacing: -1px;
    /* autosize:1; */
    /* border: 1px solid black!important;
            border-collapse: collapse; */
}

table tr td {
    font-size: 11 !important;
    /* font-size: 12!important; */
}

.isi {
    text-align: center;
    border: 1px solid black;
    font-size: 11 !important;
    height: 15px !important;
    width: 15px !important;
}

.isi-no-border {
    text-align: center;
    height: 15px !important;
    width: 15px !important;
}

.isi2 {
    text-align: center;
    border: 1px solid black;
    font-size: 11 !important;
    height: 15px !important;
}

.border {
    border: 1px solid black;
    text-align: center;
}

.label-jenis {
    padding-left: 10px;
}

.kotak {
    padding: 1px;
    border: 1.5px solid black;
    margin-bottom: 2px;
}

.tanda-tangan tr td {
    font-size: 11 !important;

}

/* Source: form_dafduk/perpindahan/create.blade.php */
.form-select.is-invalid,
.was-validated .form-select:invalid {
    border-color: #f1416c !important;
}

.form-select.is-valid,
.was-validated .form-select:valid {
    border-color: #50cd89 !important;
}

/* Source: form_dafduk/perpindahan/index.blade.php */
/* ===== MODAL DETAIL SUMMARY CSS ===== */
.summary-section {
    background: #fafbfc;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #f1f1f4;
    transition: all 0.3s ease;
}

.summary-section:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f1f4;
}

.summary-header h5 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #3f4254;
    font-size: 1rem;
}

.summary-table {
    width: 100%;
    margin: 0;
}

.summary-table td {
    padding: 0.35rem 0;
    border: none;
    vertical-align: top;
    font-size: 0.92rem;
}

.summary-table td:first-child {
    width: 180px;
    color: #a1a5b7;
    font-weight: 500;
}

.summary-table td:last-child {
    color: #3f4254;
    font-weight: 600;
}

/* ===== PAGE HEADER ===== */
.page-header-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
}

.page-header-custom::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-custom>* {
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

/* ===== CARD ===== */
.card-custom {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ===== TABLE ===== */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom thead th {
    background: #667eea !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 12px !important;
    border: none !important;
    white-space: nowrap !important;
}

.table-custom thead th:first-child {
    border-top-left-radius: 8px;
}

.table-custom thead th:last-child {
    border-top-right-radius: 8px;
}

.table-custom tbody tr:hover {
    background: #f8fafc;
}

.table-custom tbody td {
    padding: 10px 12px;
    vertical-align: middle;
}

/* Source: form_dafduk/perpindahan/pdf_perpindahan.blade.php */
html,
body {
    padding: 0px !important;
    margin: 0px !important;
}

table {
    width: 100% !important;
    border-spacing: 0px;
    /* autosize:1; */
    /* border: 1px solid black!important;
            border-collapse: collapse; */

}

.border {
    border: 1px solid black;
    text-align: center;
}

.border2 tr td {
    border: 1px solid black;
    text-align: center;
}

table tr td {
    font-size: 11.5;
    /* padding-left: 1px; */
    /* padding-right: 1px; */
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: left !important;
}

/* Source: index.blade.php */
.select2 {
    width: 100% !important;
}

.action-column {
    min-width: 70px
}

/* Interactive row hover effect */
#mytable tbody tr,
#table-sakura-users tbody tr {
    transition: all 0.2s ease;
}

#mytable tbody tr:hover,
#table-sakura-users tbody tr:hover {
    background-color: rgba(0, 158, 247, 0.04) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* MODAL REDESIGN - BIOMETRIC STYLE */
.modal-header-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
    border: none;
    position: relative;
    overflow: hidden;
}

.modal-header-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.modal-header-detail {
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
    padding: 20px 30px;
    border: none;
    position: relative;
    overflow: hidden;
}

.modal-header-detail::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.info-card-interactive {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-select:focus,
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Button micro-interactions */
.btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:active {
    transform: scale(0.96);
}

/* FILTER BOX STYLE */
.filter-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.filter-box:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* TABLE MODERN STYLE */
.table-modern tbody tr {
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05) !important;
    transform: translateX(3px);
}

/* ACTION BUTTONS BIOMETRIC STYLE */
.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    margin: 0 2px;
}

.btn-action:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-action i {
    font-size: 0.9rem;
}

/* Source: keamanan.blade.php */


/* Source: perkawinan/create.blade.php */
.form-select.is-invalid,
.was-validated .form-select:invalid {
    border-color: #f1416c !important;
}

.form-select.is-valid,
.was-validated .form-select:valid {
    border-color: #50cd89 !important;
}

.select2-search__field,
.select2-results__option {
    text-transform: uppercase !important;
}

.dz-remove {
    display: none !important
}

.snapping [data-skip-snap] {
    visibility: hidden !important;
}

/* Rasio 9:16 universal */
.ratio-9x16 {
    position: relative;
    width: 100%;
}

/* Fallback untuk browser tanpa aspect-ratio */
.ratio-9x16::before {
    content: "";
    display: block;
    padding-top: calc(16 / 9 * 100%);
    /* 177.777...% */
}

/* Anak elemen memenuhi bidang rasio */
.ratio-9x16>* {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Bila browser modern, pakai property ini (tidak mengganggu fallback) */
@supports (aspect-ratio: 9 / 16) {
    .ratio-9x16 {
        aspect-ratio: 9 / 16;
    }

    .ratio-9x16::before {
        display: none;
    }
}

/* Preview tetap contain */
#camVideo {
    object-fit: contain;
    background: #000;
}

/* Hasil foto tetap isi penuh */
#camCanvas {
    object-fit: cover;
    background: #000;
}

.flatpickr-day.hari-libur {
    color: #dc3545 !important;
    cursor: not-allowed !important;
}

.flatpickr-day.hari-libur:hover {
    color: #dc3545 !important;
}

/* Source: perkawinan/index.blade.php */
figure img {
    max-width: 100%;
}

table.dataTable>thead .sorting_asc:after {
    background-color: var(--kt-white);
}

table.dataTable>thead .sorting_desc:after {
    background-color: var(--kt-white);
}

th {
    cursor: pointer
}

/* Source: perkawinan/search.blade.php */
figure img {
    max-width: 100%;
}

table.dataTable>thead .sorting_asc:after {
    background-color: var(--kt-white);
}

table.dataTable>thead .sorting_desc:after {
    background-color: var(--kt-white);
}

th {
    cursor: pointer
}

.timeline-label:before {
    left: 101px;
}

#cf_status_badge {
    letter-spacing: 2px
}

/* Grid stacked label -> value */
.kv2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 1.25rem;
}

@media (min-width: 992px) {

    /* lg ke atas: 2 kolom */
    .kv2 {
        grid-template-columns: 1fr 1fr;
    }
}

.kv-item {
    min-width: 0;
}

/* biar wrap works */
.kv-label {
    font-size: .825rem;
    color: #6c757d;
    /* text-muted */
}

.kv-val {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.badge-date {
    white-space: nowrap;
    font-weight: 600;
}

.dz-remove {
    display: none !important
}

.dropzone-file>a>img {
    object-fit: cover;
    display: block;
}

.object-fit-contain {
    object-fit: contain;
}

/* Preview tetap contain */
#camVideo {
    object-fit: contain;
    background: #000;
}

/* Hasil foto tetap isi penuh */
#camCanvas {
    object-fit: cover;
    background: #000;
}

.ratio-9x16 {
    position: relative;
    width: 100%;
}

.ratio-9x16::before {
    content: "";
    display: block;
    padding-top: calc(16 / 9 * 100%);
}

.ratio-9x16>* {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
}

@supports (aspect-ratio: 9 / 16) {
    .ratio-9x16 {
        aspect-ratio: 9 / 16;
    }

    .ratio-9x16::before {
        display: none;
    }
}

/* Source: profil.blade.php */
.header-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

/* Source: sakura/index.blade.php */
/* ========================================
           STATISTIK SAKURA - INTERACTIVE CARDS
           ======================================== */

.stats-main-card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

/* Summary Card - Interactive & Colorful */
.stat-summary-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.stat-summary-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stat-summary-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Pulse Animation for Icons */
@keyframes pulse-pink {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.stat-summary-card:hover .pulse-icon {
    animation: pulse-pink 0.5s ease-in-out;
}

/* Colors aligned with index.blade.php theme (Pink/Purple) */
.bg-pink-gradient {
    background: linear-gradient(135deg, #ff85c2 0%, #ff64ad 100%) !important;
}

.bg-purple-gradient {
    background: linear-gradient(135deg, #b55cff 0%, #9034df 100%) !important;
}

.bg-blue-gradient {
    background: linear-gradient(135deg, #5c8bff 0%, #3460df 100%) !important;
}

.bg-orange-gradient {
    background: linear-gradient(135deg, #ff9b5c 0%, #df6d34 100%) !important;
}

/* Badge di Table - CERAH & TERLIHAT */
.badge-stat-primary {
    background: linear-gradient(135deg, #5c8bff 0%, #3460df 100%) !important;
    color: white !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.1rem !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(92, 139, 255, 0.3);
    transition: all 0.3s ease;
    border: none !important;
}

.badge-stat-info {
    background: linear-gradient(135deg, #b55cff 0%, #9034df 100%) !important;
    color: white !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.1rem !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(181, 92, 255, 0.3);
    transition: all 0.3s ease;
    border: none !important;
}

.badge-stat-success {
    background: linear-gradient(135deg, #ff85c2 0%, #ff64ad 100%) !important;
    color: white !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.1rem !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(255, 100, 173, 0.3);
    transition: all 0.3s ease;
    border: none !important;
}

.badge-stat-warning {
    background: linear-gradient(135deg, #ff9b5c 0%, #df6d34 100%) !important;
    color: white !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.1rem !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(255, 155, 92, 0.3);
    transition: all 0.3s ease;
    border: none !important;
}

/* Badge Hover */
.badge-stat-primary:hover,
.badge-stat-info:hover,
.badge-stat-success:hover,
.badge-stat-warning:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Table Hover */
.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: #fff0f7;
    transform: scale(1.01);
}

/* Source: sakura/laporan.blade.php */
.dataTables_scrollHeadInner,
.table {
    width: 100% !important;
}

#kt_table_rekap tbody tr {
    transition: all 0.2s ease;
}

#kt_table_rekap tbody tr:hover {
    background-color: #fff0f7 !important;
    transform: scale(1.002);
}

#kt_table_rekap tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.dataTables_paginate .paginate_button {
    border-radius: 6px !important;
    margin: 0 2px !important;
}

.dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #ff64ad 0%, #ff85c2 100%) !important;
    color: white !important;
    border-color: transparent !important;
}

.dataTables_paginate .paginate_button:hover {
    background: #fff0f7 !important;
    color: #ff64ad !important;
    border-color: #ffb3d6 !important;
}

.dataTables_processing {
    background: white !important;
    border: 1px solid #f1f3f5 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    padding: 10px 20px !important;
}

.dataTables_filter input {
    border-radius: 8px !important;
    border: 1px solid #e4e6ef !important;
    padding: 6px 12px !important;
}

.dataTables_filter input:focus {
    border-color: #ff64ad !important;
    box-shadow: 0 0 0 3px rgba(255, 100, 173, 0.1) !important;
}

/* Summary card hover */
#summary_cards .card {
    transition: all 0.3s ease;
}

#summary_cards .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
}

/* ===== STAT CARD COMPACT (Global) ===== */
.stat-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.4s ease;
    border: none;
    min-height: 80px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150%;
    height: 150%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

.stat-card:hover::before {
    right: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }
}

.floating {
    animation: float-icon 2.5s ease-in-out infinite;
}
