.option-card-hover {
    transition: all 0.3s ease;
}
.option-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.corporate-card {
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid #0e26ae;
    height: 380px;
}

.card-header-bar {
    height: 10px;
    background: #d4a017;
}

.brand-logo {
    width: 150px;
    margin: 10px auto 15px;
}

.qr-box {
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    margin: 0 auto;
    width: fit-content;
    border: 2px solid #1f2756;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#qrcode img,
#qrcode canvas {
    display: block;
    margin: 0 auto;
    height: 150px;
}

.info-box {
    background: #1f2756;
    border-radius: 10px;
    margin-top: 18px;
    color: white;
    text-align: center;
}

.info-text {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.corporate-btn-close {
    width: 100%;
    padding: 7px;
    border-radius: 10px;
    border: #131a3b;
    font-weight: 600;
    transition: 0.2s;
}

.corporate-btn-close:hover {
    background: #131a3b;
}

@keyframes piscarSuave {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.textInfoQr {
    animation: piscarSuave 1.5s infinite ease-in-out;
}

.linkCadastro {
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
}

.linkAtestado {
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
}

/*Renderiza apartir do js*/
#modalModalidade {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

/*Renderiza apartir do js*/
#modalModalidade {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-info-user {
    font-size: 18px;
}

.value-info {
    font-size: 15px;
    margin-top: 4px;
}

.qr-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 85%;
}

.print-back {
    margin-top: 0.08rem;
}


@media print {

    @page {
        size: 6.5cm 8.4cm;
        margin: 0;

    }

    html,
    body {
        width: 6.5cm;
        height: 8.4cm;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    body * {
        visibility: hidden;
    }

    /* .brand-logo {
        width: 150px;
        margin: 20px auto 15px;
    } */

    .corporate-card {
        border-radius: 0px;
    }

    .print-page {
        page-break-after: always;
        break-after: page;
        width: 6.5cm;
        height: 8.4cm;
        display: block;
    }

    .print-page:last-child {
        page-break-after: auto;
    }

    .print-card,
    .print-card * {
        display: block;
    }

    .print-card {
        width: 6.5cm;
        height: 8.4cm;
        overflow: hidden;
        padding: 0;
    }

    .print-content {
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding: 0.3cm;
    }

    .row,
    [class*="col-"] {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .mt-1,
    .mt-2,
    .mb-1,
    .mb-2,
    .mx-auto,
    .my-auto {
        margin: 0 !important;
    }

    .gap-1 {
        gap: 0 !important;
    }

    .modal-body {
        padding: 0 !important;
    }

    button,
    .no-print {
        display: none !important;
    }

    img {
        display: block;
        max-width: 100%;
        max-height: 100%;
    }

    p,
    h1,
    h2,
    h3,
    div {
        margin: 0;
        line-height: 1.1;
    }

    /* .imgModalHeader {
        width: 2.5cm;
        margin: 0 auto 0.3cm;
    } */

    .imgLogoCard {
        width: 4cm;
    }

    .qr-center {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 85%;
    }

    #qrcode img {
        width: 3.8cm;
        height: 3.8cm;
        margin: 0 auto 0.3cm;
    }

    .info-box {
        text-align: center;
        margin-top: 0.3cm;
    }

    .info-text {
        font-weight: 600;
    }

    #userName {
        font-size: 0.42cm;
        font-weight: 700;
    }

    .infoFunction {
        font-size: 0.36cm;
    }
}


.divCadastro {
    max-height: 15%;
    position: fixed !important;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border: 2px solid;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.50s ease;
}

.option-card i {
    font-size: 1.8rem;
}

.option-card:hover {
    background-color: rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.589);
}

