/* Calculadora de Días Fértiles - Estilos específicos */

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

/* Hero Section */
.hero-fertiles {
    background-color: #fff0f5;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 8px;
}

/* Main Calculator */
.calculator-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

/* Information Cards */
.info-card {
    background-color: #f8f9fa;
    border-left: 4px solid #e83e8c;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.tip-card {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.definition-card {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Calendar Visualization */
.cycle-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin: 1.5rem 0;
}

.calendar-day {
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: 500;
    font-size: 0.9rem;
}

.calendar-day-header {
    font-weight: bold;
    text-align: center;
    padding: 5px 0;
}

.day-regular {
    background-color: #f8f9fa;
    color: #6c757d;
}

.day-menstruation {
    background-color: #e83e8c;
    color: white;
}

.day-fertile {
    background-color: #20c997;
    color: white;
}

.day-ovulation {
    background-color: #fd7e14;
    color: white;
}

/* Results Display */
.calculation-result {
    background-color: #f0f9ff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: none;
}

/* Chart Styles */
.chart-container {
    width: 100%;
    height: 300px;
    margin: 1.5rem 0;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1.5rem;
}

.faq-question {
    font-weight: 600;
    color: #e83e8c;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.faq-answer {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 3px solid #e9ecef;
}

/* Steps Section */
.step-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background-color: #e83e8c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hormone Chart */
.hormone-chart {
    position: relative;
    height: 250px;
    margin: 2rem 0;
    border-bottom: 2px solid #dee2e6;
}

.estrogen-line {
    position: absolute;
    width: 100%;
    height: 100px;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(32, 201, 151, 0.1) 0%, 
        rgba(32, 201, 151, 0.3) 30%, 
        rgba(32, 201, 151, 0.5) 50%, 
        rgba(32, 201, 151, 0.8) 80%, 
        rgba(32, 201, 151, 0.2) 100%);
    clip-path: polygon(0 100%, 10% 80%, 25% 60%, 50% 20%, 75% 70%, 90% 90%, 100% 100%);
}

.progesterone-line {
    position: absolute;
    width: 100%;
    height: 120px;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(253, 126, 20, 0.1) 0%, 
        rgba(253, 126, 20, 0.1) 50%, 
        rgba(253, 126, 20, 0.3) 60%, 
        rgba(253, 126, 20, 0.8) 80%, 
        rgba(253, 126, 20, 0.2) 100%);
    clip-path: polygon(0 100%, 50% 100%, 60% 70%, 80% 30%, 90% 60%, 100% 80%, 100% 100%);
}

.hormone-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 10px;
    border-radius: 3px;
}

.estrogen-color {
    background-color: rgba(32, 201, 151, 0.8);
}

.progesterone-color {
    background-color: rgba(253, 126, 20, 0.8);
}

/* Phase Indicators */
.cycle-phases {
    display: flex;
    margin: 2rem 0;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.phase {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 500;
}

.phase-menstrual {
    background-color: #e83e8c;
    width: 20%;
}

.phase-follicular {
    background-color: #6f42c1;
    width: 30%;
}

.phase-ovulatory {
    background-color: #fd7e14;
    width: 10%;
}

.phase-luteal {
    background-color: #20c997;
    width: 40%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cycle-calendar {
        grid-template-columns: repeat(7, 1fr);
        gap: 2px;
    }
    
    .calendar-day {
        font-size: 0.8rem;
    }
    
    .cycle-phases {
        flex-direction: column;
        height: auto;
    }
    
    .phase {
        width: 100% !important;
        padding: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hormone-legend {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
} 