/* _content/AgendaCP.web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-is6p9o5jmq] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-is6p9o5jmq] {
    flex: 1;
}

.sidebar[b-is6p9o5jmq] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-is6p9o5jmq] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-is6p9o5jmq]  a, .top-row[b-is6p9o5jmq]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-is6p9o5jmq]  a:hover, .top-row[b-is6p9o5jmq]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-is6p9o5jmq]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-is6p9o5jmq] {
        justify-content: space-between;
    }

    .top-row[b-is6p9o5jmq]  a, .top-row[b-is6p9o5jmq]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-is6p9o5jmq] {
        flex-direction: row;
    }

    .sidebar[b-is6p9o5jmq] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-is6p9o5jmq] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-is6p9o5jmq]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-is6p9o5jmq], article[b-is6p9o5jmq] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-is6p9o5jmq] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-is6p9o5jmq] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/AgendaCP.web/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-da4l5avp5k] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-da4l5avp5k] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-da4l5avp5k] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-da4l5avp5k] {
    font-size: 1.1rem;
}

.bi[b-da4l5avp5k] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-da4l5avp5k] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-da4l5avp5k] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-da4l5avp5k] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-da4l5avp5k] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-da4l5avp5k] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-da4l5avp5k] {
        padding-bottom: 1rem;
    }

    .nav-item[b-da4l5avp5k]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-da4l5avp5k]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-da4l5avp5k]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-da4l5avp5k] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-da4l5avp5k] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-da4l5avp5k] {
        display: none;
    }

    .nav-scrollable[b-da4l5avp5k] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/AgendaCP.web/Components/Pages/Dashboard.razor.rz.scp.css */
.status-pending[b-vgybx7s633] {
    background-color: #B3E5FC;
    border: 1px solid #2196F3;
}

.status-attended[b-vgybx7s633] {
    background-color: #C8E6C9;
    border: 1px solid #4CAF50;
}

.status-unbooked[b-vgybx7s633] {
    background-color: #E0E0E0;
    border: 1px solid #9E9E9E;
}

.status-certificate[b-vgybx7s633] {
    background-color: #E1BEE7;
    border: 1px solid #8E24AA;
}

.status-early-cancellation[b-vgybx7s633] {
    background-color: #FFD700;
    border: 1px solid #FF9800;
}

.status-no-show[b-vgybx7s633] {
    background-color: #FFCDD2;
    border: 1px solid #F44336;
}

.status-avulso[b-vgybx7s633] {
    background-color: #F8BBD0;
    border: 1px solid #E91E63;
}

/* =========================================================
   Dashboard layout
   ========================================================= */

.dashboard-page[b-vgybx7s633] {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 8px;
}

.dashboard-header[b-vgybx7s633] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 4px;
}

.dashboard-title[b-vgybx7s633] {
    font-weight: 600;
}

.dashboard-subtitle[b-vgybx7s633],
.dashboard-card-subtitle[b-vgybx7s633] {
    color: var(--mud-palette-text-secondary);
}

.dashboard-period[b-vgybx7s633] {
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}


/* =========================================================
   KPI cards
   ========================================================= */

.dashboard-kpi[b-vgybx7s633] {
    min-height: 125px;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid transparent;
}

.kpi-planned[b-vgybx7s633] {
    border-left-color: #2196F3;
}

.kpi-attended[b-vgybx7s633] {
    border-left-color: #4CAF50;
}

.kpi-unbooked[b-vgybx7s633] {
    border-left-color: #9E9E9E;
}

.kpi-cancelled[b-vgybx7s633] {
    border-left-color: #F44336;
}

/* -----------------------------------------------------------------
 * New KPI – revenue. The color chosen is a warm orange that
 * stands out from the other KPI indicators.
 */
.kpi-revenue[b-vgybx7s633] {
    border-left-color: #FF9800;
}

/* -----------------------------------------------------------------
 * Theoretical revenue KPI – a distinct color that signals a
 * maximum‑potential indicator. The light teal gives a calm contrast
 * to the orange revenue KPI.
 */
.kpi-theoretical[b-vgybx7s633] {
    border-left-color: #4CAF50;
}
.kpi-label[b-vgybx7s633] {
    font-weight: 500;
}

.kpi-value[b-vgybx7s633] {
    margin-top: 6px;
    font-weight: 600;
}

.kpi-description[b-vgybx7s633] {
    color: var(--mud-palette-text-secondary);
}


/* =========================================================
   Dashboard cards
   ========================================================= */

.dashboard-card[b-vgybx7s633] {
    padding: 20px;
    border-radius: 8px;
}

.dashboard-card-header[b-vgybx7s633] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}


/* =========================================================
   Chart
   ========================================================= */

.dashboard-chart[b-vgybx7s633] {
    display: flex;
    width: 100%;
    height: 340px;
    padding-top: 10px;
}

.chart-axis[b-vgybx7s633] {
    width: 45px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 10px;
    flex-shrink: 0;
}

