﻿/* ============================================
   PaguePJ — Tema Corporativo Moderno
   Sobrescreve Bootstrap 5 + template Skote mantendo compatibilidade
   ============================================ */

:root {
    /* === Paleta (mude aqui pra ajustar o sistema todo) === */
    --pj-primary: #0f172a; /* slate 900 — principal */
    --pj-primary-hover: #1e293b; /* slate 800 — hover */
    --pj-primary-soft: #f1f5f9; /* fundos suaves */
    --pj-accent: #f2c830; /* amarelo PaguePJ — destaque */
    --pj-accent-hover: #e0b520;
    /* Para voltar ao azul original do template, troque por:
       --pj-primary: #556ee6; --pj-primary-hover: #4458c4;            */
    /* === Neutros === */
    --pj-bg: #f8fafc;
    --pj-card-bg: #ffffff;
    --pj-text: #0f172a;
    --pj-text-muted: #64748b;
    --pj-border: #e2e8f0;
    /* === Sidebar (dark) === */
    --pj-sidebar-bg: #0f172a;
    --pj-sidebar-text: #cbd5e1;
    --pj-sidebar-text-dim: #94a3b8;
    --pj-sidebar-hover-bg: rgba(255,255,255,0.05);
    --pj-sidebar-active-bg: rgba(255,255,255,0.08);
    /* === Feedback === */
    --pj-danger: #dc2626;
    --pj-danger-soft: #fef2f2;
    --pj-success: #16a34a;
    --pj-success-soft: #f0fdf4;
    /* === Sombras === */
    --pj-shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --pj-shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
    --pj-shadow-lg: 0 12px 32px -8px rgba(15, 23, 42, 0.12);
    --pj-shadow-xl: 0 24px 56px -12px rgba(15, 23, 42, 0.18);
    /* === Raios === */
    --pj-radius-sm: 8px;
    --pj-radius-md: 12px;
    --pj-radius-lg: 18px;
    --bs-primary: var(--pj-primary);
    --bs-primary-rgb: 15, 23, 42;
}

/* ============================================
   Base
   ============================================ */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--pj-text);
    background: var(--pj-bg);
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   AUTH (login, recovery etc.)
   ============================================ */

body.auth-body-bg {
    min-height: 100vh;
    background: radial-gradient(ellipse at top right, rgba(242, 200, 48, 0.13), transparent 55%), radial-gradient(ellipse at bottom left, rgba(15, 23, 42, 0.06), transparent 55%), var(--pj-bg);
    background-attachment: fixed;
}

.account-pages {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--pj-card-bg);
    border-radius: var(--pj-radius-lg);
    box-shadow: var(--pj-shadow-xl);
    padding: 2.75rem 2.5rem;
    border: 1px solid rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
    animation: pj-card-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

    .auth-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--pj-accent);
    }

@keyframes pj-card-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.auth-logo {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    margin: 0.5rem auto 1.5rem;
}

.auth-title {
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--pj-text-muted);
    margin: 0 0 2rem;
    line-height: 1.55;
}

.auth-link {
    color: var(--pj-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

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

.auth-footer {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.8125rem;
    color: var(--pj-text-muted);
    line-height: 1.65;
}

    .auth-footer a {
        color: var(--pj-primary);
        text-decoration: none;
        font-weight: 600;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

.auth-message {
    display: block;
    margin-bottom: 1rem;
}

    .auth-message:empty {
        display: none;
    }

/* Cor e estilo agora vêm das classes .alert-* injetadas pelo MensagemErro() */

/* ============================================
   FORM CONTROLS
   ============================================ */

.form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pj-text);
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.form-control,
.form-select {
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-sm);
    padding: 0.55rem 0.875rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--pj-text);
    background-color: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--pj-accent);
        box-shadow: 0 0 0 3px rgba(242, 200, 48, 0.2);
        outline: none;
    }

    .form-control::placeholder {
        color: #94a3b8;
    }

/* Input específico do auth (mais alto) */
.auth-card .form-control {
    min-height: 44px;
}

.auth-pass-inputgroup .form-control {
    border-right: 0;
}

.auth-pass-inputgroup .btn-light {
    background: #fff;
    border: 1px solid var(--pj-border);
    border-left: 0;
    color: var(--pj-text-muted);
    border-radius: 0 var(--pj-radius-sm) var(--pj-radius-sm) 0;
    transition: color 0.15s ease;
    min-height: 44px;
    padding: 0 0.875rem;
}

    .auth-pass-inputgroup .btn-light:hover {
        background: #fff;
        color: var(--pj-primary);
    }

.auth-pass-inputgroup:focus-within .form-control,
.auth-pass-inputgroup:focus-within .btn-light {
    border-color: var(--pj-accent);
}

.auth-pass-inputgroup:focus-within {
    border-radius: var(--pj-radius-sm);
    box-shadow: 0 0 0 3px rgba(242, 200, 48, 0.2);
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
    font-weight: 600;
    border-radius: var(--pj-radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    transition: all 0.18s ease;
}

.btn-primary {
    background-color: var(--pj-primary);
    border-color: var(--pj-primary);
    color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background-color: var(--pj-primary-hover) !important;
        border-color: var(--pj-primary-hover) !important;
        color: #fff !important;
    }

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

.btn-warning {
    background-color: var(--pj-accent);
    border-color: var(--pj-accent);
    color: var(--pj-primary);
}

    .btn-warning:hover, .btn-warning:focus {
        background-color: var(--pj-accent-hover);
        border-color: var(--pj-accent-hover);
        color: var(--pj-primary);
    }

/* Login: botão maior */
.account-pages .btn-primary {
    min-height: 44px;
    padding: 0.65rem 1.25rem;
    font-size: 0.9375rem;
}

/* ============================================
   LAYOUT DO SISTEMA (área logada)
   ============================================ */

/* === Topbar === */
#page-topbar {
    background: #fff;
    border-bottom: 1px solid var(--pj-border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.navbar-brand-box {
    background: var(--pj-primary) !important;
    border-right: 1px solid rgba(255,255,255,0.05);
}

    .navbar-brand-box .logo-dark {
        display: none !important;
    }

    .navbar-brand-box .logo-light {
        display: block !important;
    }

#vertical-menu-btn {
    color: var(--pj-text-muted);
    font-size: 22px;
    transition: color 0.15s ease;
}

    #vertical-menu-btn:hover {
        color: var(--pj-primary);
    }

.header-item {
    color: var(--pj-text);
    border: 0;
    box-shadow: none !important;
}

    .header-item:hover {
        color: var(--pj-primary);
    }

.noti-icon i {
    color: var(--pj-text-muted);
    font-size: 22px;
    transition: color 0.15s ease;
}

.noti-icon:hover i {
    color: var(--pj-primary);
}

.header-profile-user {
    height: 36px;
    width: 36px;
    background-color: var(--pj-primary-soft);
    padding: 3px;
    border: 1px solid var(--pj-border);
}

#page-header-user-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--pj-text);
}

