/* /Components/Scheduler/AppointmentTimeline.razor.rz.scp.css */
/* Modern Scheduler Container */
.scheduler-container[b-vp4qur31g8] {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.scheduler-container:hover[b-vp4qur31g8] {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.scheduler-body[b-vp4qur31g8] {
    overflow-x: auto;
    position: relative;
    background-color: #ffffff;
}

/* Scheduler Header Controls */
.scheduler-header[b-vp4qur31g8] {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.scheduler-title[b-vp4qur31g8] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.scheduler-nav-btn[b-vp4qur31g8] {
    background: #f1f5f9;
    color: #334155;
    transition: all 0.2s ease;
    border-radius: 12px;
}

.scheduler-nav-btn:hover[b-vp4qur31g8] {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.05);
}

/* View Switcher Segmented Control */
.scheduler-view-toggle[b-vp4qur31g8] {
    display: inline-flex;
    background-color: #f1f5f9;
    padding: 4px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    gap: 4px;
}

.view-toggle-btn[b-vp4qur31g8] {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-toggle-btn:hover[b-vp4qur31g8] {
    color: #1e293b;
}

.view-toggle-btn.active[b-vp4qur31g8] {
    background-color: #ffffff;
    color: #0d47a1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* ========================================= */
/* MONTH VIEW (CALENDÁRIO MODERNO)          */
/* ========================================= */
.scheduler-month-grid[b-vp4qur31g8] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid #e2e8f0;
    min-width: 900px;
    background-color: #ffffff;
}

.month-header-cell[b-vp4qur31g8] {
    text-align: center;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 14px 6px;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    color: #475569;
}

.month-header-cell:last-child[b-vp4qur31g8] {
    border-right: none;
}

.month-day-cell[b-vp4qur31g8] {
    min-height: 125px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    padding: 8px;
    position: relative;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

.month-day-cell:nth-child(7n)[b-vp4qur31g8] {
    border-right: none;
}

.month-day-cell:hover[b-vp4qur31g8] {
    background-color: #f8fafc;
    cursor: pointer;
}

.month-day-cell.other-month[b-vp4qur31g8] {
    background-color: #fafbfc;
    opacity: 0.55;
}

.month-day-cell.current-day[b-vp4qur31g8] {
    background-color: rgba(25, 118, 210, 0.03);
}

/* Top bar in each Day Cell */
.day-header-row[b-vp4qur31g8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.day-number[b-vp4qur31g8] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.day-number-today[b-vp4qur31g8] {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(13, 71, 161, 0.35);
}

.today-chip-badge[b-vp4qur31g8] {
    font-size: 0.65rem;
    font-weight: 800;
    color: #1976d2;
    background: rgba(25, 118, 210, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.day-events[b-vp4qur31g8] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

/* Month Event Cards */
.month-event[b-vp4qur31g8] {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 5px 8px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.month-event:hover[b-vp4qur31g8] {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
    z-index: 10;
}

.month-event-my[b-vp4qur31g8] {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 60%, #388e3c 100%) !important;
    color: #ffffff !important;
    border-left: 3.5px solid #81c784;
}

.month-event-busy[b-vp4qur31g8] {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 500;
}

.event-icon[b-vp4qur31g8] {
    font-size: 0.95rem !important;
    flex-shrink: 0;
}

.event-time[b-vp4qur31g8] {
    font-weight: 700;
    opacity: 0.9;
    margin-right: 2px;
}

.event-title[b-vp4qur31g8] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.more-events[b-vp4qur31g8] {
    font-size: 0.72rem;
    color: #0d47a1;
    background-color: rgba(13, 71, 161, 0.06);
    text-align: center;
    padding: 3px 6px;
    border-radius: 6px;
    font-weight: 700;
    margin-top: 2px;
    cursor: pointer;
    transition: background 0.2s;
}

.more-events:hover[b-vp4qur31g8] {
    background-color: rgba(13, 71, 161, 0.12);
}

/* ========================================= */
/* DAY VIEW (TIMELINE HORIZONTAL)           */
/* ========================================= */
.scheduler-timeline-header[b-vp4qur31g8] {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
    min-width: 1050px;
}

.resource-header-cell[b-vp4qur31g8] {
    width: 260px;
    min-width: 260px;
    padding: 14px 18px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #1e293b;
    border-right: 1px solid #e2e8f0;
    position: sticky;
    left: 0;
    background-color: #f8fafc;
    z-index: 10;
}

.time-header-cell[b-vp4qur31g8] {
    flex: 1;
    text-align: center;
    padding: 12px 4px;
    border-right: 1px solid #f1f5f9;
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
}

.scheduler-rows[b-vp4qur31g8] {
    min-width: 1050px;
}

.scheduler-row[b-vp4qur31g8] {
    display: flex;
    border-bottom: 1px solid #f1f5f9;
    min-height: 85px;
}

.scheduler-row:hover[b-vp4qur31g8] {
    background-color: #fafbfc;
}

.resource-cell[b-vp4qur31g8] {
    width: 260px;
    min-width: 260px;
    padding: 12px 18px;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    position: sticky;
    left: 0;
    background-color: #ffffff;
    z-index: 5;
}

.scheduler-row:hover .resource-cell[b-vp4qur31g8] {
    background-color: #fafbfc;
}

.time-slots-container[b-vp4qur31g8] {
    flex: 1;
    position: relative;
    display: flex;
}

.grid-cell[b-vp4qur31g8] {
    flex: 1;
    border-right: 1px dashed #e2e8f0;
}

/* Eventos na Linha do Tempo (Dia) */
.scheduler-event[b-vp4qur31g8] {
    position: absolute;
    top: 8px;
    bottom: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    overflow: hidden;
    min-width: 35px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
}

.scheduler-event:hover[b-vp4qur31g8] {
    transform: translateY(-2px) scale(1.02);
    z-index: 20;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.current-time-line[b-vp4qur31g8] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ef4444;
    z-index: 15;
    pointer-events: none;
}

.current-time-line[b-vp4qur31g8]::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 10px;
    height: 10px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .scheduler-timeline-header[b-vp4qur31g8],
    .scheduler-rows[b-vp4qur31g8] {
        min-width: 760px;
    }

    .resource-header-cell[b-vp4qur31g8],
    .resource-cell[b-vp4qur31g8] {
        width: 160px;
        min-width: 160px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .time-header-cell[b-vp4qur31g8] {
        padding: 8px 2px;
        font-size: 0.72rem;
    }

    .scheduler-month-grid[b-vp4qur31g8] {
        min-width: 700px;
    }

    .month-day-cell[b-vp4qur31g8] {
        min-height: 90px;
        padding: 4px;
    }

    .day-number[b-vp4qur31g8],
    .day-number-today[b-vp4qur31g8] {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* MainLayout styles handled by MudBlazor */
/* /Layout/NavMenu.razor.rz.scp.css */
/* NavMenu styles handled by MudBlazor */