.chart-area[b-vgybx7s633] {
    flex: 1;
    height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 25px;
    border-bottom: 1px solid var(--mud-palette-divider);
}

.chart-month[b-vgybx7s633] {
    height: 300px;
    flex: 1;
    max-width: 90px;
    min-width: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.chart-bar-container[b-vgybx7s633] {
    width: 55px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

/* Ensure all bars in each month are aligned to the bottom */
.chart-month[b-vgybx7s633] {
    height: 300px;
    flex: 1;
    max-width: 90px;
    min-width: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

/* Ensure bars are properly aligned to bottom */
.chart-bar[b-vgybx7s633] {
    width: 100%;
    height: auto;
    /* This ensures that even when stacked, they align to the bottom */
    flex-shrink: 0;
}

.chart-value[b-vgybx7s633] {
    font-size: 10px;
    color: white;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.55);
}

.chart-month-label[b-vgybx7s633] {
    margin-top: 8px;
    text-align: center;
    white-space: nowrap;
}


/* =========================================================
   Legend
   ========================================================= */

.dashboard-legend[b-vgybx7s633] {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding: 0 10px;
}

.legend-item[b-vgybx7s633] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color[b-vgybx7s633] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    flex-shrink: 0;
}


/* =========================================================
   Summary
   ========================================================= */

.dashboard-summary[b-vgybx7s633] {
    height: 100%;
}

.summary-list[b-vgybx7s633],
.distribution-list[b-vgybx7s633] {
    margin-top: 20px;
}

.summary-row[b-vgybx7s633],
.distribution-row[b-vgybx7s633] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    border-bottom: 1px solid var(--mud-palette-divider);
}

.summary-row:last-child[b-vgybx7s633],
.distribution-row:last-child[b-vgybx7s633] {
    border-bottom: none;
}

.summary-value[b-vgybx7s633] {
    font-weight: 600;
}