.noti-icon .badge {
    font-size: 10px;
    font-weight: 600;
    padding: 0.25em 0.5em;
}

/* === Dropdown === */
.dropdown-menu {
    box-shadow: var(--pj-shadow-lg);
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-md);
    padding: 0.4rem 0;
    font-size: 0.875rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    color: var(--pj-text);
    transition: background-color 0.12s ease, color 0.12s ease;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: var(--pj-primary-soft);
        color: var(--pj-primary);
    }

    .dropdown-item.text-danger:hover,
    .dropdown-item.text-danger:focus {
        background-color: var(--pj-danger-soft);
        color: var(--pj-danger) !important;
    }

.dropdown-divider {
    border-top: 1px solid var(--pj-border);
    margin: 0.4rem 0;
}

/* ============================================
   SIDEBAR (menu lateral)
   ============================================ */

.vertical-menu {
    background: var(--pj-sidebar-bg) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#sidebar-menu {
    padding: 1.25rem 0;
}

    #sidebar-menu ul li a {
        color: var(--pj-sidebar-text) !important;
        font-size: 13.5px !important;
        font-weight: 500;
        padding: 0.7rem 1.5rem;
        transition: background-color 0.15s ease, color 0.15s ease;
        border-left: 3px solid transparent;
    }

        #sidebar-menu ul li a i {
            color: var(--pj-sidebar-text-dim) !important;
            font-size: 1.15rem !important;
            transition: color 0.15s ease;
            min-width: 1.75rem;
        }

        #sidebar-menu ul li a:hover {
            color: #fff !important;
            background: var(--pj-sidebar-hover-bg) !important;
        }

            #sidebar-menu ul li a:hover i {
                color: var(--pj-accent) !important;
            }

        #sidebar-menu ul li.mm-active > a,
        #sidebar-menu ul li a.active {
            color: #fff !important;
            background: var(--pj-sidebar-active-bg) !important;
            border-left-color: var(--pj-accent);
        }

            #sidebar-menu ul li.mm-active > a i,
            #sidebar-menu ul li a.active i {
                color: var(--pj-accent) !important;
            }

    /* Submenu */
    #sidebar-menu ul li ul.sub-menu {
        padding: 0.25rem 0;
        background: rgba(0, 0, 0, 0.18);
    }

        #sidebar-menu ul li ul.sub-menu li a {
            padding: 0.45rem 1.5rem 0.45rem 3.5rem !important;
            font-size: 12.5px !important;
            color: var(--pj-sidebar-text-dim) !important;
            border-left: 3px solid transparent;
            background: transparent !important;
        }

            #sidebar-menu ul li ul.sub-menu li a:hover {
                color: #fff !important;
                background: rgba(255, 255, 255, 0.04) !important;
            }

            #sidebar-menu ul li ul.sub-menu li a.active {
                color: #fff !important;
                border-left-color: var(--pj-accent);
            }

    #sidebar-menu ul li a.has-arrow::after {
        border-color: var(--pj-sidebar-text-dim);
    }

    #sidebar-menu ul li.mm-active > a.has-arrow::after {
        border-color: #fff;
    }

/* ============================================
   CONTEÚDO
   ============================================ */

.page-content {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    min-height: calc(100vh - 70px);
}

.container-fluid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: var(--pj-radius-md) !important;
    box-shadow: var(--pj-shadow-sm);
    background: #fff;
    margin-bottom: 1.25rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    animation: fadeInUp 0.4s ease-out both;
}

    .card:hover {
        box-shadow: var(--pj-shadow-md);
    }

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    color: var(--pj-text);
    margin-bottom: 1rem !important;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--pj-border);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

    .card-title::before {
        content: '';
        display: inline-block;
        width: 3px;
        height: 1.1em;
        background: var(--pj-accent);
        border-radius: 2px;
        flex-shrink: 0;
    }

/* Sobrescreve mb-5 herdado */
.card-body .card-title.mb-5 {
    margin-bottom: 1.25rem !important;
}

/* Card vazio (quando Visible="false" deixa card-body sem conteúdo) */
.card-body:empty::before {
    content: 'Sem dados no momento';
    display: block;
    text-align: center;
    color: var(--pj-text-muted);
    padding: 1.5rem 0;
    font-size: 0.875rem;
    opacity: 0.5;
    font-style: italic;
}

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

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

/* ============================================
   Timeline / Eventos
   ============================================ */

