.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 12px;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    color: #11f828;
    font-size: 2rem;
}

.id-badge {
    position: relative;
    display: flex;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    overflow: hidden;
    margin-bottom: 20px;
    height: calc(100% - 20px);
}

.id-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.status-aprovada {
    border-left: 7px solid #198754;
}

.status-pendente {
    border-left: 7px solid #dc3545;
}

.status-reprovado {
    border-left: 7px solid #6f42c1;
}

.status-outros {
    border-left: 7px solid #ffc107;
}

.id-badge .photo-section {
    background-color: #f8f9fa;
    padding: 0.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
}

.id-badge .id-photo {
    width: 80px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
}

.id-badge .info-section {
    padding: 0.1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.id-badge .professional-name {
    font-size: 1rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.2rem;
}

.id-badge .info-label {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
}

.id-badge .info-data {
    font-size: 0.85rem;
    color: #212529;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    line-height: 1;
}

.info-code {
    font-family: monospace;
}

.info-grid {
    border-top: 0.5px solid #eee;
    padding-top: 0.1rem;
    margin-top: 0.1rem;
}

.info-section .action-button-area {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 0.5px solid #eee;
}

.modal-scroll .modal-body {
    max-height: 65vh;
    overflow-y: auto;
}

#modals-container {
    position: relative;
    z-index: 9999;
}

a:visited {
    color: green;
}

.position-counter {
    display: inline-block;
    background-color: #000000;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 0.8rem;
    font-weight: bold;
}

.trt-header-actions {
    margin-top: 15px;
}

.trt-ws-status {
    margin-left: 10px;
}

.bg-purple {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.badge-purple {
    background-color: #6f42c1;
    color: #ffffff;
}

.trt-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

@media (max-width: 991px) {
    .trt-header-actions {
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    .trt-ws-status {
        margin-left: 0;
        margin-top: 8px;
        display: inline-flex;
    }

    #summary-stats-container > [class*='col-'] {
        width: 100%;
    }
}
