@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
    --primary-color: #418aa2bd;
    --primary-hover: #0a4a83;
    --primary-light: #eff6ff;
    --primary-gradient: linear-gradient(135deg, #3493dba9 0%, #2073ae 100%);
    --primary-glow: rgba(37, 99, 235, 0.25);
    --secondary-color: #0f172a;
    --text-muted: #64748b;
    --text-main: #1e293b;
    --text-heading: #0f172a;
    --success-color: #10b981;
    --success-light: #ecfdf5;
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --danger-color: #ef4444;
    --danger-light: #fef2f2;
    --warning-color: #f59e0b;
    --warning-light: #fffbeb;
    --bg-page: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --border-focus: #93c5fd;
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-pill: 9999px;
    --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 10px 25px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.3);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html,
body {
    overflow-x: clip;
    max-width: 100vw;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 78px;
    /* Spacing for mobile bottom floating bar */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

/* Fluid responsive headings */
h1,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-size: clamp(1.5rem, 4vw + 0.5rem, 2.5rem);
    line-height: 1.25;
}

/* Navbar (Modern Sticky Glassmorphism) */
.navbar-custom {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px) saturate(100%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.65);
    padding: 0.65rem 0;
    box-shadow: 0 4px 24px 0 rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-custom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.navbar-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar-brand-logo .brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.navbar-brand-logo img,
.brand-logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

@media (min-width: 768px) {
    .navbar-custom {
        padding: 0.75rem 0;
    }

    .navbar-brand-logo {
        font-size: 1.3rem;
        gap: 0.55rem;
    }

    .navbar-brand-logo .brand-name {
        font-size: 1.3rem;
    }

    .navbar-brand-logo img,
    .brand-logo-img {
        height: 34px;
        border-radius: 8px;
    }
}

.nav-btn-auth {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
    white-space: nowrap;
    font-weight: 600;
}

.nav-btn-cta {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    white-space: nowrap;
    font-weight: 600;
}

@media (min-width: 768px) {
    .nav-btn-auth {
        font-size: 0.875rem;
        padding: 0.4rem 0.95rem;
    }

    .nav-btn-cta {
        font-size: 0.875rem;
        padding: 0.4rem 1.15rem;
    }
}

.nav-link-custom {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted) !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary-color) !important;
    background-color: var(--primary-light);
}

/* User Avatar Pill */
.user-avatar-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem 0.35rem 0.4rem;
    border-radius: var(--border-radius-pill);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    cursor: pointer;
    transition: var(--transition);
}

.user-avatar-pill:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Luxury Modern Cards (Responsive padding) */
.card-modern {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .card-modern {
        padding: 1.75rem 1.75rem;
    }
}

.card-modern:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.2);
}

.card-modern-interactive {
    cursor: pointer;
}

.card-modern-interactive:hover {
    transform: translateY(-2px);
}

/* Gradient Hero Container */
.hero-gradient-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    color: white;
    border-radius: 18px;
    padding: 1.35rem 1.15rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
}

@media (min-width: 768px) {
    .hero-gradient-card {
        padding: 2.25rem 2.25rem;
        border-radius: 22px;
    }
}

/* Custom Buttons */
.btn-primary-custom {
    background: var(--primary-gradient);
    color: white !important;
    border: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 4px 12px var(--primary-glow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    touch-action: manipulation;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-secondary-custom {
    background: #ffffff;
    color: var(--secondary-color) !important;
    border: 1.5px solid var(--border-color);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius-pill);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-subtle);
}