.verti-timeline {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.event-list {
    position: relative;
    padding: 0 0 1.25rem 2.25rem;
    border-left: 2px solid var(--pj-border);
    margin-left: 8px;
}

    .event-list:last-child {
        border-left-color: transparent;
        padding-bottom: 0;
    }

.event-timeline-dot {
    position: absolute;
    left: -11px;
    top: 0;
    z-index: 2;
}

    .event-timeline-dot i {
        background: var(--pj-primary);
        color: var(--pj-accent);
        border-radius: 50%;
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
    }

.event-list h5 {
    background: var(--pj-primary-soft);
    color: var(--pj-primary);
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.event-list a {
    color: var(--pj-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

    .event-list a:hover {
        color: var(--pj-primary);
    }

.event-list .flex-grow-1 {
    margin-top: 0.25rem;
    line-height: 1.55;
    color: var(--pj-text-muted);
    font-size: 0.875rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #fff !important;
    border-top: 1px solid var(--pj-border);
    color: var(--pj-text-muted) !important;
    font-size: 13px;
    padding: 18px 1.25rem;
}

    .footer a {
        color: var(--pj-primary);
        text-decoration: none;
        font-weight: 600;
    }

        .footer a:hover {
            text-decoration: underline;
        }

    .footer b {
        color: var(--pj-text);
        font-weight: 600;
    }

/* ============================================
   BADGES
   ============================================ */

.badge {
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.35em 0.7em;
    font-size: 0.7rem;
}

    .bg-warning,
    .badge.bg-warning {
        background-color: var(--pj-accent) !important;
        color: var(--pj-primary) !important;
    }

    /* Badges "soft" — versões claras usadas em status de tabelas */
    .badge-soft-success,
    .badge.badge-soft-success {
        background-color: var(--pj-success-soft);
        color: var(--pj-success);
        border: 1px solid #bbf7d0;
    }

    .badge-soft-danger,
    .badge.badge-soft-danger {
        background-color: var(--pj-danger-soft);
        color: var(--pj-danger);
        border: 1px solid #fecaca;
    }

    .badge-soft-warning,
    .badge.badge-soft-warning {
        background-color: #fffbeb;
        color: #b45309;
        border: 1px solid #fde68a;
    }

    .badge-soft-info,
    .badge.badge-soft-info {
        background-color: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
    }

    .badge-soft-primary,
    .badge.badge-soft-primary {
        background-color: var(--pj-primary-soft);
        color: var(--pj-primary);
        border: 1px solid #cbd5e1;
    }

    .badge-soft-secondary,
    .badge.badge-soft-secondary {
        background-color: #f8fafc;
        color: #475569;
        border: 1px solid var(--pj-border);
    }

/* Compat: badge-pill do BS3/4 */
.badge-pill {
    border-radius: 999px;
}

/* Compat: font-size-13 do template */
.font-size-13 {
    font-size: 0.8rem !important;
}

/* ============================================
   Loading / Spinner
   ============================================ */

#loading {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 9999;
}

.spinner {
    display: inline-flex;
    gap: 4px;
    align-items: flex-end;
    height: 40px;
    width: auto;
    margin: 0;
}

    .spinner > div {
        background-color: var(--pj-primary);
        height: 100%;
        width: 6px;
        border-radius: 3px;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out;
    }

    .spinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

    .spinner .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner .rect5 {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1.0);
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    border: 6px solid var(--pj-border);
    border-radius: 50%;
    border-top: 6px solid var(--pj-primary);
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.progress_template {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 800px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 10000 !important;
}

/* ============================================
   Classes legadas (paginação)
   ============================================ */

.pagina td {
    color: var(--pj-text-muted);
    background-color: #fff;
    border: 1px solid var(--pj-border);
    font-size: 14px;
}

.pagina a {
    padding: .5rem .75rem;
    color: var(--pj-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

    .pagina a:hover {
        color: var(--pj-primary);
    }

.pagina span {
    z-index: 3;
    padding: .35rem .85rem;
    color: #fff;
    background-color: var(--pj-primary);
    border-color: var(--pj-primary);
    border-radius: 6px;
}

td {
    font-size: 13px !important;
}

.textwhite {
    color: #fff !important;
}

/* ============================================
   HEADER DE PÁGINA (título + breadcrumb)
   Usado em todas as páginas internas
   ============================================ */

.page-title-box {
    padding: 0.5rem 0 1.5rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--pj-border);
    margin-bottom: 1.5rem;
}

    .page-title-box h4 {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        color: var(--pj-text);
        margin: 0;
        letter-spacing: -0.01em;
        display: flex;
        align-items: center;
        gap: 0.65rem;
    }

        .page-title-box h4::before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 1.2em;
            background: var(--pj-accent);
            border-radius: 2px;
            flex-shrink: 0;
        }

.page-title-right .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.8125rem;
}

.page-title-right .breadcrumb-item {
    color: var(--pj-text-muted);
}

    .page-title-right .breadcrumb-item a {
        color: var(--pj-text-muted);
        text-decoration: none;
        transition: color 0.15s ease;
    }

        .page-title-right .breadcrumb-item a:hover {
            color: var(--pj-primary);
        }

    .page-title-right .breadcrumb-item.active {
        color: var(--pj-primary);
        font-weight: 600;
    }

/* ============================================
   PANEL HEADING (wrapper de UpdateProgress)
   Não tem visual próprio — só pra não atrapalhar
   ============================================ */

.panel-heading {
    padding: 0;
    margin: 0;
}

/* ============================================
   AVATAR & UPLOAD DE FOTO
   ============================================ */

.profile-photo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--pj-border);
}

.profile-photo {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--pj-primary-soft);
    box-shadow: var(--pj-shadow-md);
    border: 3px solid #fff;
}

    .profile-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

.photo-upload-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--pj-primary-soft);
    color: var(--pj-primary);
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    overflow: hidden;
}

    .photo-upload-btn:hover {
        background: var(--pj-primary);
        color: #fff;
        border-color: var(--pj-primary);
    }

    .photo-upload-btn input[type="file"] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        font-size: 100px;
    }

    .photo-upload-btn i {
        font-size: 0.95rem;
    }

/* ============================================
   FORM HELPERS (label em cima do input)
   ============================================ */

.form-group-stacked {
    margin-bottom: 1.1rem;
}

    .form-group-stacked .form-label {
        display: block;
        margin-bottom: 0.4rem;
    }

/* Input lg do Bootstrap — alinhamos com nosso padrão */
.form-control-lg {
    min-height: 44px;
    font-size: 0.9375rem;
    padding: 0.6rem 0.9rem;
}

/* Linha de ação no rodapé do card (botão "Salvar") */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--pj-border);
}

    .form-actions .btn {
        min-width: 120px;
        min-height: 42px;
    }

/* Botões w-md do template (largura mínima) */
.btn.w-md {
    min-width: 110px;
}

/* Mensagem dentro do card (asp:Label que recebe MensagemErro do code-behind) */
.form-message {
    display: block;
    margin: 0.5rem 0 0;
}

    .form-message:empty {
        display: none;
        margin: 0;
    }

    /* IMPORTANTE: não forçamos cor aqui — quem define é a classe .alert-*
   injetada pelo método MensagemErro() do code-behind. Esse wrapper só
   garante margem/exibição corretas. */

    /* ============================================
   ALERTAS — Bootstrap 5 redesenhados
   Usados pelo método MensagemErro() do code-behind.
   Tipos: success, warning, danger, info, primary, secondary
   ============================================ */

    /* .panel-body é o wrapper externo do MensagemErro() — só remove paddings */
    .form-message .panel-body,
    .card-body > .panel-body {
        padding: 0;
        margin: 0;
    }

.alert {
    border-radius: var(--pj-radius-sm);
    border: 1px solid transparent;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    margin: 0 0 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
    position: relative;
    border-left-width: 3px;
    border-left-style: solid;
}

    .alert strong {
        font-weight: 700;
        margin-right: 0.15rem;
    }

    /* Ícone automático antes de cada alerta (pseudo-elemento) */
    .alert::before {
        font-family: 'boxicons' !important;
        font-style: normal;
        font-weight: 400;
        font-size: 1.15rem;
        line-height: 1.3;
        flex-shrink: 0;
    }

/* Sucesso */
.alert-success {
    background-color: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
    border-left-color: var(--pj-success);
}

    .alert-success::before {
        content: "\eb81";
    }
/* bx-check-circle */

/* Aviso */
.alert-warning {
    background-color: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
    border-left-color: #f59e0b;
}

    .alert-warning::before {
        content: "\ea05";
    }
/* bx-error (triângulo) */

/* Erro */
.alert-danger {
    background-color: var(--pj-danger-soft);
    color: #b91c1c;
    border-color: #fecaca;
    border-left-color: var(--pj-danger);
}

    .alert-danger::before {
        content: "\eb78";
    }
/* bx-x-circle */

/* Info */
.alert-info {
    background-color: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
    border-left-color: #3b82f6;
}

    .alert-info::before {
        content: "\eac7";
    }
/* bx-info-circle */

/* Primary (alerta neutro destacado) */
.alert-primary {
    background-color: var(--pj-primary-soft);
    color: var(--pj-primary);
    border-color: #cbd5e1;
    border-left-color: var(--pj-primary);
}

    .alert-primary::before {
        content: "\eac7";
    }
/* bx-info-circle */

/* Secondary (alerta neutro discreto) */
.alert-secondary {
    background-color: #f8fafc;
    color: #475569;
    border-color: var(--pj-border);
    border-left-color: #94a3b8;
}

    .alert-secondary::before {
        content: "\eb56";
    }
