/* Estilos Modernos para el Calendario */
.bc-modern-calendar {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 30px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bc-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.bc-calendar-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.bc-calendar-nav button {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
}

.bc-calendar-nav button:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.bc-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.bc-weekday {
    text-align: center;
    font-weight: 600;
    color: #4a5568;
    padding: 10px;
}

.bc-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.bc-day {
    position: relative;
    background: #f7fafc;
    border-radius: 12px;
    padding: 15px;
    min-height: 80px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.bc-day:hover {
    background: #edf2f7;
    border-color: #4299e1;
}

.bc-day.has-birthday {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.bc-day-number {
    font-size: 20px;
    font-weight: 600;
}

.bc-birthday-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 12px;
}

/* Tarjetas de Cumpleaños */
.bc-card-modern {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    margin: 20px 0;
}

.bc-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bc-card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.bc-badge {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.bc-birthday-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.bc-birthday-item:hover {
    background: #f7fafc;
}

.bc-birthday-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4299e1 0%, #667eea 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin-right: 15px;
}

.bc-birthday-info {
    flex: 1;
}

.bc-birthday-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

.bc-birthday-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #718096;
}

.bc-zodiac-signs {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

.bc-zodiac, .bc-chinese {
    background: #f7fafc;
    padding: 3px 10px;
    border-radius: 15px;
    color: #4a5568;
}

.bc-contact-info {
    display: flex;
    gap: 10px;
}

.bc-contact-icon {
    width: 35px;
    height: 35px;
    background: #f7fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.bc-contact-icon:hover {
    background: #4299e1;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .bc-days {
        grid-template-columns: repeat(7, 1fr);
        gap: 5px;
    }
    
    .bc-day {
        padding: 10px;
        min-height: 60px;
    }
    
    .bc-birthday-item {
        flex-direction: column;
        text-align: center;
    }
    
    .bc-birthday-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .bc-contact-info {
        margin-top: 10px;
    }
}
/* Estado de carga */
.bc-modern-calendar.bc-loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.bc-modern-calendar.bc-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: bc-spin 1s linear infinite;
    z-index: 1000;
}

@keyframes bc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mejoras para los tooltips */
.bc-birthday-indicator {
    position: relative;
    cursor: pointer;
}

.bc-birthday-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    min-width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 12px;
    margin-bottom: 12px;
    z-index: 1000;
    border: 1px solid #e2e8f0;
}

.bc-birthday-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 15px;
    width: 16px;
    height: 16px;
    background: white;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    transform: rotate(45deg);
}

.bc-birthday-indicator:hover .bc-birthday-tooltip {
    display: block;
    animation: bc-fadeIn 0.3s ease;
}

@keyframes bc-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bc-tooltip-item {
    padding: 10px;
    border-bottom: 1px solid #edf2f7;
}

.bc-tooltip-item:last-child {
    border-bottom: none;
}

.bc-tooltip-item strong {
    display: block;
    color: #2d3748;
    font-size: 14px;
    margin-bottom: 2px;
}

.bc-tooltip-item span {
    display: block;
    color: #718096;
    font-size: 12px;
    margin-bottom: 2px;
}

.bc-tooltip-item small {
    display: block;
    color: #a0aec0;
    font-size: 11px;
}

/* Botones de navegación mejorados */
.bc-calendar-nav button {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    font-weight: 600;
    color: #4a5568;
}

.bc-calendar-nav button:hover {
    background: #4299e1;
    border-color: #4299e1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.bc-calendar-nav button:active {
    transform: translateY(0);
}
/* Contenedor principal */
.bc-calendar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Estilos para la lista de cumpleaños mejorada */
.bc-month-list-container {
    transition: opacity 0.3s ease;
}

.bc-month-list-container.bc-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.bc-month-list-container.bc-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: bc-spin 1s linear infinite;
}

/* Separador de días */
.bc-day-separator {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 8px 20px;
    margin: 10px 0 5px 0;
    border-radius: 30px;
    font-weight: 600;
    color: #4a5568;
    border-left: 4px solid #667eea;
}

.bc-day-badge {
    background: #667eea;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 13px;
}

/* Estado vacío */
.bc-no-birthdays {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.bc-empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.bc-no-birthdays p {
    font-size: 18px;
    margin-bottom: 10px;
    color: #4a5568;
}

.bc-no-birthdays small {
    color: #a0aec0;
}

/* Año en el header */
.bc-month-year {
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 14px;
    margin-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .bc-calendar-wrapper {
        gap: 20px;
    }
    
    .bc-day-separator {
        margin: 5px 0;
        padding: 6px 15px;
    }
}