body {
    background-color: #f4f7f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.dashboard-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 5px solid #00d2ff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.doc-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    background: white;
}
.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.badge-page {
    background-color: #e2e8f0;
    color: #4a5568;
    font-weight: 600;
}
.pdf-icon {
    color: #e53e3e;
    font-size: 2.5rem;
}
#loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2a5298;
    border-radius: 50%;
    animation: rodar 0.6s linear infinite;
}

#loading-spinner p {
    color: #333;
    font-size: 14px;
    font-weight: bold;
    margin-top: 12px;
    margin-bottom: 0;
    white-space: nowrap;}

@keyframes rodar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