/* bx-bell */

/* Cards com altura igual quando lado a lado */
.row.equal-height > [class*="col-"] {
    display: flex;
}

    .row.equal-height > [class*="col-"] > .card {
        flex: 1;
    }

/* ============================================
   HEADER DE LISTAGEM (ações no topo do card)
   Padrão: botão "<< voltar" ou "Cadastrar +"
   ============================================ */

.list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--pj-border);
}

.list-toolbar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pj-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
}

    .list-toolbar-title::before {
        content: '';
        display: inline-block;
        width: 3px;
        height: 1.1em;
        background: var(--pj-accent);
        border-radius: 2px;
        flex-shrink: 0;
    }

.list-toolbar-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Botão "Voltar" / botões secundários */
.btn-back {
    background: var(--pj-primary-soft);
    border: 1px solid var(--pj-border);
    color: var(--pj-text);
}

    .btn-back:hover {
        background: #fff;
        border-color: var(--pj-primary);
        color: var(--pj-primary);
    }

    /* Botão de ação primária com ícone (ex: "Cadastrar +") */
    .btn-primary i,
    .btn-back i {
        margin-right: 0.35rem;
        font-size: 1.05em;
        vertical-align: -2px;
    }

/* ============================================
   TABELAS MODERNAS (GridView estilizado)
   ============================================ */

.table-responsive {
    border-radius: var(--pj-radius-sm);
    overflow: hidden;
    border: 1px solid var(--pj-border);
}

.table {
    margin-bottom: 0;
    color: var(--pj-text);
    --bs-table-bg: transparent;
    width: 100%;
}

    .table thead th {
        background: var(--pj-primary-soft);
        color: var(--pj-text);
        font-weight: 600;
        font-size: 0.75rem !important;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        padding: 0.85rem 1rem;
        border-bottom: 1px solid var(--pj-border);
        border-top: 0;
        white-space: nowrap;
    }

    .table tbody td {
        padding: 0.85rem 1rem;
        font-size: 0.875rem !important;
        color: var(--pj-text);
        border-color: var(--pj-border);
        vertical-align: middle;
        background: #fff;
    }

    .table tbody tr {
        transition: background-color 0.12s ease;
    }

        .table tbody tr:hover td {
            background-color: var(--pj-primary-soft);
        }

        .table tbody tr:last-child td {
            border-bottom: 0;
        }

/* Striped sutil (override do BS padrão) */
.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: #fafbfc;
}

.table-striped > tbody > tr:hover > td {
    background-color: var(--pj-primary-soft) !important;
}

/* Coluna de ações (botões/ícones na última coluna) */
.table td.actions-cell,
.table th.actions-cell,
.table tbody td:last-child,
.table thead th:last-child {
    text-align: right;
    width: 1%;
    white-space: nowrap;
}

/* ============================================
   BOTÕES DE AÇÃO ICÔNICOS (Editar / Excluir)
   ============================================ */

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--pj-radius-sm);
    border: 1px solid var(--pj-border);
    background: #fff;
    color: var(--pj-text-muted);
    font-size: 1rem;
    line-height: 1;
    transition: all 0.15s ease;
    text-decoration: none !important;
    margin: 0 2px;
}

    .btn-icon:hover {
        background: var(--pj-primary-soft);
        color: var(--pj-primary);
        border-color: var(--pj-primary);
        transform: translateY(-1px);
        box-shadow: var(--pj-shadow-sm);
    }

    .btn-icon.btn-icon-edit:hover {
        color: var(--pj-primary);
        border-color: var(--pj-primary);
        background: var(--pj-primary-soft);
    }

    .btn-icon.btn-icon-delete:hover {
        color: var(--pj-danger);
        border-color: var(--pj-danger);
        background: var(--pj-danger-soft);
    }

    .btn-icon.btn-icon-paid:hover {
        color: var(--pj-success);
        border-color: var(--pj-success);
        background: var(--pj-success-soft);
    }

    .btn-icon i {
        font-size: 1rem;
    }

/* ============================================
   ESTADO VAZIO (tabela sem registros)
   ============================================ */

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--pj-text-muted);
}

    .empty-state i {
        font-size: 3rem;
        color: var(--pj-border);
        margin-bottom: 1rem;
        display: block;
    }

    .empty-state h5 {
        color: var(--pj-text);
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .empty-state p {
        font-size: 0.875rem;
        margin: 0;
    }

/* ============================================
   VALIDATORS (ASP.NET RequiredFieldValidator etc)
   ============================================ */

.form-group-stacked span[style*="color:Red"],
.form-group-stacked span[style*="color: Red"],
span[style*="color:Red"][id*="Validator"],
span[style*="color: Red"][id*="Validator"] {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--pj-danger) !important;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    background: var(--pj-danger-soft);
    border-radius: 4px;
    border-left: 2px solid var(--pj-danger);
}

/* ============================================
   TEXTAREA (TextMode="MultiLine")
   ============================================ */

textarea.form-control,
.form-control[rows] {
    min-height: 100px;
    padding: 0.65rem 0.875rem;
    line-height: 1.5;
    resize: vertical;
}

/* ============================================
   RADIO BUTTONS & CHECKBOXES
   Estilo moderno mantendo os controles ASP.NET
   ============================================ */

/* ASP.NET RadioButton renderiza como <span><input type="radio"/><label/></span> */
.form-radio-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

    .form-radio-group > span,
    .form-radio-group .form-check-inline {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.5rem 1rem;
        border: 1px solid var(--pj-border);
        border-radius: var(--pj-radius-sm);
        background: #fff;
        cursor: pointer;
        transition: all 0.15s ease;
        font-size: 0.875rem;
        color: var(--pj-text);
        font-weight: 500;
    }

        .form-radio-group > span:hover,
        .form-radio-group .form-check-inline:hover {
            border-color: var(--pj-primary);
            background: var(--pj-primary-soft);
        }

    .form-radio-group input[type="radio"],
    .form-radio-group input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin: 0;
        accent-color: var(--pj-primary);
        cursor: pointer;
    }

    .form-radio-group label {
        margin: 0;
        cursor: pointer;
        user-select: none;
        color: inherit;
        font-weight: inherit;
    }

    /* Quando o radio/checkbox está checado, destaca o "card" inteiro */
    .form-radio-group > span:has(input:checked),
    .form-radio-group .form-check-inline:has(input:checked) {
        border-color: var(--pj-primary);
        background: var(--pj-primary);
        color: #fff;
    }

        .form-radio-group > span:has(input:checked) input[type="radio"],
        .form-radio-group > span:has(input:checked) input[type="checkbox"] {
            accent-color: var(--pj-accent);
        }

/* Form check do Bootstrap (uso simples também) */
.form-check {
    padding-left: 1.5em;
}

.form-check-input {
    accent-color: var(--pj-primary);
}

    .form-check-input:checked {
        background-color: var(--pj-primary);
        border-color: var(--pj-primary);
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 3px rgba(242, 200, 48, 0.2);
        border-color: var(--pj-accent);
    }

