/* Calendario 2026 - Estilos (Tema claro - padrao do projeto) */

/* Esconde icone dentro do titulo (se houver) */
.header-left h1 i,
.header-left h1 svg,
.header-left h1 .fa,
.header-left h1 .fas,
.header-left h1 .far,
.header-left h1 .fab {
    display: none !important;
}

/* Esconde painel de eventos */
.events-panel {
    display: none !important;
}

/* Esconde legenda */
.legend {
    display: none !important;
}

/* ESCALA REDUZIDA EM 20% */
.main-content {
    zoom: 0.8;
    -moz-transform: scale(0.8);
    -moz-transform-origin: top left;
}

/* Ajuste para Firefox (que não suporta zoom) */
@-moz-document url-prefix() {
    .main-content {
        width: 125%;
        transform: scale(0.8);
        transform-origin: top left;
    }
}



/* Legenda do calendario */
.calendario-legenda {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
}

/* Barra de pesquisa */
.calendario-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 180px;
    transition: all 0.2s ease;
}

.calendario-search:focus-within {
    border-color: #7F3F98;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(127, 63, 152, 0.1);
}

.calendario-search i.fa-search {
    color: #999;
    font-size: 14px;
}

.calendario-search input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #333;
}

.calendario-search input::placeholder {
    color: #999;
}

.calendario-search .search-clear {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.calendario-search .search-clear:hover {
    color: #666;
}

.calendario-search .search-btn {
    background: #7F3F98;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 12px;
}

.calendario-search .search-btn:hover {
    background: #6a3480;
}

.legenda-divider {
    width: 1px;
    height: 28px;
    background: #e0e0e0;
}

/* Resultados de busca */
.search-results-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 70vh;
    overflow: hidden;
    z-index: 1000;
    display: none;
}

.search-results-panel.show {
    display: block;
}

.search-results-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e9e9e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-results-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.search-results-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    padding: 4px;
}

.search-results-list {
    max-height: calc(70vh - 60px);
    overflow-y: auto;
    padding: 12px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f5f5f5;
}

.search-result-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e91e63;
}

.search-result-item .result-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: #f5f5f5;
}

