:root {
    --primary-dark: #000000;
    --primary-blue: #0a0a0a;
    --accent-blue: #ffffff;
    --accent-indigo: #1a1a1a;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #1a1a1a;
    --gray-dark: #888888;
    --success: #1a1a1a;
    --danger: #ff4444;
    --warning: #ffbb33;
    --info: #33b5e5;
    --purple: #aa66cc;
    --orange: #ff8800;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Bootstrap Overrides for Black Premium Theme */
.card {
    background-color: #0a0a0a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.card-header {
    background-color: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.card-body {
    background-color: transparent !important;
    color: inherit !important;
}

.modal-content {
    background-color: #0d0d0d !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.modal-header,
.modal-footer {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dropdown-menu {
    background-color: #0d0d0d !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dropdown-item {
    color: #ffffff !important;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.list-group-item {
    background-color: #0a0a0a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.nav-tabs .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
}

.nav-tabs .nav-link.active {
    background-color: #1a1a1a !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.pagination .page-link {
    background-color: #0a0a0a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.pagination .page-item.active .page-link {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

/* Global Form Overrides */
.form-control,
.form-select,
input,
select,
textarea {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    background-color: #222222 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1) !important;
    outline: none !important;
}

::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

html,
body {
    background-color: #000000 !important;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    background-color: #000000 !important;
}

/* Navbar */
.navbar-custom {
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    position: relative;
    z-index: 1000;
    margin: 0 0 1.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    margin: 0 0.25rem;
    padding: 0.5rem 1rem !important;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    opacity: 0.8;
}

.navbar-nav .nav-link:hover {
    background: var(--glass-bg);
    opacity: 1;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background: #ffffff !important;
    color: #000000 !important;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Modern Cards */
.card-modern {
    background: #0a0a0a;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    color: var(--white);
}

.card-modern h1,
.card-modern h2,
.card-modern h3,
.card-modern h4,
.card-modern h5,
.card-modern h6,
.card-custom h1,
.card-custom h2,
.card-custom h3,
.card-custom h4,
.card-custom h5,
.card-custom h6 {
    color: var(--white) !important;
}

.card-modern:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: #0f0f0f;
}

.card-header-modern {
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1.5rem;
    color: var(--white);
}

.card-gradient-success {
    background: #111111;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modern Stat Cards */
.stat-card-modern {
    background: #0a0a0a;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card-modern:hover {
    background: #0f0f0f;
}

.stat-card-blue {
    border-left-color: #4a5fc1;
}

.stat-card-green {
    border-left-color: #28a745;
}

.stat-card-purple {
    border-left-color: #6f42c1;
}

.stat-card-orange {
    border-left-color: #fd7e14;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.stat-card-blue .stat-icon {
    background: rgba(74, 95, 193, 0.1);
    color: #4a5fc1;
}

.stat-card-green .stat-icon {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stat-card-purple .stat-icon {
    background: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

.stat-card-orange .stat-icon {
    background: rgba(253, 126, 20, 0.1);
    color: #fd7e14;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.stat-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.stat-icon-large {
    font-size: 4rem;
    opacity: 0.2;
}

/* Avatar Circle */
.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Rank Badges */
.rank-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #808080);
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
}

.rank-4,
.rank-5 {
    background: linear-gradient(135deg, #4a5fc1, #2c3e7d);
}

/* Quick Action Cards */
.quick-action-card {
    background: #0a0a0a;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-action-card h6 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.quick-action-card small {
    color: var(--gray-dark);
}

.list-group-item {
    background: transparent !important;
    color: inherit;
}

.quick-action-card:hover {
    background: #0f0f0f;
    border-color: rgba(255, 255, 255, 0.2);
}

.quick-action-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.quick-action-card h6 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.quick-action-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Modern Badges */
.badge-success-modern {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Old Cards - Refreshed with Glassmorphism */
.card-custom {
    background: #0a0a0a;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    color: var(--white);
    position: relative;
}

.card-custom:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.card-header-custom {
    background: #000000;
    color: var(--white);
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
    padding: 2rem;
    color: inherit;
}

/* Buttons */
.btn-primary-custom {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Small button override for consistent sizing */
.btn-sm.btn-primary-custom,
.btn-sm.btn-warning-custom,
.btn-sm.btn-danger-custom,
.btn-sm.btn-success-custom,
.btn-sm.btn-info-custom {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    min-width: 40px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.btn-info-custom {
    background: #ffffff;
    border: none;
    color: #000000;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-info-custom:hover {
    background: #31d2f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 202, 240, 0.4);
    color: var(--black);
}

.btn-success-custom {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-success-custom:hover,
.btn-primary-custom:hover {
    background: #333333;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-danger-custom {
    background: var(--danger);
    border: none;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-danger-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.btn-warning-custom {
    background: var(--warning);
    border: none;
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

/* Forms */
.form-control-custom {
    background: #151515;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 0.75rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
    background: #1a1a1a;
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* Tables */
.table-custom,
.table-responsive {
    background: #000000 !important;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.table {
    --bs-table-bg: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
}

.table-custom thead {
    background: var(--primary-dark);
    color: var(--white);
}

.table-custom thead th {
    padding: 1rem;
    font-weight: 700;
    border: none;
    color: var(--white) !important;
}

.table-custom td {
    color: #ffffff !important;
    background-color: #0a0a0a !important;
}

.table-custom strong,
.table-custom b {
    color: var(--white) !important;
}

.table-custom tbody tr {
    background-color: #0a0a0a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.table-custom tbody td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Dashboard Stats - Old */
.stat-card {
    background: #0a0a0a;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-card h3 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

/* Container */
.container-custom {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.login-card {
    background: #0a0a0a;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    max-width: 440px;
    width: 100%;
}

.login-header {
    background: #000000;
    color: #ffffff;
    padding: 3rem 2rem 1.5rem;
    text-align: center;
}

.login-header img {
    filter: brightness(0) invert(1);
}

.login-body {
    padding: 2rem 2.5rem 3rem;
    background: #0a0a0a;
}

.login-body .form-label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    opacity: 0.9;
}

.login-body .form-control-custom {
    background: #151515;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.login-body .form-control-custom:focus {
    background: #1a1a1a;
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    outline: none;
}

.login-body .btn-primary-custom {
    background: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.9rem !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #000000 !important;
    transition: all 0.3s ease !important;
    margin-top: 1rem !important;
}

.login-body .btn-primary-custom:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.login-body .btn-outline-light {
    color: #ffffff;
    opacity: 0.7;
}

.login-body .btn-outline-light:hover {
    opacity: 1;
    background: transparent;
}

@media (max-width: 576px) {
    .login-card {
        margin: 1.5rem;
        border-radius: 16px;
    }

    .login-header {
        padding: 2rem 1.5rem 1rem;
    }

    .login-body {
        padding: 1.5rem 1.5rem 2rem;
    }
}



/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    h1,
    .h1 {
        font-size: 1.75rem !important;
    }

    h2,
    .h2 {
        font-size: 1.5rem !important;
    }

    h3,
    .h3 {
        font-size: 1.25rem !important;
    }

    .card-body {
        padding: 1.1rem !important;
    }

    /* Ajuste para el comprobante en móvil */
    #factura.card-custom {
        padding: 1.5rem !important;
    }

    #factura img {
        height: 60px !important;
    }

    #factura h4 {
        font-size: 1.1rem !important;
    }

    #factura .col-7,
    #factura .col-5,
    #factura .col-6 {
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 1rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .stat-card h3 {
        font-size: 1.75rem;
    }

    .stat-content h3 {
        font-size: 1.5rem;
    }

    .container-custom {
        padding: 0 0.5rem;
    }

    .table-custom tbody td {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }

    /* Evitar que las palabras se corten en tablas apretadas */
    table th,
    table td {
        white-space: nowrap !important;
    }
}

.card,
.card-body,
.list-group-item,
.table {
    color: inherit;
}

.card-title,
.card-text,
.h1,
.h2,
.h3,
.h4,
.h5,
/* Bootstrap Utility Overrides */
.bg-light,
.bg-white,
.bg-transparent {
    background-color: transparent !important;
}

.bg-light.border,
.bg-white.border {
    background-color: #0a0a0a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.text-dark {
    color: #ffffff !important;
}

/* Animations Fix - Reducing complexity for stability */
.animate__animated {
    animation-duration: 0.5s !important;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Table Styling for Dark Theme */
table,
.table,
.table-responsive,
.table-responsive-sm,
.table-responsive-md,
.table-responsive-lg,
.table-responsive-xl,
.table-responsive-xxl {
    background-color: transparent !important;
    color: var(--white) !important;
}

table th,
table td {
    background-color: transparent !important;
    color: var(--white) !important;
}

table thead,
table tbody,
table tfoot {
    background-color: transparent !important;
}

table thead th {
    color: rgba(255, 255, 255, 0.7) !important;
}

table tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-muted,
.text-white-50,
.text-muted small,
small.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

small {
    color: rgba(255, 255, 255, 0.6) !important;
}

strong,
b {
    color: var(--white);
}

/* Badge */
.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-nequi {
    background: #FF006B;
    color: var(--white);
}

.badge-bancolombia {
    background: #FFDD00;
    color: var(--black);
}

.badge-daviplata {
    background: #E30613;
    color: var(--white);
}

.badge-nu {
    background: #820AD1;
    color: var(--white);
}

.badge-otros {
    background: var(--gray-dark);
    color: var(--white);
}

/* Alert */
.alert-custom {
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

.swal2-popup {
    background: #0d0d0d !important;
    color: #ffffff !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8) !important;
}

.swal2-header,
.swal2-content,
.swal2-html-container {
    color: #ffffff !important;
}

.swal2-success-circular-line-left,
.swal2-success-circular-line-right,
.swal2-success-fix {
    background-color: transparent !important;
}

.swal2-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.swal2-html-container {
    font-size: 0.9rem !important;
    opacity: 0.9 !important;
}

@media (max-width: 768px) {
    .swal2-title {
        font-size: 1.15rem !important;
    }

    .swal2-html-container {
        font-size: 0.85rem !important;
    }
}

.swal2-confirm,
.swal2-cancel {
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: bounceIn 1s;
}

.whatsapp-float:hover {
    background-color: #20b858;
    color: #FFF;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    text-decoration: none;
}

.whatsapp-float i {
    font-size: 30px;
}

@keyframes bounceIn {

    from,
    20%,
    40%,
    60%,
    80%,
    to {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }

    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        transform: scale3d(.9, .9, .9);
    }

    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        transform: scale3d(.97, .97, .97);
    }

    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float i {
        font-size: 24px;
    }
}

/* Rejection Box Style */
.rejection-box {
    background: rgba(255, 68, 68, 0.05);
    border: 1px solid rgba(255, 68, 68, 0.2) !important;
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.rejection-box h6 {
    color: #ff4444 !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.rejection-content {
    color: #ffaaaa;
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom scrollbar for rejection content */
.rejection-content::-webkit-scrollbar {
    width: 4px;
}

.rejection-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.rejection-content::-webkit-scrollbar-thumb {
    background: rgba(255, 68, 68, 0.3);
    border-radius: 10px;
}

/* Stable Table Hovers */
.table-custom tr {
    transition: none !important;
    transform: none !important;
}

.table-custom tr:hover {
    background-color: rgba(255, 255, 255, 0.03) !important;
    transition: none !important;
}

/* Badge for Status */
.badge-status-rechazada {
    background-color: #ff4444 !important;
    color: white !important;
}

.badge-status-aprobada {
    background-color: #28a745 !important;
    color: white !important;
}

.badge-status-pendiente {
    background-color: #ffbb33 !important;
    color: #000 !important;
}

/* DataTables Responsive Premium Styling */
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: none !important;
}

table.dataTable>tbody>tr.child ul.dtr-details {
    width: 100%;
    padding: 1rem;
    background: #0d0d0d;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

table.dataTable>tbody>tr.child span.dtr-title {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    min-width: 100px;
}

table.dataTable>tbody>tr.child span.dtr-data {
    color: #ffffff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-custom tr.child:hover {
    background: transparent !important;
}

/* Alert Info/Warning Text Fix */
.alert-info.alert-custom,
.alert-warning.alert-custom {
    color: #000000 !important;
}

.alert-info.alert-custom h5,
.alert-warning.alert-custom h5,
.alert-info.alert-custom p,
.alert-warning.alert-custom p,
.alert-info.alert-custom strong,
.alert-warning.alert-custom strong {
    color: #000000 !important;
}

/* Quick Reason Buttons in Rejection Modal */
.quick-reason {
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.quick-reason:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.quick-reason.active {
    background-color: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

.swal2-html-container .quick-reason {
    margin: 0.25rem;
}

/* Landing Page Specific Styles */
.landing-navbar {
    background: transparent !important;
    border: none !important;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 1rem 0;
}

.landing-navbar .navbar-brand img {
    height: 35px;
}

.landing-navbar .nav-link-landing {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.landing-navbar .nav-link-landing:hover {
    color: #ffffff !important;
}

.landing-navbar .navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.landing-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.landing-navbar .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-top: 1rem;
    padding: 1.5rem;
}

@media (min-width: 992px) {
    .landing-navbar .navbar-collapse {
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
    }
}


.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.7) 30%,
            rgba(0, 0, 0, 0.3) 60%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    color: #ffffff;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}


.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
}

.service-card-landing {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.service-card-landing:hover {
    transform: translateY(-10px);
    background: #151515;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 1rem;
}

/* Info Block Global Styles */
.info-block {
    background: #ffffff !important;
    color: #000000 !important;
    border-radius: 40px;
    padding: 0;
    margin: 40px 0;
    overflow: hidden;
}

/* Force Black Text for General Info Block Content */
.info-block h1,
.info-block h2,
.info-block h3,
.info-block h4,
.info-block h5,
.info-block p,
.info-block span,
.info-block div,
.info-block .service-price,
.info-block .service-icon {
    color: #000000 !important;
}

.info-block .text-muted {
    color: #6c757d !important;
}

/* Exception: Service Card "Full Package" (Dark) */
.info-block .service-card-light.bg-dark h3,
.info-block .service-card-light.bg-dark p,
.info-block .service-card-light.bg-dark .service-price,
.info-block .service-card-light.bg-dark .service-icon {
    color: #ffffff !important;
}

.info-block .service-card-light.bg-dark .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.service-card-light {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-landing {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 40px;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        min-height: 100vh;
        background-position: center;
    }

    .hero-section::before {
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.85) 0%,
                rgba(0, 0, 0, 0.7) 50%,
                rgba(0, 0, 0, 0.5) 100%);
    }

    .info-block {
        padding: 40px 20px;
    }

    .info-block h2 {
        font-size: 2.5rem;
    }
}