/* ============================================
   SEÇÕES DE FORMULÁRIO (forms longos com várias áreas)
   Substitui o uso de <h5> + <hr /> espalhados
   ============================================ */

.form-section {
    margin-bottom: 1.75rem;
    padding-top: 0.5rem;
}

    .form-section + .form-section {
        border-top: 1px dashed var(--pj-border);
        padding-top: 1.5rem;
    }

.form-section-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--pj-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .form-section-title::before {
        content: '';
        display: inline-block;
        width: 18px;
        height: 2px;
        background: var(--pj-accent);
        flex-shrink: 0;
    }

/* HR usado pra dividir seções dentro de um card (legado) */
.card-body hr {
    border: 0;
    border-top: 1px dashed var(--pj-border);
    margin: 1.5rem 0;
    opacity: 1;
}

/* h5 solto dentro de form (legado dos templates) — vira título de seção */
.card-body > .row > h5,
.card-body .row > h5:first-child {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--pj-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem;
    padding: 0;
    width: 100%;
}

/* ============================================
   BOTÕES — variações de tamanho
   ============================================ */

.btn-xs,
.btn-xxs {
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    min-height: 32px;
    border-radius: 6px;
}

/* Botão escuro (variante do btn-back) */
.btn-dark {
    background-color: var(--pj-primary);
    border-color: var(--pj-primary);
    color: #fff;
}

    .btn-dark:hover, .btn-dark:focus {
        background-color: var(--pj-primary-hover);
        border-color: var(--pj-primary-hover);
        color: #fff;
    }

/* ============================================
   DATALIST (lista de itens com checkbox + valor)
   ============================================ */

.benefit-list .row {
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--pj-border);
    margin: 0;
}

    .benefit-list .row:last-child {
        border-bottom: 0;
    }

