/* Pregnancy Calculator Styles with Manrope Font */
.pregnancy-calculator-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #eeeeee;
    border-radius: 16px;
    border: 1px solid #bbbbbb;
}

/* Card Style */
.calculator-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #bbbbbb;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Header Styles */
.calculator-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0;
    background: transparent;
}

.calculator-title {
    font-size: 2.5em;
    margin: 0 0 15px 0;
    font-weight: 700;
    color: #1976ea;
    font-family: 'Manrope', sans-serif;
}

.calculator-description {
    font-size: 1.2em;
    margin: 0;
    color: #000000;
    font-weight: 400;
    font-family: 'Manrope', sans-serif;
}

/* Input Section */
.input-section {
    background: #ffffff;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #000000;
    font-size: 1.1em;
    font-family: 'Manrope', sans-serif;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #bbbbbb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #ffffff;
    color: #000000;
    font-family: 'Manrope', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #1976ea;
    box-shadow: 0 0 0 3px rgba(25, 118, 234, 0.1);
}

.form-help {
    display: block;
    margin-top: 8px;
    color: #666666;
    font-size: 0.9em;
    font-family: 'Manrope', sans-serif;
}

/* Button Styles */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calculate-button, .reset-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
}

.calculate-button {
    background: #1976ea;
    color: white;
}

.calculate-button:hover {
    background: #219b92;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 155, 146, 0.3);
}

.reset-button {
    background: #1976ea;
    color: white;
}

.reset-button:hover {
    background: #219b92;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 155, 146, 0.3);
}

/* Results Section */
.results-section {
    background: #ffffff;
}

.results-title {
    text-align: center;
    color: #1976ea;
    margin-bottom: 30px;
    font-size: 1.8em;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #bbbbbb;
    border-top: 4px solid #1976ea;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.result-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.result-label {
    font-size: 1.1em;
    color: #000000;
    margin: 0 0 12px 0;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
}

.result-value {
    font-size: 1.4em;
    color: #1976ea;
    margin: 0 0 8px 0;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
}

.result-description {
    font-size: 0.9em;
    color: #666666;
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

/* Timeline Styles */
.pregnancy-timeline {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #bbbbbb;
}

.timeline-title {
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
}

.timeline-bar {
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid #bbbbbb;
}

.timeline-progress {
    height: 100%;
    background: linear-gradient(90deg, #1976ea, #219b92);
    border-radius: 10px;
    transition: width 1s ease-in-out;
    width: 0%;
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #000000;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
}

/* Error and Disclaimer */
.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ffcdd2;
    margin: 20px 0;
    font-family: 'Manrope', sans-serif;
}

.disclaimer {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #1976ea;
    font-size: 0.9em;
    color: #000000;
    font-family: 'Manrope', sans-serif;
}

/* Pregnancy Information Section */
.pregnancy-info-section {
    background: #ffffff;
}

.info-header h2 {
    text-align: center;
    color: #1976ea;
    margin-bottom: 25px;
    font-size: 1.8em;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.info-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #bbbbbb;
    border-top: 4px solid #1976ea;
}

.info-card h3 {
    color: #1976ea;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 700;
    border-bottom: 2px solid #1976ea;
    padding-bottom: 10px;
    font-family: 'Manrope', sans-serif;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #000000;
    line-height: 1.6;
    font-family: 'Manrope', sans-serif;
}

.info-card li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #1976ea;
    font-weight: bold;
    font-size: 1.2em;
}

.trimester-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #bbbbbb;
}

.trimester-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.trimester-item strong {
    display: block;
    color: #1976ea;
    margin-bottom: 5px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
}

.trimester-item span {
    color: #000000;
    font-size: 0.95em;
    font-family: 'Manrope', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pregnancy-calculator-container {
        padding: 20px;
        margin: 15px;
    }
    
    .calculator-card {
        padding: 20px;
    }
    
    .calculator-title {
        font-size: 2em;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .result-card, .info-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .pregnancy-calculator-container {
        padding: 15px;
        margin: 10px;
    }
    
    .calculator-card {
        padding: 15px;
    }
    
    .calculator-title {
        font-size: 1.8em;
    }
    
    .calculator-description {
        font-size: 1em;
    }
    
    .form-input {
        padding: 12px;
    }
    
    .calculate-button, .reset-button {
        padding: 14px;
        font-size: 1em;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .calculate-button:hover,
    .reset-button:hover,
    .result-card:hover {
        transform: none;
    }
}

/* Focus styles for keyboard navigation */
.form-input:focus,
.calculate-button:focus,
.reset-button:focus {
    outline: 2px solid #1976ea;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .pregnancy-calculator-container {
        background: white;
        border: 1px solid #000;
    }
    
    .calculate-button, .reset-button {
        display: none;
    }
}