@charset "utf-8";
/* CSS Document */

.agenda-corporativa .agenda-card {
    border-radius: 12px;
    border: 1px solid #e5eaf0;
    overflow: hidden
}

.agenda-navegacao h5 {
    min-width: 165px;
    text-align: center;
    color: #0c5b84;
    font-size: 18px
}

.agenda-legenda {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #596574
}

.agenda-legenda span {
    display: inline-flex;
    align-items: center;
    gap: 5px
}

.agenda-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block
}

.agenda-tipo-REUNIAO {
    background: #0c5b84
}

.agenda-tipo-EVENTO {
    background: #bb792d
}

.agenda-tipo-COMPROMISSO {
    background: #328151
}

.agenda-tipo-TREINAMENTO {
    background: #895ab1
}

.agenda-tipo-OUTROS {
    background: #697887
}

.agenda-tipo-PRIVADO {
    background: #7a8491
}

.agenda-grade {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px
}

.agenda-cabecalho {
    text-align: center;
    padding: 7px 2px;
    color: #657282;
    font-size: 12px;
    font-weight: 600
}

.agenda-celula {
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 8px;
    min-height: 115px;
    min-width: 0;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: background .15s
}

.agenda-celula.agenda-fora {
    background: #f8f9fa;
    opacity: .55
}

.agenda-celula.agenda-atual {
    background: #eaf4fb;
    border-color: #0c5b84;
    box-shadow: inset 0 0 0 1px #0c5b84
}

.agenda-celula.agenda-selecionado:not(.agenda-atual) {
    background: #f4f9fc;
    border-color: #72a4bf
}

.agenda-celula-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 20px
}

.agenda-dia-numero {
    border: 0;
    background: none;
    padding: 1px 4px;
    color: #2d3540;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    cursor: pointer
}

.agenda-atual .agenda-dia-numero {
    color: #0c5b84
}

.agenda-dia-qtd {
    font-size: 10px;
    color: #6b7785
}

.agenda-itens {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    max-height: 144px;
    overflow: auto
}

.agenda-item {
    border: 0;
    border-left: 3px solid transparent;
    display: block;
    width: 100%;
    color: #fff;
    text-align: left;
    font-size: 11px;
    line-height: 1.3;
    padding: 5px 6px;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere
}

.agenda-item .agenda-hora {
    font-weight: 700;
    margin-right: 4px
}

.agenda-item.agenda-tipo-REUNIAO {
    background: #0c5b84;
    border-left-color: #063e5b
}

.agenda-item.agenda-tipo-EVENTO {
    background: #bb792d;
    border-left-color: #87531c
}

.agenda-item.agenda-tipo-COMPROMISSO {
    background: #328151;
    border-left-color: #206039
}

.agenda-item.agenda-tipo-TREINAMENTO {
    background: #895ab1;
    border-left-color: #634083
}

.agenda-item.agenda-tipo-OUTROS {
    background: #697887;
    border-left-color: #404b56
}

.agenda-item.agenda-tipo-PRIVADO {
    background: #7a8491;
    border-left-color: #515a63
}

.agenda-item:hover {
    filter: brightness(.92);
    color: #fff
}

.agenda-dia-vazio {
    font-size: 12px;
    color: #9099a2;
    padding: 7px 3px
}

.agenda-linha-dia {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e9edf1;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 7px
}

.agenda-linha-horario {
    font-weight: 700;
    font-size: 13px;
    min-width: 105px;
    color: #0c5b84
}

.agenda-linha-titulo {
    font-weight: 600;
    color: #263443;
    font-size: 13px
}

.agenda-linha-tipo {
    font-size: 11px;
    color: #7b8692
}

@media(max-width:850px) {
    .agenda-calendario-scroll {
        overflow-x: auto
    }

    .agenda-grade {
        min-width: 740px
    }

    .agenda-celula {
        min-height: 95px
    }

    .agenda-lista-dia {
        max-height: 300px;
        overflow: auto
    }
}

/* Layout principal: painel diario + grade mensal completa */
.agenda-layout-principal {
    align-items: stretch
}

.agenda-card-dia .card-body {
    display: flex;
    flex-direction: column
}

.agenda-dia-destaque {
    padding: 8px 1px 15px;
    border-bottom: 1px solid #e7edf2
}

.agenda-dia-semana {
    font-size: 12px;
    letter-spacing: .07em;
    font-weight: 700;
    color: #637487;
    text-transform: uppercase
}

.agenda-dia-grande {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    color: #0c5b84;
    margin-top: 4px
}

.agenda-dia-mes {
    font-size: 14px;
    color: #5f6d7a;
    text-transform: capitalize
}

.agenda-card-dia .agenda-lista-dia {
    overflow-y: auto;
    max-height: 740px
}

.agenda-card-dia .agenda-linha-dia {
    border: 0;
    border-left: 3px solid #0c5b84;
    border-radius: 0;
    padding: 9px 8px 10px 12px;
    display: block;
    background: #f9fbfd;
    margin: 0 0 10px
}

.agenda-card-dia .agenda-linha-horario {
    font-size: 15px;
    min-width: 0;
    margin-bottom: 4px
}

.agenda-card-dia .agenda-linha-titulo {
    font-size: 14px;
    line-height: 1.35
}

.agenda-card-dia .agenda-linha-dia .btn {
    margin-top: 8px
}

.agenda-card-mes .agenda-grade {
    gap: 4px
}

.agenda-card-mes .agenda-celula {
    min-height: 100px;
    padding: 5px;
    gap: 4px;
    border-radius: 7px
}

.agenda-card-mes .agenda-itens {
    max-height: 145px;
    overflow: auto
}

.agenda-card-mes .agenda-item {
    font-size: 10px;
    padding: 4px 5px;
    line-height: 1.3;
    border-radius: 4px
}

.agenda-card-mes .agenda-hora {
    display: block;
    font-size: 10px;
    margin-right: 0;
    margin-bottom: 1px
}

.agenda-card-mes .agenda-cabecalho {
    padding: 5px 2px
}

@media(min-width:1450px) {
    .agenda-layout-principal>.col-xl-4 {
        flex: 0 0 35%;
        max-width: 35%
    }

    .agenda-layout-principal>.col-xl-8 {
        flex: 0 0 65%;
        max-width: 65%
    }

    .agenda-card-mes .agenda-celula {
        min-height: 112px
    }
}

@media(min-width:1200px) and (max-width:1449px) {
    .agenda-card-mes .agenda-celula {
        min-height: 95px
    }

    .agenda-card-mes .agenda-item {
        font-size: 9px
    }
}

@media(max-width:1199px) {
    .agenda-card-dia .agenda-lista-dia {
        max-height: 390px
    }

    .agenda-card-mes .agenda-celula {
        min-height: 110px
    }
}

@media(max-width:850px) {
    .agenda-calendario-scroll {
        overflow-x: auto
    }

    .agenda-card-mes .agenda-grade {
        min-width: 760px
    }

    .agenda-card-mes .agenda-celula {
        min-height: 95px
    }
}