.benefit-list .form-check {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.benefit-list .form-check-label {
    font-weight: 500;
    color: var(--pj-text);
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 991.98px) {
    .navbar-brand-box {
        width: auto !important;
        padding: 0 1rem !important;
    }

    .vertical-menu {
        display: none;
    }

    body.sidebar-enable .vertical-menu {
        display: block;
    }

    .main-content {
        margin-left: 0 !important;
    }

    .footer {
        left: 0 !important;
    }

    #page-topbar {
        left: 0 !important;
    }

    .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 575px) {
    .auth-card {
        padding: 2rem 1.5rem;
        border-radius: var(--pj-radius-md);
    }

    .auth-logo {
        max-width: 180px;
    }

    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .card-body {
        padding: 1.1rem;
    }

    .card-title {
        font-size: 1rem !important;
    }

    .page-title-box {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

        .page-title-box h4 {
            font-size: 1.25rem !important;
        }

    .profile-photo {
        width: 110px;
        height: 110px;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

        .form-actions .btn {
            width: 100%;
        }

    .list-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .list-toolbar-actions {
        width: 100%;
    }

        .list-toolbar-actions .btn {
            flex: 1;
        }

    .table thead th,
    .table tbody td {
        padding: 0.7rem 0.65rem;
        font-size: 0.8125rem !important;
    }

    .btn-icon {
        width: 30px;
        height: 30px;
    }
}



.document-heading {
    display: block;
    margin: 0 0 1rem;
}

    .document-heading:empty {
        display: none;
    }

    .document-heading .card-title {
        margin-bottom: 0.75rem !important;
    }

.upload-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border: 1px dashed var(--pj-border);
    border-radius: var(--pj-radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

    .upload-card:hover,
    .upload-card:focus-within {
        border-color: var(--pj-accent);
        box-shadow: var(--pj-shadow-sm);
        background: #fff;
    }

.upload-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--pj-primary-soft);
    color: var(--pj-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .upload-card-icon i {
        font-size: 1.55rem;
    }

.upload-card-content {
    flex: 1;
    min-width: 0;
}

.upload-card-description {
    margin: 0 0 0.75rem;
    color: var(--pj-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.upload-card .form-text {
    display: block;
    margin-top: 0.5rem;
    color: var(--pj-text-muted) !important;
    font-size: 0.78rem;
}

.documents-table-wrap {
    overflow-x: auto;
}

.documents-table td:nth-child(2),
.documents-table td:nth-child(3),
.documents-table td:nth-child(4),
.documents-table th:nth-child(2),
.documents-table th:nth-child(3),
.documents-table th:nth-child(4) {
    text-align: center;
    white-space: nowrap;
}

.document-actions {
    min-width: 148px;
}

.document-action-host {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

    .document-action-host a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0 !important;
        margin: 0 2px;
        border-radius: var(--pj-radius-sm);
        border: 1px solid var(--pj-border);
        background: #fff;
        color: var(--pj-text-muted);
        text-decoration: none !important;
        transition: all 0.15s ease;
    }

        .document-action-host a:hover {
            background: var(--pj-primary-soft);
            color: var(--pj-primary);
            border-color: var(--pj-primary);
            transform: translateY(-1px);
            box-shadow: var(--pj-shadow-sm);
        }

        .document-action-host a[title*="APROVAR"] {
            color: var(--pj-success);
        }

            .document-action-host a[title*="APROVAR"]:hover {
                border-color: var(--pj-success);
                background: var(--pj-success-soft);
                color: var(--pj-success);
            }

        .document-action-host a[title*="REPROVAR"],
        .document-action-host a[title*="EXCLUIR"] {
            color: var(--pj-danger);
        }

            .document-action-host a[title*="REPROVAR"]:hover,
            .document-action-host a[title*="EXCLUIR"]:hover {
                border-color: var(--pj-danger);
                background: var(--pj-danger-soft);
                color: var(--pj-danger);
            }

        .document-action-host a[title*="CARREGAR"] {
            color: #b45309;
        }

            .document-action-host a[title*="CARREGAR"]:hover {
                border-color: #f59e0b;
                background: #fffbeb;
                color: #b45309;
            }

        .document-action-host a i {
            font-size: 1rem !important;
            line-height: 1;
            color: inherit !important;
        }

@media (max-width: 575px) {
    .upload-card {
        flex-direction: column;
        padding: 1rem;
    }

    .upload-card-icon {
        width: 42px;
        height: 42px;
    }

    .document-actions {
        min-width: 120px;
    }
}


.document-heading h4,
.document-heading .card-title {
    margin-top: 0.25rem;
    margin-bottom: 1rem !important;
}

.upload-card,
.saved-file-card {
    display: flex;
    gap: 1rem;
    height: 100%;
    padding: 1.25rem;
    border: 1px dashed var(--pj-border);
    border-radius: var(--pj-radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.upload-card-icon,
.saved-file-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pj-primary-soft);
    color: var(--pj-primary);
    border: 1px solid var(--pj-border);
}

    .upload-card-icon i,
    .saved-file-card-icon i {
        font-size: 1.65rem;
    }

.upload-card-content,
.saved-file-card-content {
    flex: 1;
    min-width: 0;
}

.upload-card-description {
    margin: 0 0 0.75rem;
    color: var(--pj-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.saved-file-card {
    border-style: solid;
}

.saved-file-card-title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--pj-text);
    margin-bottom: 0.5rem;
}

.saved-file-card-empty {
    margin: 0;
    color: var(--pj-text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.saved-file-link:not(:empty) + .saved-file-card-empty {
    display: none;
}

.saved-file-link h5 {
    display: none;
}

.saved-file-link a,
.formation-table td a[href],
.formation-action-host a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--pj-radius-sm);
    border: 1px solid var(--pj-border);
    background: #fff;
    color: var(--pj-text-muted);
    font-size: 1rem;
    line-height: 1;
    transition: all 0.15s ease;
    text-decoration: none !important;
    margin: 0 2px;
}

    .saved-file-link a:hover,
    .formation-table td a[href]:hover,
    .formation-action-host a:hover {
        background: var(--pj-primary-soft);
        color: var(--pj-primary);
        border-color: var(--pj-primary);
        transform: translateY(-1px);
        box-shadow: var(--pj-shadow-sm);
    }

.formation-actions {
    min-width: 86px;
}

.formation-action-host {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .formation-action-host + .formation-action-host {
        margin-left: 0.25rem;
    }

    .formation-action-host a[title*="EXCLUIR"]:hover {
        color: var(--pj-danger);
        border-color: var(--pj-danger);
        background: var(--pj-danger-soft);
    }

.formation-table td:nth-child(7),
.formation-table th:nth-child(7) {
    text-align: center;
    width: 1%;
    white-space: nowrap;
}

.input-group-lg > .form-control,
.input-group-lg > .input-group-text {
    min-height: 44px;
    font-size: 0.9375rem;
    border-color: var(--pj-border);
}

.input-group-text {
    background: var(--pj-primary-soft);
    color: var(--pj-text-muted);
    font-weight: 600;
}

@media (max-width: 575px) {
    .upload-card,
    .saved-file-card {
        flex-direction: column;
        padding: 1rem;
    }
}

/* RadioButtonList ASP.NET renderiza como tabela. Este ajuste deixa o controle com cara de pill/cards. */
.nota-radio-group table {
    width: auto;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0.5rem 0;
}

.nota-radio-group td {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.nota-radio-group input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0 0.35rem 0 0;
    accent-color: var(--pj-primary);
    vertical-align: middle;
}

.nota-radio-group label {
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--pj-text);
    vertical-align: middle;
}

.nota-radio-group td {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.9rem !important;
    border: 1px solid var(--pj-border) !important;
    border-radius: var(--pj-radius-sm);
    background: #fff !important;
    transition: all 0.15s ease;
}

    .nota-radio-group td:hover {
        border-color: var(--pj-primary) !important;
        background: var(--pj-primary-soft) !important;
    }

/* Card de upload */
.upload-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
    padding: 1.15rem;
    border: 1px dashed #cbd5e1;
    border-radius: var(--pj-radius-md);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

    .upload-card:hover {
        border-color: var(--pj-primary);
        box-shadow: var(--pj-shadow-sm);
        background: #fcfdff;
    }

.upload-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--pj-radius-sm);
    background: var(--pj-primary-soft);
    color: var(--pj-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .upload-card-icon i {
        font-size: 1.55rem;
    }

.upload-card-content {
    flex: 1;
    min-width: 0;
}

.upload-card-text {
    margin: 0 0 0.75rem;
    color: var(--pj-text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* Card de arquivo salvo */
.saved-file-card {
    height: 100%;
    padding: 1.15rem;
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-md);
    background: var(--pj-primary-soft);
}

.saved-file-card-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--pj-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

    .saved-file-card-title i {
        color: var(--pj-primary);
        font-size: 1rem;
    }

.saved-file-content {
    display: block;
    margin-bottom: 0.5rem;
}

    .saved-file-content:not(:empty) + .saved-file-empty {
        display: none;
    }

.saved-file-empty {
    margin: 0;
    color: var(--pj-text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* Ícones gerados no code-behind dentro das colunas Arquivo/Ações */
.table-notas td a {
    text-decoration: none !important;
}

    .table-notas td a i,
    .table-notas .actions-cell a i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: var(--pj-radius-sm);
        border: 1px solid var(--pj-border);
        background: #fff;
        color: var(--pj-text-muted);
        font-size: 1rem !important;
        transition: all 0.15s ease;
    }

    .table-notas td a:hover i,
    .table-notas .actions-cell a:hover i {
        color: var(--pj-primary);
        border-color: var(--pj-primary);
        background: var(--pj-primary-soft);
        transform: translateY(-1px);
        box-shadow: var(--pj-shadow-sm);
    }

.table-notas .fa-arrow-circle-up {
    color: var(--pj-success) !important;
}

.table-notas .fa-file-download {
    color: var(--pj-primary) !important;
}

.table-notas .fa-pen {
    color: var(--pj-text-muted) !important;
}

/* Descrição pode ser longa; limita para não destruir a tabela */
.table-notas tbody td:nth-child(3) {
    max-width: 420px;
    white-space: normal;
    line-height: 1.45;
}

/* Responsivo */
@media (max-width: 575px) {
    .upload-card {
        flex-direction: column;
    }

    .nota-radio-group table,
    .nota-radio-group tbody,
    .nota-radio-group tr {
        display: block;
        width: 100%;
    }

    .nota-radio-group td {
        display: flex;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.recesso-info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-md);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--pj-shadow-sm);
}

.recesso-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--pj-primary);
    color: var(--pj-accent);
    box-shadow: var(--pj-shadow-sm);
}

    .recesso-info-icon i {
        font-size: 1.45rem;
        line-height: 1;
    }

.recesso-info-content {
    flex: 1;
    min-width: 0;
}

.recesso-info-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pj-text-muted);
}

.recesso-info-content h6 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--pj-text);
}

.recesso-info-content p {
    margin: 0;
    max-width: 760px;
    color: var(--pj-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.recesso-current-info {
    display: block;
    margin-top: 0.85rem;
}

    .recesso-current-info:empty {
        display: none;
    }

.recesso-table .table tbody td:nth-child(3) {
    font-weight: 700;
    color: var(--pj-primary);
}

    .recesso-table .table tbody td:nth-child(3)::after {
        content: ' dias';
        font-weight: 500;
        color: var(--pj-text-muted);
    }

.recesso-table .actions-cell a,
.recesso-table .table tbody td:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--pj-radius-sm);
    border: 1px solid var(--pj-border);
    background: #fff;
    color: var(--pj-text-muted);
    text-decoration: none !important;
    margin-left: 0.25rem;
    transition: all 0.15s ease;
}

    .recesso-table .actions-cell a:hover,
    .recesso-table .table tbody td:last-child a:hover {
        color: var(--pj-danger);
        border-color: var(--pj-danger);
        background: var(--pj-danger-soft);
        transform: translateY(-1px);
        box-shadow: var(--pj-shadow-sm);
    }

    .recesso-table .actions-cell a i,
    .recesso-table .table tbody td:last-child a i {
        font-size: 1rem !important;
    }