.btn-secondary-custom:hover,
.btn-secondary-custom:focus,
.btn-secondary-custom:active {
    background: #f1f5f9 !important;
    color: var(--primary-color) !important;
    border-color: #94a3b8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Global fix for Bootstrap outline buttons to prevent white-on-white text */
.btn-outline-secondary {
    background-color: #ffffff;
    color: var(--secondary-color) !important;
    border-color: var(--border-color);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: #f1f5f9 !important;
    color: var(--primary-color) !important;
    border-color: #94a3b8 !important;
}

.btn-success-custom {
    background: var(--success-gradient);
    color: white !important;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    padding: 0.6rem 0.85rem;
    font-size: 0.92rem;
    color: var(--text-main);
    background-color: #ffffff;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

/* Badges */
.badge-custom {
    padding: 0.25rem 0.6rem;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot-active {
    background-color: var(--success-color);
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.status-dot-pending {
    background-color: var(--warning-color);
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

.status-dot-draft {
    background-color: var(--text-muted);
}

/* KPI Stat Cards (Compact on mobile) */
.kpi-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.9rem 0.85rem;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    height: 100%;
}

@media (min-width: 768px) {
    .kpi-card {
        padding: 1.25rem;
        border-radius: var(--border-radius);
    }
}

.kpi-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .kpi-icon-box {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
}

.kpi-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 0.25rem;
}

.kpi-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .kpi-value {
        font-size: 1.5rem;
    }
}

/* Toast Notifications */
.custom-toast-container {
    position: fixed;
    bottom: 85px;
    right: 16px;
    left: 16px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

@media (min-width: 576px) {
    .custom-toast-container {
        left: auto;
        right: 20px;
        bottom: 24px;
        max-width: 380px;
    }
}

.custom-toast {
    background: #0f172a;
    color: white;
    padding: 0.8rem 1.15rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    font-weight: 500;
    pointer-events: auto;
    animation: toastSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-toast.toast-success {
    border-left: 4px solid var(--success-color);
}

.custom-toast.toast-error {
    border-left: 4px solid var(--danger-color);
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Mobile Responsive Global Enhancements */
@media (max-width: 767.98px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .kpi-card {
        padding: 0.75rem 0.65rem;
        border-radius: 12px;
    }

    .kpi-title {
        font-size: 0.7rem;
    }

    .kpi-value {
        font-size: 1.05rem;
    }

    .kpi-icon-box {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        font-size: 0.82rem;
        padding: 0.45rem 0.9rem;
    }
}

/* Mobile Bottom Floating Navigation (< 768px) */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 75px !important;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: calc(58px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(20px) saturate(100%);
        -webkit-backdrop-filter: blur(20px) saturate(150%);
        border-top: 1px solid rgba(226, 232, 240, 0.85);
        z-index: 1040;
        justify-content: space-around;
        align-items: center;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        box-shadow: 0 -8px 25px rgba(15, 23, 42, 0.07);
    }

    body.modal-open .mobile-bottom-nav {
        display: none !important;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.68rem;
        font-weight: 600;
        padding: 0.35rem 0.5rem;
        border-radius: 12px;
        transition: var(--transition);
        flex: 1;
        text-align: center;
    }

    .mobile-nav-item i {
        font-size: 1.15rem;
        margin-bottom: 0.15rem;
        transition: transform 0.2s ease;
    }

    .mobile-nav-item.active {
        color: var(--primary-color);
        background: rgba(37, 99, 235, 0.09);
    }

    .mobile-nav-item.active i {
        transform: scale(1.1);
    }

    .mobile-nav-item:active {
        transform: scale(0.95);
    }
}

/* Footer */
.footer-custom {
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 2rem 0 1.25rem 0;
    margin-top: auto;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Fullscreen Splash Screen (100% Edge-to-Edge) */
.splash-already-seen #splashScreen {
    display: none !important;
}

#splashScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
    overflow: hidden;
}

#splashScreen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#splashVideo {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.splash-skip-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.splash-skip-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

/* ==========================================================================
   Luxury Pricing & Forfaits System
   ========================================================================== */
.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
    overflow: visible !important;
    /* CRITICAL: Never clip floating top badges */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

.pricing-card.is-popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.16);
}

.pricing-card.is-current {
    border: 2.5px solid #10b981 !important;
    box-shadow: 0 14px 38px rgba(16, 185, 129, 0.2) !important;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--card-bg) 100%);
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    white-space: nowrap;
    padding: 0.45rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.pricing-badge-popular {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.pricing-badge-current {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
    border-color: #ffffff;
}

.pricing-badge-elite {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
}

.pricing-feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1rem 0;
}

.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-main);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.pricing-feature-item:last-child {
    border-bottom: none;
}

.pricing-feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    margin-top: 0.15rem;
}

.btn-toggle-features {
    font-size: 0.78rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-toggle-features:hover {
    background: var(--primary-light);
    border-color: #93c5fd;
    color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-toggle-features .toggle-icon.rotate-180 {
    transform: rotate(180deg);
}

.pricing-user-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

.pricing-user-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

/* Modern Table Action Buttons */
.btn-action-table {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-main);
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-action-table:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.btn-action-edit {
    color: var(--primary-color) !important;
}

.btn-action-edit:hover {
    background: var(--primary-light) !important;
    border-color: #93c5fd !important;
    color: var(--primary-dark) !important;
}

.btn-action-pdf {
    color: #dc2626 !important;
}

.btn-action-pdf:hover {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #b91c1c !important;
}

.btn-action-convert {
    color: #059669 !important;
}

.btn-action-convert:hover {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    color: #047857 !important;
}

.btn-action-delete {
    color: #94a3b8 !important;
    padding: 0.35rem 0.55rem;
}

.btn-action-delete:hover {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #ef4444 !important;
}

/* Dashboard Document Table Mobile & Desktop Styling */
.table-documents th,
.table-documents td {
    vertical-align: middle;
    white-space: nowrap;
}

.doc-number-link {
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    letter-spacing: -0.2px;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    color: var(--primary-color);
}

.doc-number-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .table-documents {
        font-size: 0.78rem !important;
    }

    .doc-number-link {
        font-size: 0.76rem !important;
    }

    .badge-custom {
        font-size: 0.68rem !important;
        padding: 0.18rem 0.48rem !important;
    }

    .btn-action-table {
        font-size: 0.74rem !important;
        padding: 0.22rem 0.45rem !important;
    }
}