:root {
    /* Colores originales modificados */
    --primary-color: #007A47; /* Verde Febimbo más oscuro y elegante */
    --secondary-color: #F2B705; /* Amarillo dorado más suave */
    --primary-light: rgba(0, 122, 71, 0.07);
    --secondary-light: rgba(242, 183, 5, 0.08);
    --accent-color: #5E8C6F;
    --neutral-light: #F5F5F5;
    --neutral-medium: #E8E8E8;
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #FFFFFF;
    --today-bg: rgba(0, 122, 71, 0.1);
    --birthday-indicator: rgba(242, 183, 5, 0.9);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}


/* Hero Section */
.hero {
    position: relative;
   
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    position: relative;
    z-index: 2;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

/* Elementos decorativos para la imagen */
.image-decoration {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 10px;
    z-index: 1;
}

.dots-decoration {
    position: absolute;
    top: -15px;
    right: -15px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    z-index: 1;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

/* Elementos decorativos para el hero en general */
.decoration {
    position: absolute;
    opacity: 0.15;
    z-index: 1;
}

.decoration-circle-1 {
    top: 40px;
    left: 10%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

.decoration-circle-2 {
    bottom: 30px;
    right: 15%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary-color);
}

.decoration-square {
    top: 60px;
    right: 10%;
    width: 80px;
    height: 80px;
    transform: rotate(45deg);
    background-color: var(--secondary-color);
}

.decoration-dots {
    bottom: 40px;
    left: 20%;
    display: flex;
    flex-wrap: wrap;
    width: 80px;
    gap: 8px;
}

.page-header {
    position: relative;
}

.page-header h1 {
    color: #333;
    font-size: 50px;
    margin-bottom: 5px;
    font-weight: 700;
}

.page-header .subtitle {
    color: var(--secondary-color);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin-top: 15px;
    margin-bottom: 20px;
}

.official-tag {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.month-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 150, 57, 0.2);
}

.month-display .icon {
    margin-right: 10px;
}

.calendar-container {
   background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid var(--neutral-medium);
}

.calendar-header {
   display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: linear-gradient(to right, var(--primary-color), #0A8C52);
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
    padding: 15px 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid var(--neutral-medium);
}

.calendar-day {
   position: relative;
    min-height: 120px;
    padding: 10px;
    border-right: 1px solid var(--neutral-medium);
    border-bottom: 1px solid var(--neutral-medium);
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
}

.calendar-day:hover {
    background-color: rgba(0, 122, 71, 0.03);
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.day-number {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

/* NUEVOS ESTILOS MODERNOS PARA INDICADORES DE CUMPLEAÑOS */

/* Indicador visual (punto) para días con cumpleaños */
.birthday-indicator {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--birthday-indicator);
    box-shadow: 0 0 5px rgba(242, 183, 5, 0.3);
}

/* Efecto de crecimiento al pasar el mouse */
.calendar-day:hover .birthday-indicator {
    transform: scale(1.5);
}

/* Efecto pulsante para indicador en el día actual */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 122, 71, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(0, 122, 71, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 122, 71, 0); }
}
.calendar-day.today .birthday-indicator {
    background-color: var(--primary-color);
    animation: pulse 2s infinite;
}

/* Botón para expandir lista de cumpleaños */
.birthday-toggle {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--secondary-light);
    border: 1px solid var(--birthday-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.birthday-toggle:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.birthday-toggle .icon {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: var(--text-medium);
}

.birthday-toggle:hover .icon {
    color: white;
}

.birthday-toggle .icon.rotated {
    transform: rotate(180deg);
}

/* ---- FIN DE NUEVOS ELEMENTOS ---- */

.calendar-day.has-birthday .day-number {
   color: #060606;
    font-weight: 700;
}

.calendar-day.today {
    background-color: var(--today-bg);
    box-shadow: inset 0 0 0 1px rgba(0, 122, 71, 0.2);
}

.calendar-day.today .day-number {
     color: white;
    background-color: var(--primary-color);
    font-weight: 700;
}

.calendar-day.other-month {
    background-color: #FAFAFA;
    color: #BBBBBB;
}
.calendar-day.other-month .day-number {
    color: #BBBBBB;
}
/* Lista de cumpleaños (modificado para muchos nombres) */
.birthday-list {
    position: absolute;
    top: 38px;
    left: 5px;
    right: 5px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    padding: 8px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.05);
}


/* MODAL DE CUMPLEAÑOS - NUEVO */
.birthday-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.birthday-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.birthday-modal {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.birthday-modal-overlay.show .birthday-modal {
    transform: translateY(0);
}

.birthday-modal-header {
    background: linear-gradient(135deg, var(--primary-color), #0A9A5B);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.birthday-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.birthday-modal-date {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 5px;
}

.birthday-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.birthday-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.birthday-modal-content {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}



.birthday-list.expanded {
    max-height: 300px; /* Mayor altura para listas largas */
    opacity: 1;
    overflow-y: auto;
}

/* Estilo simplificado para los items de cumpleaños - SIN borde, SIN fondo */
.birthday-item {
    display: flex;
    align-items: center;
    margin-bottom: 3px; /* Espacio mínimo entre nombres */
    padding: 2px 4px; /* Padding mínimo */
    white-space: normal;
    word-break: break-word;
    line-height: 1.2; /* Altura de línea más compacta */
    transition: transform 0.2s ease;
}

.birthday-item:hover {
    transform: translateX(2px);
}

.birthday-item .icon {
    flex-shrink: 0;
    color: var(--secondary-color);
    margin-right: 3px; /* Menos espacio */
    display: inline-block;
    width: 8px; /* Ícono más pequeño */
    height: 8px; /* Ícono más pequeño */
}

.birthday-item .name {
    font-size: 9px; /* Letra más pequeña */
    display: inline-block;
    text-transform: lowercase;
    color: var(--text-medium);
    font-weight: 500;
}

.birthday-legend {
        display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    background-color: white;
    padding: 8px 15px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: fit-content;
    margin: 0 auto 20px;
}

.info-text {
    text-align: center;
    margin-top: 20px;
    color: var(--text-medium);
    font-size: 14px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 8px;
}

/* Actualizar el estilo de la leyenda para que coincida con los nuevos indicadores */
.legend-birthday {
    position: relative;
    background-color: white;
    border: 1px solid var(--neutral-medium);
}

.legend-birthday::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--birthday-indicator);
}

.legend-today {
    background-color: var(--today-bg);
    border: 1px solid rgba(0, 122, 71, 0.2);
}


.birthday-count {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-medium);
}
.birthday-person-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.birthday-person {
    background-color: var(--neutral-light);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.birthday-person:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.birthday-person-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--secondary-light);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
}

