﻿.maternity-calc-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.maternity-calc-container h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.calc-row {
    margin-bottom: 15px;
}

.calc-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.calc-row input,
.calc-row select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.calc-button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.calc-button:hover {
    background: #005a87;
}

.calc-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.calc-result {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.result-details ul {
    list-style-type: none;
    padding: 0;
}

.result-details li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.warning {
    color: #d63638;
    font-weight: bold;
}

.error {
    color: #d63638;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    background: #ffeaea;
    border: 1px solid #d63638;
    border-radius: 4px;
}

.final-result {
    margin-top: 20px;
    padding: 15px;
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 4px;
    text-align: center;
}

.final-result h4 {
    margin: 0;
    color: #2e7d32;
    font-size: 18px;
}

@media (max-width: 600px) {
    .maternity-calc-container {
        margin: 10px;
        padding: 15px;
    }
}