.search-result-item .result-icon.feriado { color: #c62828; background: #ffebee; }
.search-result-item .result-icon.evento { color: #7F3F98; background: #f3e5f5; }
.search-result-item .result-icon.copa { color: #2e7d32; background: #e8f5e9; }
.search-result-item .result-icon.ferias { color: #0097a7; background: #e0f7fa; }
.search-result-item .result-icon.avaliacao { color: #ff9800; background: #fff3e0; }
.search-result-item .result-icon.estrategia { color: #3f51b5; background: #e8eaf6; }

.search-result-info {
    flex: 1;
}

.search-result-info .name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.search-result-info .date {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.search-result-info .type {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.search-no-results i {
    font-size: 32px;
    color: #ddd;
    margin-bottom: 12px;
}

/* Highlight em dias encontrados na busca */
.mini-day.search-highlight {
    animation: pulse-highlight 1s ease-in-out 3;
    box-shadow: 0 0 0 3px rgba(127, 63, 152, 0.4);
}

@keyframes pulse-highlight {
    0%, 100% { box-shadow: 0 0 0 3px rgba(127, 63, 152, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(127, 63, 152, 0.2); }
}

/* Overlay para resultados */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.search-overlay.show {
    display: block;
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.legenda-item:hover {
    background: #f0f0f0;
}

.legenda-item.filtro-inativo {
    opacity: 0.4;
}

.legenda-item.filtro-inativo .legenda-label {
    text-decoration: line-through;
}

.legenda-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: white;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.legenda-circle.feriado {
    color: #c62828;
    border-color: #ef5350;
}

.legenda-circle.evento {
    color: #7F3F98;
    border-color: #9c27b0;
}

.legenda-circle.copa {
    color: #2e7d32;
    border-color: #4caf50;
}

.legenda-circle.aniversario {
    color: #c2185b;
    border-color: #e91e63;
}

.legenda-circle.ferias {
    color: #00838f;
    border-color: #00bcd4;
}

.legenda-circle.avaliacao {
    color: #ef6c00;
    border-color: #ff9800;
}

.legenda-circle.estrategia {
    color: #1565c0;
    border-color: #2196f3;
}

.legenda-label {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

/* Navegacao do calendario */
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
}

.calendar-nav h2 {
    min-width: 200px;
    text-align: center;
    font-size: 1.4rem;
    color: #222;
    margin: 0;
    font-weight: 600;
}

.nav-btn {
    background: #7F3F98;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: #6a3580;
    transform: scale(1.05);
}

.today-btn {
    background: #222;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.today-btn:hover {
    background: #111;
}

/* Legenda */
.legend {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: #777;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.feriado {
    background: #e53935;
}

.dot.facultativo {
    background: #fb8c00;
}

.dot.municipal {
    background: #43a047;
}

.dot.aniversario {
    background: #e91e63;
}

.dot.evento {
    background: #3949ab;
}

.dot.copa {
    background: #2e7d32;
}

.dot.ferias {
    background: #00bcd4;
}

.dot.avaliacao {
    background: #ff9800;
}

.dot.estrategia {
    background: #2196f3;
}

/* Container do calendario */
.calendar-container {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.weekday {
    text-align: center;
    font-weight: 600;
    color: #7F3F98;
    padding: 8px;
    font-size: 0.85rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

/* Dias do calendario */
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8f9fa;
    position: relative;
    min-height: 70px;
}

.calendar-day:hover {
    background: #e9ecef;
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.empty:hover {
    background: transparent;
}

.calendar-day .day-number {
    font-weight: 600;
    font-size: 1rem;
    color: #222;
    margin-bottom: 4px;
}

.calendar-day.today {
    background: #7F3F98;
}

.calendar-day.today .day-number {
    color: white;
}

.calendar-day.today .event-name {
    color: rgba(255,255,255,0.8);
}

.calendar-day.weekend .day-number {
    color: #999;
}

/* Indicadores de eventos */
.event-indicators {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3px;
}

.event-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.event-dot.feriado {
    background: #e53935;
}

.event-dot.facultativo {
    background: #fb8c00;
}

.event-dot.feriadao {
    background: #7F3F98;
}

/* Dia com feriado */
.calendar-day.has-feriado {
    border: 2px solid #e53935;
    background: #ffebee;
}

.calendar-day.has-facultativo {
    border: 2px solid #fb8c00;
    background: #fff3e0;
}

.calendar-day.has-feriadao {
    border: 2px solid #7F3F98;
    background: #f3e5f5;
}

/* Nome do evento no dia */
.event-name {
    font-size: 0.6rem;
    color: #666;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    margin-top: 2px;
}

/* Painel de eventos */
.events-panel {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.events-panel h3 {
    margin: 0 0 16px 0;
    color: #222;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.events-panel h3 i {
    color: #7F3F98;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e9e9e9;
}

.event-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
    padding: 8px;
    background: #7F3F98;
    border-radius: 8px;
    color: white;
}

.event-date .day {
    font-size: 1.2rem;
    font-weight: 700;
}

.event-date .weekday-name {
    font-size: 0.65rem;
    text-transform: uppercase;
}

.event-info {
    flex: 1;
}

.event-info .title {
    font-weight: 600;
    color: #222;
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.event-info .type {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.event-info .type.feriado {
    background: #ffebee;
    color: #c62828;
}

.event-info .type.facultativo {
    background: #fff3e0;
    color: #e65100;
}

.event-info .type.municipal {
    background: #e8f5e9;
    color: #2e7d32;
}

.event-info .type.aniversario {
    background: #fce4ec;
    color: #c2185b;
}

.event-info .type.evento {
    background: #e8eaf6;
    color: #3949ab;
}

.event-info .type.copa {
    background: #e8f5e9;
    color: #2e7d32;
}

.event-info .type.ferias {
    background: #e0f7fa;
    color: #00838f;
}

.event-info .type.avaliacao {
    background: #fff3e0;
    color: #ef6c00;
}

.event-info .type.estrategia {
    background: #e3f2fd;
    color: #1565c0;
}


.no-events {
    text-align: center;
    color: #999;
    padding: 30px;
    font-style: italic;
}

/* Visao anual */
.year-overview {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 16px;
}

.year-overview h3 {
    margin: 0 0 16px 0;
    color: #222;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.year-overview h3 i {
    color: #7F3F98;
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 1200px) {
    .year-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .year-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .year-grid {
        grid-template-columns: 1fr;
    }
}

.mini-calendar {
    background: #f8f9fa;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mini-calendar:hover {
    background: #e9ecef;
    border-color: #7F3F98;
}

.mini-calendar.selected {
    border: 2px solid #7F3F98;
    background: #f3e5f5;
}

/* Mês atual - destaque sutil */
.mini-calendar.mes-atual {
    border: 2px solid #7F3F98;
}

.mini-calendar.mes-atual .month-name {
    color: #fff;
    background: #7F3F98;
    margin: -12px -12px 12px -12px;
    padding: 8px 12px;
    border-radius: 10px 10px 0 0;
    font-size: 0.9rem;
}

.mini-calendar .month-name {
    text-align: center;
    font-weight: 600;
    color: #7F3F98;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.mini-calendar .mini-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.mini-calendar .mini-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #666;
    border-radius: 6px;
    min-width: 42px;
    min-height: 42px;
    position: relative;
}

/* Dia atual - destaque roxo Silicon */
.mini-calendar .mini-day.today {
    background: #7F3F98 !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(127, 63, 152, 0.4);
}

.mini-calendar .mini-day.today.has-icons {
    background: #7F3F98 !important;
    box-shadow: 0 0 0 3px #7F3F98, 0 2px 8px rgba(127, 63, 152, 0.4);
}

/* Dias dentro do período de Avaliação de Desempenho - faixa laranja */
.mini-calendar .mini-day.periodo-avaliacao {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 1px solid #ffb74d;
}

.mini-calendar .mini-day.periodo-avaliacao:not(.has-icons) {
    color: #e65100;
    font-weight: 600;
}

/* Quando é dia atual E período de avaliação */
.mini-calendar .mini-day.today.periodo-avaliacao {
    background: #7F3F98 !important;
    border: 2px solid #ff9800;
}


/* Dias com eventos - esconde numero */
.mini-calendar .mini-day.has-icons {
    color: transparent !important;
    font-size: 0 !important;
    position: relative;
    overflow: visible;
}

/* Container unificado de icones (feriados + aniversarios) */
.mini-day-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    overflow: visible !important;
}

/* Circulo de feriado/evento com icone */
.mini-day-icons .holiday-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
    color: #7F3F98 !important;
    background: white;
    border: 2.5px solid #e0e0e0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

/* Feriado - vermelho */
.mini-day-icons .holiday-circle.feriado {
    color: #c62828 !important;
    border-color: #ef5350;
    box-shadow: 0 3px 10px rgba(198, 40, 40, 0.3);
}

/* Evento corporativo - roxo Silicon */
.mini-day-icons .holiday-circle.evento {
    color: #7F3F98 !important;
    border-color: #9c27b0;
    box-shadow: 0 3px 10px rgba(127, 63, 152, 0.3);
}

/* Copa do Mundo - verde */
.mini-day-icons .holiday-circle.copa {
    color: #2e7d32 !important;
    border-color: #4caf50;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

/* Férias Coletivas - ciano */
.mini-day-icons .holiday-circle.ferias {
    color: #00838f !important;
    border-color: #00bcd4;
    box-shadow: 0 3px 10px rgba(0, 131, 143, 0.3);
}

/* Avaliação de Desempenho - laranja */
.mini-day-icons .holiday-circle.avaliacao {
    color: #ef6c00 !important;
    border-color: #ff9800;
    box-shadow: 0 3px 10px rgba(239, 108, 0, 0.3);
}

/* Estratégias W - azul */
.mini-day-icons .holiday-circle.estrategia {
    color: #1565c0 !important;
    border-color: #2196f3;
    box-shadow: 0 3px 10px rgba(21, 101, 192, 0.3);
}

/* Fotos de aniversariantes */
.mini-day-icons img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #e91e63;
    box-shadow: 0 3px 10px rgba(233, 30, 99, 0.5);
}

/* Um item */
.mini-day-icons.single .holiday-circle,
.mini-day-icons.single img {
    width: 42px;
    height: 42px;
}
.mini-day-icons.single .holiday-circle {
    font-size: 24px !important;
}

/* Dois itens */
.mini-day-icons.double .holiday-circle,
.mini-day-icons.double img {
    width: 32px;
    height: 32px;
    margin: -5px;
}
.mini-day-icons.double .holiday-circle {
    font-size: 18px !important;
}

/* Três ou mais itens */
.mini-day-icons.multiple .holiday-circle,
.mini-day-icons.multiple img {
    width: 26px;
    height: 26px;
    margin: -6px;
}
.mini-day-icons.multiple .holiday-circle {
    font-size: 14px !important;
}

.mini-day-icons .more-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e91e63;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    margin: -6px;
}

/* Emoji de aniversário - SEMPRE visível */
.mini-day-icons .birthday-emoji {
    position: absolute;
    bottom: -8px;
    right: -8px;
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    z-index: 100;
    display: block !important;
}

.mini-day-icons.single .birthday-emoji {
    font-size: 20px;
    bottom: -8px;
    right: -8px;
}

.mini-day-icons.double .birthday-emoji,
.mini-day-icons.multiple .birthday-emoji {
    font-size: 16px;
    bottom: -6px;
    right: -12px;
}

.mini-calendar .mini-day.mini-header {
    font-weight: 600;
    color: #7F3F98;
}

.mini-calendar .mini-day.empty {
    background: transparent;
}

/* Tooltip customizado (mesmo padrão de projetos-execucao) */
.calendario-tooltip {
    position: fixed;
    max-width: 280px;
    background: rgba(0, 0, 0, 0.92);
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 12px;
    white-space: pre-line;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.calendario-tooltip.visible {
    opacity: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #222;
}

.modal-content h3 {
    margin: 0 0 12px 0;
    color: #222;
    font-size: 1.2rem;
}

.modal-content p {
    color: #555;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.event-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
}

.event-type-badge.feriado {
    background: #ffebee;
    color: #c62828;
}

.event-type-badge.facultativo {
    background: #fff3e0;
    color: #e65100;
}

.event-type-badge.municipal {
    background: #e8f5e9;
    color: #2e7d32;
}

.event-type-badge.aniversario {
    background: #fce4ec;
    color: #c2185b;
}

.event-type-badge.evento {
    background: #e8eaf6;
    color: #3949ab;
}

.event-type-badge.copa {
    background: #e8f5e9;
    color: #2e7d32;
}

.event-type-badge.ferias {
    background: #e0f7fa;
    color: #00838f;
}

.event-type-badge.avaliacao {
    background: #fff3e0;
    color: #ef6c00;
}

.event-type-badge.estrategia {
    background: #e3f2fd;
    color: #1565c0;
}

/* Aniversariante - foto no evento */
.event-item.aniversario-event {
    border-left: 3px solid #e91e63;
}

.event-item .aniversario-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e91e63;
    flex-shrink: 0;
}

.event-item .aniversario-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mini-calendar com múltiplos aniversários */
.mini-calendar .mini-day.aniversario-day.multiple-birthdays {
    box-shadow: 0 0 0 2px #e91e63;
}

/* Avatar stack para múltiplos aniversariantes */
.birthday-photos {
    display: flex;
    margin-left: auto;
}

.birthday-photos img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    margin-left: -8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.birthday-photos img:first-child {
    margin-left: 0;
}

.birthday-photos .more-count {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e91e63;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
    border: 2px solid white;
}

/* Responsivo */
@media (max-width: 768px) {
    .calendar-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .calendar-nav h2 {
        order: -1;
        width: 100%;
        font-size: 1.1rem;
    }

    .calendar-day {
        min-height: 55px;
        padding: 4px;
    }

    .calendar-day .day-number {
        font-size: 0.85rem;
    }

    .event-name {
        display: none;
    }

    .legend {
        gap: 12px;
    }
}