.signature-box {
    cursor: pointer;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.signature-box:hover {
    background-color: #f8f9fa;
    border-color: #0d6efd;
    color: #0d6efd;
}

.signature-box.signed {
    cursor: default;
    background-color: #e9f7ef;
}

.upload-box {
    border: 2px dashed #6c757d;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    background: #f8f9fa;
}

.upload-box:hover {
    background: #e9ecef;
    border-color: #0d6efd;
}


.cardSpan {
    transition: transform .2s ease, box-shadow .2s ease;
}

.cardSpan:hover {
    transform: translateY(-4px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

/* Modal QR sempre acima */
#modalQrCodeOcorrencia {
    z-index: 1065;
}

/* Backdrop acima do modal pai */
/* .modal-backdrop.show {
	z-index: 1060;
} */

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    /* começa escondido */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #fff;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.premium-modal .modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #fdfdfd;
}

.premium-modal .modal-header {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
    border-bottom: none;
    padding: 1.5rem 2rem;
    color: white;
}

.premium-modal .btn-close-custom {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.premium-modal .btn-close-custom:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.premium-section-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.premium-section-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #6c757d;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}

.premium-section-title i {
    margin-right: 12px;
    font-size: 1rem;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    padding: 8px;
    border-radius: 8px;
}

.premium-form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #344767;
    margin-bottom: 0.5rem;
}

.premium-form-control,
.premium-form-select {
    border-radius: 12px;
    padding: 0.65rem 1rem;
    border: 1.5px solid #e9ecef;
    background-color: #f8fafc;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.premium-form-control:focus,
.premium-form-select:focus {
    border-color: #198754;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.1);
    background-color: #ffffff;
    outline: none;
}

.premium-alert-critical {
    background: #fff8f8;
    border: 2px solid rgba(220, 53, 69, 0.1);
    border-radius: 18px;
    padding: 1.5rem;
}

.premium-signature-box {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 16px;
    padding: 2.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.premium-signature-box:hover {
    border-color: #198754;
    background: #f1f5f9;
}

.premium-btn-save {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
    border: none;
    border-radius: 14px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.premium-btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(25, 135, 84, 0.35);
}

.premium-upload-box {
    border: 2px dashed #0d6efd;
    background: rgba(13, 110, 253, 0.04);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.premium-upload-box:hover {
    background: rgba(13, 110, 253, 0.08);
}

.premium-alert-info {
    background: #fff8eb;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 1rem;
}

/* Specific overrides if needed */
#modalSugestUser .premium-modal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

/* ============================
   Cards de Tipo de Ponto
   ============================ */
.tipo-ponto-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    position: relative;
}

.tipo-ponto-card:hover {
    border-color: #198754;
    background: #f0faf5;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(25,135,84,0.12);
}

.tipo-ponto-card.selected {
    border-color: #198754;
    background: #f0faf5;
    box-shadow: 0 4px 14px rgba(25,135,84,0.18);
}

.tipo-ponto-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.tipo-ponto-label {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tipo-ponto-label strong {
    font-size: 0.95rem;
    color: #1a1a2e;
}

.tipo-ponto-label small {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 2px;
}

.tipo-ponto-check {
    font-size: 1.3rem;
    color: #198754;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: scale(0.6);
}

.tipo-ponto-card.selected .tipo-ponto-check {
    opacity: 1;
    transform: scale(1);
}

#btnConfirmarTipoPonto:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#btnConfirmarTipoPonto:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25,135,84,0.3);
}


.agbe-panel {
    background: linear-gradient(135deg, #f1f5f9 0%, #e8edf5 100%);
    min-height: 60vh;
    padding: 2.5rem 0;
}
.agbe-main-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}
.agbe-logo-panel {
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 220px;
}
.agbe-logo-panel img {
    width: 200px;
    /*filter: brightness(0) invert(1);*/
    border-radius: 25px;
    opacity: 0.95;
}
.agbe-logo-panel .agbe-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
}
.agbe-actions-panel {
    padding: 2rem 2.25rem;
}
.agbe-section-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.agbe-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}
.agbe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-width: 1.5px !important;
}
.agbe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.13);
}
.agbe-btn i {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* QR Carousel */
.agbe-carousel-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    margin-top: 1.75rem;
}
.agbe-carousel-header {
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%);
    padding: 1rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.agbe-carousel-header h3 {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
}
.agbe-carousel-header i {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}
.agbe-carousel-body {
    padding: 1.75rem 2rem;
    background: #f8fafc;
}

/* Modal Premium */
.agbe-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.agbe-modal-header {
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%);
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
}

.agbe-modal-header h5 {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
}
.agbe-modal-header i {
    color: rgba(255,255,255,0.6);
    margin-right: 0.6rem;
}
.agbe-stats-row {
    background: #f8fafc;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #e2e8f0;
}
.agbe-stat-card {
    border-radius: 14px;
    border: none;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: transform 0.2s ease;
}
.agbe-stat-card .card-body {
    padding: 1rem 0.75rem;
}
.agbe-stat-card .stat-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.3rem;
}
.agbe-stat-card .stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
}
.agbe-table-wrapper {
    padding: 1.25rem 1.75rem 1.75rem;
}
.tabela-ouvidoria thead th {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.875rem 1rem;
    white-space: nowrap;
    border-top: none;
}
.tabela-ouvidoria tbody td {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

/* Message Modal */
.agbe-msg-modal .modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.agbe-msg-modal .modal-body textarea {
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.9rem;
    color: #334155;
    background: #f8fafc;
    resize: none;
}
.agbe-msg-modal .modal-body textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

/* Crachá Slide Layout */
.cracha-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
}

.cracha-name-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0;
    padding: 0.3rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
}

.cracha-cards-row {
    display: flex;
    gap: 0;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid #e8edf5;
    position: relative;
}

.cracha-cards-row::before {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
}

.cracha-card-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0 1.5rem;
}

.cracha-card-col .print-page {
    width: 260px;
}

.cracha-card-col .corporate-card {
    width: 260px;
}

.cracha-side-tag {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #475569;
    background: #e2e8f0;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.cracha-print-btn {
    padding: 0.6rem 2.5rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(13,110,253,0.25);
    transition: all 0.2s ease;
}

.cracha-print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13,110,253,0.35);
}

//
.inbox-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
}

.inbox-eyebrow {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    margin: 0 0 0.15rem;
}

.inbox-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0;
    text-transform: none;
}

.inbox-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.inbox-close-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: rotate(90deg);
}

.agbe-stat-card:hover {
    transform: translateY(-2px);
}

.tabela-ouvidoria {
    border-collapse: separate;
    border-spacing: 0;
}

.inbox-th {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 0.875rem 1rem;
    white-space: nowrap;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    border: none;
}

.inbox-th:first-child { border-radius: 10px 0 0 10px; }
.inbox-th:last-child  { border-radius: 0 10px 10px 0; }

.inbox-row td {
    border-color: #f1f5f9;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    vertical-align: middle;
}

.inbox-row:hover td {
    background: #f8fafc;
}

.inbox-badge-unidade {
    font-size: 0.72rem;
    font-weight: 600;
    background: #e8edf5;
    color: #334155;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    white-space: nowrap;
}

.inbox-badge-tipo {
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(99,102,241,0.1);
    color: #4f46e5;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}