

/*--------------------------------------------------------------
# Calendário
--------------------------------------------------------------*/

.calendario-mes {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calendario-mes .card-header {
    background: var(--cor-pri-2);
    color: white;
    font-weight: bold;
    padding: 12px;
    border-radius: 8px 8px 0 0;
}

.calendario-mes .card-body {
    overflow: visible;
}

.calendario-tabela {
    width: 100%;
    margin: 0;
}
.calendario-tabela tr{
 border: 0;
}

.calendario-tabela thead{
 color: var(--cor-pri-1) !important;
  border: 0;

}

.calendario-tabela th {
    color: var(--cor-sec-2) !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 14px;
    padding: 15px 4px 10px 4px;
    text-align: center;
    border: 0;
}

.calendario-tabela td {
    height: 38px;
    width: 48px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    font-size: 15px;
    line-height: 25px;
    border: 0px solid #e0e0e0;
    padding: 4px;
}

.calendario-tabela td.vazio {
    background: #ffffff;
}

.calendario-tabela td.com-evento {
    cursor: pointer;
}

.calendario-tabela td.com-evento::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 50%;
    width: 34px;
    height: 26px;
    border-radius: 10px;
    background: #edf5ff;
    box-shadow: 0 1px 14px rgba(40, 119, 255, 0.54);
    transform: translateX(-50%);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    z-index: 0;
}

.calendario-tabela td.com-evento:hover::before {
    background: #e3efff;
    box-shadow: 0 1px 12px rgba(40, 119, 255, 0.74);
    transform: translateX(-50%) translateY(-1px);
}

.dia-numero {
    display: block;
    font-size: 16px;
    color: #333;
}

.event-marker {
    display: inline-block;
    width: 36px;
    height: 34px;
    border-radius: 50%;
    line-height: 31px;
    font-size: 19px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.event-day {
    display: block;
    position: relative;
    font-size: 16px;
    font-weight: 700;
    color: var(--cor-pri-2);
    line-height: 1;
    z-index: 1;
}

.event-dots {
    display: flex;
    position: relative;
    justify-content: center;
    gap: 3px;
    margin-top: 4px;
    z-index: 1;
}

.event-dot-mini {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.event-dot-more {
    background: #98a3b5;
}


.legend-marker {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    margin-right: 8px;
}

.table-eventos {
    width: 100%;
    min-width: 760px;
}

.table-eventos th {
    background: #f5f5f5;
    padding: 12px;
    font-weight: 600;
}

.table-eventos td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.event-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

#eventos-passados-content {
    display: none;
}

#eventos-passados-content.show {
    display: block;
}

.dropdown-menu {
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dropdown-item {
    padding: 10px 16px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f0f7ff;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    font-size: 16px;
}

.calendario-grid.loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

@media (max-width: 767.98px) {
    .calendario-nav {
        flex-wrap: nowrap;
        gap: 10px;
        margin-right: 0;
        margin-left: 0;
        padding-right: 12px;
        padding-left: 12px;
    }

    .calendario-nav-prev,
    .calendario-nav-next,
    .calendario-nav-year {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }

    .calendario-nav-prev {
        order: 1;
    }

    .calendario-nav-year {
        order: 2;
        flex: 1 1 auto;
        text-align: center;
    }

    .calendario-nav-next {
        order: 3;
    }

    .calendario-nav .btn {
        width: 44px;
        height: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
        border-radius: 12px;
    }

    .calendario-nav .btn i {
        margin: 0;
        font-size: 18px;
        line-height: 1;
    }

    .calendario-nav .form-select {
        max-width: 112px;
    }

    .calendario-grid > [class*="col-"] {
        width: 100%;
        flex: 0 0 100%;
    }
}


#eventos-futuros-lista .table-responsive{
    min-height: 300px;
}