.birthday-person-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}.birthday-confetti {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 16px;
    background: var(--secondary-color);
    top: -100px;
    opacity: 0;
}
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .calendar-day {
        min-height: 100px;
    }
    
    .birthday-item {
        padding: 2px 3px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header .subtitle {
        font-size: 24px;
    }
    
    .decoration-circle-1 {
        width: 70px;
        height: 70px;
    }
    
    .decoration-square {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    
    .birthday-person-list {
        grid-template-columns: 1fr;
    }
    
    .birthday-modal {
        width: 95%;
    }
    .container {
        padding: 0 10px 20px;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero-image {
        max-width: 400px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header .subtitle {
        font-size: 22px;
    }
    
    .month-display {
        font-size: 16px;
        padding: 8px 20px;
    }
    
    .calendar-day {
         min-height: 70px;
        padding: 6px;
    }
    
    .day-number {
       width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .birthday-indicator {
        width: 6px;
        height: 6px;
    }
    
    .birthday-toggle {
        width: 20px;
        height: 20px;
    }
    
    .birthday-item {
        margin-bottom: 2px;
    }
    
    .birthday-item .name {
        font-size: 9px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 25px 0;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .image-decoration, .dots-decoration {
        display: none;
    }
    
    .decoration-circle-1, .decoration-circle-2 {
        display: none;
    }
    
    .decoration-dots {
        width: 50px;
    }
    
    .decoration-square {
        width: 40px;
        height: 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header .subtitle {
        font-size: 20px;
    }
    
    .month-display {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .calendar-header {
        font-size: 12px;
    }
    
    .calendar-day {
        min-height: 70px;
        padding: 6px 3px;
    }
    
    .day-number {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: 3px;
        right: 3px;
    }
    
    .birthday-indicator {
        width: 5px;
        height: 5px;
        top: 6px;
        left: 6px;
    }
    
    .birthday-toggle {
        width: 18px;
        height: 18px;
        bottom: 3px;
        right: 3px;
    }
    
    .birthday-list {
        top: 30px;
    }
    
    .birthday-item {
        margin-bottom: 1px;
        padding: 1px 2px;
    }
    
    .birthday-item .name {
        font-size: 8px;
    }
    
    .birthday-item .icon {
        width: 6px;
        height: 6px;
        margin-right: 2px;
    }
}