.distribution-label[b-vgybx7s633] {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 768px) {

    .dashboard-page[b-vgybx7s633] {
        padding: 4px;
    }

    .dashboard-header[b-vgybx7s633] {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-period[b-vgybx7s633] {
        white-space: normal;
    }

    .dashboard-card[b-vgybx7s633] {
        padding: 16px;
    }

    .dashboard-chart[b-vgybx7s633] {
        overflow-x: auto;
    }

    .chart-area[b-vgybx7s633] {
        min-width: 600px;
    }

    .dashboard-legend[b-vgybx7s633] {
        justify-content: flex-start;
    }
}
/* _content/AgendaCP.web/Components/Pages/Historico.razor.rz.scp.css */
.historico-list[b-3o8igpkicq] {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.historico-month-group[b-3o8igpkicq] {
    margin-bottom: 16px;
}

.historico-month-header[b-3o8igpkicq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    position: sticky;
    top: 0;
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    z-index: 1;
    border-radius: 6px;
    margin-bottom: 8px;
    font-weight: 600;
}

.historico-month-count[b-3o8igpkicq] {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.9;
}

.historico-item[b-3o8igpkicq] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    margin-bottom: 6px;
    border-radius: 6px;
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: filter 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.historico-item:hover[b-3o8igpkicq] {
    filter: brightness(0.97);
}

.historico-item-selected[b-3o8igpkicq] {
    box-shadow: 0 0 0 3px var(--mud-palette-primary), 0 2px 6px rgba(0, 0, 0, 0.25);
    position: relative;
}

.historico-item-row[b-3o8igpkicq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.historico-item-check[b-3o8igpkicq] {
    flex-shrink: 0;
}

.historico-item-date[b-3o8igpkicq] {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.87);
}

.historico-item-status[b-3o8igpkicq] {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
}

.historico-item-value[b-3o8igpkicq] {
    margin-left: auto;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.87);
}

.historico-item-notes[b-3o8igpkicq] {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
}

.status-pending[b-3o8igpkicq] {
    background-color: #B3E5FC;
    border-left-color: #2196F3;
}

.status-attended[b-3o8igpkicq] {
    background-color: #C8E6C9;
    border-left-color: #4CAF50;
}

.status-unbooked[b-3o8igpkicq] {
    background-color: #E0E0E0;
    border-left-color: #9E9E9E;
}

.status-certificate[b-3o8igpkicq] {
    background-color: #E1BEE7;
    border-left-color: #8E24AA;
}

.status-early-cancellation[b-3o8igpkicq] {
    background-color: #FFE082;
    border-left-color: #FF9800;
}

.status-no-show[b-3o8igpkicq] {
    background-color: #FFCDD2;
    border-left-color: #F44336;
}

.status-avulso[b-3o8igpkicq] {
    background-color: #F8BBD0;
    border-left-color: #E91E63;
}
/* _content/AgendaCP.web/Components/Pages/WeeklySchedule.razor.rz.scp.css */
.weekly-schedule[b-nydiswr48b] {
    max-width: 1600px;
}

.schedule-heading[b-nydiswr48b] {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.schedule-heading h1[b-nydiswr48b] {
    margin-bottom: .25rem;
}

.schedule-toolbar[b-nydiswr48b] {
    margin-bottom: 1rem;
}

.calendar-navigation[b-nydiswr48b] {
    font-size: 1.5rem;
    line-height: 1;
    padding: .2rem .7rem .35rem;
}

.calendar-card[b-nydiswr48b] {
    overflow: hidden;
}

.calendar-scroll[b-nydiswr48b] {
    overflow-x: auto;
}

.weekly-calendar[b-nydiswr48b] {
    display: grid;
    grid-template-columns: 5.5rem repeat(7, minmax(9rem, 1fr));
    min-width: 68rem;
}

.calendar-header[b-nydiswr48b],
.time-slot[b-nydiswr48b],
.calendar-slot[b-nydiswr48b] {
    border-bottom: 1px solid #e8edf2;
    border-right: 1px solid #e8edf2;
}

.calendar-header[b-nydiswr48b] {
    background: #f6f9fc;
    color: #465668;
    display: flex;
    flex-direction: column;
    font-size: .8rem;
    gap: .1rem;
    min-height: 4rem;
    padding: .7rem;
    text-align: center;
}

.calendar-header strong[b-nydiswr48b] {
    color: #173b61;
    font-size: 1.15rem;
}

.time-header[b-nydiswr48b] {
    align-items: center;
    justify-content: center;
}

.time-slot[b-nydiswr48b] {
    align-items: flex-start;
    color: #66788a;
    display: flex;
    font-size: .8rem;
    justify-content: center;
    padding-top: .8rem;
}

.calendar-slot[b-nydiswr48b] {
    min-height: 3.8rem;
    padding: .3rem;
    transition: background-color 0.2s ease;
}

.calendar-slot:hover[b-nydiswr48b] {
    background-color: #f0f4f8;
}

.slot-spacer[b-nydiswr48b] {
    min-height: .85rem;
    flex-shrink: 0;
}

.calendar-slot.selected[b-nydiswr48b] {
    background-color: #e3f2fd;
    box-shadow: inset 0 0 0 2px #2196F3;
}

.appointment[b-nydiswr48b] {
    border-left: .25rem solid;
    border-radius: .25rem;
    display: flex;
    flex-direction: column;
    font-size: .78rem;
    gap: .15rem;
    min-height: 3.2rem;
    padding: .45rem;
}

.appointment strong[b-nydiswr48b] {
    color: #273746;
}

.appointment span[b-nydiswr48b] {
    color: #536475;
}

.appointment .professional-tag[b-nydiswr48b] {
    font-size: .68rem;
    font-style: italic;
    opacity: .8;
}

.appointment.event-selected[b-nydiswr48b] {
    box-shadow: 0 0 0 3px #7C4DFF;
    position: relative;
    z-index: 1;
}

.appointment.event-selected[b-nydiswr48b]::after {
    content: "✓";
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #7C4DFF;
    color: #fff;
    font-size: .7rem;
    line-height: 18px;
    text-align: center;
    font-weight: bold;
}

    .appointment.attended[b-nydiswr48b],
    [b-nydiswr48b] .status-attended {
        background: #C8E6C9;
        border-color: #4CAF50;
        color: #1B5E20;
    }

    .appointment.scheduled[b-nydiswr48b] {
        background: #B3E5FC;
        border-color: #2196F3;
        color: #0D47A1;
    }

    .appointment.avulso[b-nydiswr48b] {
        background: #F8BBD0;
        border-color: #E91E63;
        color: #880E4F;
    }

    .appointment.cancelled[b-nydiswr48b],
    [b-nydiswr48b] .status-no-show {
        background: #FFCDD2;
        border-color: #F44336;
        color: #B71C1C;
    }

    .appointment.unbooked[b-nydiswr48b],
    [b-nydiswr48b] .status-unbooked,
    [b-nydiswr48b] .status-certificate {
        background: #E0E0E0;
        border-color: #9E9E9E;
        color: #424242;
    }

    .appointment.early-cancellation[b-nydiswr48b],
    [b-nydiswr48b] .status-early-cancellation {
        background: #FFD700;
        border-color: #FF9800;
        color: #E65100;
    }

    [b-nydiswr48b] .btn-avulso {
        background: #F8BBD0 !important;
        border-color: #E91E63 !important;
        color: #880E4F !important;
    }

    [b-nydiswr48b] .status-pending {
        background: #B3E5FC;
        border-color: #2196F3;
        color: #0D47A1;
    }

.schedule-list li[b-nydiswr48b] {
    border-bottom: 1px solid #edf0f2;
    font-size: .9rem;
    padding: .65rem 0;
}

.schedule-list li:last-child[b-nydiswr48b] {
    border-bottom: 0;
}

@media (max-width: 575.98px) {
    .schedule-heading[b-nydiswr48b] {
        align-items: flex-start;
        flex-direction: column;
    }

    #BT_ESCOLHE[b-nydiswr48b] {
        width: 100%;
    }
}