@media (max-width: 575px) {
    .recesso-info-card {
        flex-direction: column;
        padding: 1rem;
    }

    .recesso-info-icon {
        width: 42px;
        height: 42px;
    }
}

.prestador-view-shell {
    overflow: hidden;
}

.prestador-view-title {
    display: block;
    margin-top: 0.35rem;
    color: var(--pj-text-muted);
    font-size: 0.875rem;
}

    .prestador-view-title:empty {
        display: none;
    }

.prestador-profile-container {
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-md);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--pj-shadow-sm);
}

.prestador-profile-sidebar {
    min-height: 100%;
    background: linear-gradient(180deg, var(--pj-primary) 0%, var(--pj-primary-hover) 100%);
    color: #fff;
    padding: 2rem 1.35rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .prestador-profile-sidebar::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 10%, rgba(242, 200, 48, 0.22), transparent 32%), radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.08), transparent 36%);
        pointer-events: none;
    }

.prestador-photo-wrap,
.prestador-header-info {
    position: relative;
    z-index: 1;
}

.prestador-photo-wrap {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    border: 4px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .prestador-photo-wrap img,
    .prestador-photo-wrap .img-fluid {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

    .prestador-photo-wrap:empty::before {
        content: '\ebbb';
        font-family: 'boxicons' !important;
        font-size: 4rem;
        color: rgba(255, 255, 255, 0.72);
    }

.prestador-header-info h1,
.prestador-header-info h2,
.prestador-header-info h3,
.prestador-header-info h4,
.prestador-header-info h5 {
    color: #fff !important;
    font-weight: 700;
    margin-bottom: 0.65rem;
    line-height: 1.2;
}

.prestador-header-info p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    line-height: 1.45;
}

.prestador-profile-content {
    padding: 1.5rem;
}

.prestador-info-section {
    padding-bottom: 1.35rem;
    margin-bottom: 1.35rem;
    border-bottom: 1px dashed var(--pj-border);
}

    .prestador-info-section:last-child {
        border-bottom: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.prestador-section-heading {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: var(--pj-text);
    font-weight: 700;
    font-size: 0.95rem;
}

    .prestador-section-heading i {
        width: 32px;
        height: 32px;
        border-radius: var(--pj-radius-sm);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--pj-primary-soft);
        color: var(--pj-primary);
        font-size: 1.1rem;
    }

.prestador-data-card {
    min-height: 82px;
    padding: 0.9rem 1rem;
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-sm);
    background: #fff;
    margin-bottom: 0.85rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

    .prestador-data-card:hover {
        border-color: #cbd5e1;
        box-shadow: var(--pj-shadow-sm);
        transform: translateY(-1px);
    }

.prestador-data-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--pj-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.prestador-data-card p {
    margin: 0;
    color: var(--pj-text);
    font-size: 0.9rem;
    line-height: 1.45;
    word-break: break-word;
}

    .prestador-data-card p:empty::before {
        content: 'Não informado';
        color: var(--pj-text-muted);
        font-style: italic;
    }

/* Compatibilidade com HTML antigo eventualmente injetado no lblHeader/lblImagem */
.curriculo-container,
.left-section,
.right-section,
.section-title,
.section-content,
.section,
.data-group {
    all: unset;
}

/* Impressão */
@media print {
    body {
        background: #fff !important;
    }

    .no-print,
    #page-topbar,
    .vertical-menu,
    .footer {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
    }

    .page-content {
        padding: 0 !important;
        background: #fff !important;
    }

    .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .card {
        border: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
    }

    .card-body {
        padding: 0 !important;
    }

    .prestador-profile-container {
        border: 1px solid #d1d5db !important;
        box-shadow: none !important;
        border-radius: 8px !important;
    }

    .prestador-profile-sidebar {
        background: #0f172a !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .prestador-data-card {
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .prestador-info-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

@media (max-width: 991.98px) {
    .prestador-profile-sidebar {
        min-height: auto;
        border-radius: 0;
    }

    .prestador-profile-content {
        padding: 1.25rem;
    }
}

@media (max-width: 575px) {
    .prestador-photo-wrap {
        width: 118px;
        height: 118px;
    }

    .prestador-profile-sidebar {
        padding: 1.5rem 1rem;
    }

    .prestador-profile-content {
        padding: 1rem;
    }

    .prestador-data-card {
        min-height: auto;
    }
}

.tipo-documento-title {
    display: block;
    margin-top: 0.35rem;
    color: var(--pj-text-muted);
    font-size: 0.875rem;
}

    .tipo-documento-title:empty {
        display: none;
    }

.form-text {
    display: block;
    margin-top: 0.35rem;
    color: var(--pj-text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

/* Card moderno para o checkbox obrigatório */
.tipo-documento-check-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-sm);
    background: #fff;
    margin-bottom: 1.1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

    .tipo-documento-check-card:hover {
        border-color: #cbd5e1;
        box-shadow: var(--pj-shadow-sm);
        transform: translateY(-1px);
    }

.tipo-documento-check-input {
    width: 38px;
    height: 38px;
    border-radius: var(--pj-radius-sm);
    background: var(--pj-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .tipo-documento-check-input input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--pj-primary);
        cursor: pointer;
    }

.tipo-documento-check-content .form-label {
    margin-bottom: 0.25rem;
    cursor: pointer;
}

.tipo-documento-check-content p {
    margin: 0;
    color: var(--pj-text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

/* Ações geradas dinamicamente pelo RowDataBound */
.table td.actions-cell a,
.table tbody td:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--pj-radius-sm);
    border: 1px solid var(--pj-border);
    background: #fff;
    color: var(--pj-text-muted);
    font-size: 1rem;
    line-height: 1;
    transition: all 0.15s ease;
    text-decoration: none !important;
    margin: 0 2px;
}

    .table td.actions-cell a:hover,
    .table tbody td:last-child a:hover {
        background: var(--pj-primary-soft);
        color: var(--pj-primary);
        border-color: var(--pj-primary);
        transform: translateY(-1px);
        box-shadow: var(--pj-shadow-sm);
    }

    .table td.actions-cell a[title*="EXCLUIR"]:hover,
    .table tbody td:last-child a[title*="EXCLUIR"]:hover,
    .table td.actions-cell a[title*="excluir"]:hover,
    .table tbody td:last-child a[title*="excluir"]:hover {
        color: var(--pj-danger);
        border-color: var(--pj-danger);
        background: var(--pj-danger-soft);
    }

    .table td.actions-cell a i,
    .table tbody td:last-child a i {
        font-size: 1rem !important;
    }

@media (max-width: 575px) {
    .tipo-documento-check-card {
        padding: 0.85rem;
    }
}

.usuario-title {
    display: block;
    margin-top: 0.35rem;
    color: var(--pj-text-muted);
    font-size: 0.875rem;
}

    .usuario-title:empty {
        display: none;
    }

.form-text {
    display: block;
    margin-top: 0.35rem;
    color: var(--pj-text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.usuario-info-card {
    height: calc(100% - 1.1rem);
    min-height: 84px;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-sm);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    margin-bottom: 1.1rem;
}

.usuario-info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--pj-radius-sm);
    background: var(--pj-primary-soft);
    color: var(--pj-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .usuario-info-icon i {
        font-size: 1.35rem;
    }

.usuario-info-card strong {
    display: block;
    color: var(--pj-text);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.usuario-info-card p {
    margin: 0;
    color: var(--pj-text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.usuario-upload-card,
.usuario-preview-card {
    height: 100%;
    min-height: 150px;
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-sm);
    background: #fff;
    padding: 1rem;
    margin-bottom: 1.1rem;
}

.usuario-upload-card {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.usuario-upload-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--pj-radius-sm);
    background: var(--pj-primary-soft);
    color: var(--pj-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .usuario-upload-icon i {
        font-size: 1.45rem;
    }

.usuario-upload-content {
    flex: 1;
    min-width: 0;
}

    .usuario-upload-content p {
        color: var(--pj-text-muted);
        font-size: 0.82rem;
        line-height: 1.45;
        margin-bottom: 0.85rem;
    }

.usuario-preview-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--pj-text-muted);
    background: radial-gradient(circle at 100% 0%, rgba(242, 200, 48, 0.12), transparent 34%), #fff;
}

.usuario-preview-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--pj-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.usuario-preview-card img,
.usuario-preview-card .img-fluid {
    max-width: 110px;
    max-height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--pj-shadow-md);
}

/* Ações geradas dinamicamente pelo RowDataBound */
.table td.actions-cell a,
.table tbody td:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--pj-radius-sm);
    border: 1px solid var(--pj-border);
    background: #fff;
    color: var(--pj-text-muted);
    font-size: 1rem;
    line-height: 1;
    transition: all 0.15s ease;
    text-decoration: none !important;
    margin: 0 2px;
}

    .table td.actions-cell a:hover,
    .table tbody td:last-child a:hover {
        background: var(--pj-primary-soft);
        color: var(--pj-primary);
        border-color: var(--pj-primary);
        transform: translateY(-1px);
        box-shadow: var(--pj-shadow-sm);
    }

    .table td.actions-cell a[title*="EXCLUIR"]:hover,
    .table tbody td:last-child a[title*="EXCLUIR"]:hover,
    .table td.actions-cell a[title*="excluir"]:hover,
    .table tbody td:last-child a[title*="excluir"]:hover {
        color: var(--pj-danger);
        border-color: var(--pj-danger);
        background: var(--pj-danger-soft);
    }

    .table td.actions-cell a i,
    .table tbody td:last-child a i {
        font-size: 1rem !important;
    }

@media (max-width: 575px) {
    .usuario-upload-card {
        flex-direction: column;
    }

    .usuario-info-card {
        min-height: auto;
    }
}

.rel-bancarios-card .card-body {
    position: relative;
}

.rel-bancarios-subtitle {
    margin: 0.35rem 0 0;
    color: var(--pj-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.rel-filter-panel {
    padding: 1rem;
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-md);
    background: radial-gradient(circle at 100% 0%, rgba(242, 200, 48, 0.12), transparent 32%), linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    margin-bottom: 1.25rem;
}

.rel-filter-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-bottom: 1.1rem;
}

.btn-excel {
    background: var(--pj-success-soft);
    border: 1px solid #bbf7d0;
    color: var(--pj-success);
    font-weight: 700;
}

    .btn-excel:hover,
    .btn-excel:focus {
        background: var(--pj-success);
        border-color: var(--pj-success);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: var(--pj-shadow-sm);
    }

    .btn-excel i {
        margin-right: 0.35rem;
        font-size: 1.05rem;
        vertical-align: -2px;
    }

.rel-bancarios-table .table thead th {
    vertical-align: middle;
}

.rel-bancarios-table .table tbody td {
    white-space: nowrap;
}

    .rel-bancarios-table .table tbody td:first-child {
        min-width: 220px;
        white-space: normal;
        font-weight: 600;
    }

    .rel-bancarios-table .table tbody td:nth-child(4) {
        font-weight: 600;
    }

    .rel-bancarios-table .table tbody td:nth-child(9) {
        max-width: 260px;
        overflow-wrap: anywhere;
        white-space: normal;
    }

@media (max-width: 991.98px) {
    .rel-filter-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .rel-filter-panel {
        padding: 0.85rem;
    }

    .rel-filter-actions .btn {
        width: 100%;
    }

    .btn-excel {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================
   PaguePJ — Complemento Relatórios Líquido / Prestador
   ============================================ */

.rel-report-subtitle {
    margin: 0.35rem 0 0;
    color: var(--pj-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.rel-filter-panel {
    padding: 1rem;
    border: 1px solid var(--pj-border);
    border-radius: var(--pj-radius-md);
    background: radial-gradient(circle at 100% 0%, rgba(242, 200, 48, 0.12), transparent 32%), linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    margin-bottom: 1.25rem;
}

.rel-filter-panel-liquid {
    max-width: 100%;
}

.rel-filter-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-bottom: 1.1rem;
}

.form-text {
    display: block;
    margin-top: 0.35rem;
    color: var(--pj-text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.btn-excel {
    background: var(--pj-success-soft);
    border: 1px solid #bbf7d0;
    color: var(--pj-success);
    font-weight: 700;
}

    .btn-excel:hover,
    .btn-excel:focus {
        background: var(--pj-success);
        border-color: var(--pj-success);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: var(--pj-shadow-sm);
    }

    .btn-excel i {
        margin-right: 0.35rem;
        font-size: 1.05rem;
        vertical-align: -2px;
    }

.rel-report-table .table thead th {
    vertical-align: middle;
}

.rel-report-table .table tbody td {
    white-space: nowrap;
}

    .rel-report-table .table tbody td:first-child {
        min-width: 220px;
        white-space: normal;
        font-weight: 600;
    }

    .rel-report-table .table tbody td:nth-child(4) {
        font-weight: 600;
    }

.rel-liquido-table .table tbody td:nth-child(5),
.rel-liquido-table .table tbody td:nth-child(6),
.rel-liquido-table .table tbody td:nth-child(7) {
    font-weight: 700;
}

.rel-liquido-table .table tbody td:nth-child(7) {
    color: var(--pj-success);
}

.rel-liquido-table .table tbody td:nth-child(12) {
    max-width: 260px;
    overflow-wrap: anywhere;
    white-space: normal;
}

.rel-prestador-table .table tbody td:nth-child(7) {
    min-width: 180px;
    white-space: normal;
}

@media (max-width: 991.98px) {
    .rel-filter-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .rel-filter-panel {
        padding: 0.85rem;
    }

    .rel-filter-actions .btn {
        width: 100%;
    }

    .btn-excel {
        width: 100%;
        justify-content: center;
    }
}
