:root {
    --primary-blue: #1e3a8a;
    --accent-gold: #b45309;
    --soft-bg: #fdfcfb;
}

body { 
    font-family: 'Poppins', sans-serif; 
    scroll-behavior: smooth;
    background-color: var(--soft-bg);
}

/* Efeito de Vidro (Glassmorphism) */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.calendar-grid { 
    display: grid; 
    grid-template-columns: repeat(7, 1fr); 
    gap: 4px; 
}

.calendar-day { 
    min-height: 70px; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    border-radius: 1rem;
}

.calendar-day:hover { 
    transform: scale(1.05); 
    z-index: 10; 
    background-color: white; 
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); 
}

.has-event { 
    background-color: #f0f7ff; 
    border-bottom: 3px solid var(--primary-blue);
}

/* Animações de entrada suaves */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal { animation: slideUp 0.7s ease-out forwards; }

.custom-shadow {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

/* Barra de rolagem personalizada */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

/* Botão de navegação do calendário */
.nav-cal-btn {
    height: 2.5rem;
    width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background-color: white;
    border: 1px solid rgb(241 245 249);
    color: rgb(148 163 184);
    transition: all 0.2s;
}

.nav-cal-btn:hover {
    color: rgb(30 58 138);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.nav-cal-btn:active {
    transform: scale(0.95);
}

/* Loading */
.loading-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 9999;
}

.loading-progress circle {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 4;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    animation: loading-progress 1s ease-in-out infinite;
}

.loading-progress-text {
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-blue);
    font-weight: 600;
    z-index: 9999;
}

@keyframes loading-progress {
    0% { stroke-dashoffset: 251.2; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -251.2; }
}

/* Blazor Error UI */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
