.gebelik-calculator {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
}

.gebelik-calculator h3 {
    color: #e91e63;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

.date-inputs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.date-inputs select {
    flex: 1;
    min-width: 100px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    transition: border-color 0.3s ease;
}

.date-inputs select:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-group input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input[type="date"]:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.btn-hesapla {
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-hesapla:hover {
    background: linear-gradient(135deg, #d81b60, #ec407a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.btn-hesapla:active {
    transform: translateY(0);
}

.result-container {
    margin-top: 30px;
    animation: fadeIn 0.5s ease-in;
}

.result-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #e91e63;
}

.result-box h4 {
    color: #e91e63;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.result-item {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item strong {
    color: #e91e63;
    margin-right: 10px;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #e91e63;
    font-size: 18px;
    font-weight: 500;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #e91e63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

.gebelik-warning {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #ffc107;
}

.gebelik-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #17a2b8;
}

@media (max-width: 768px) {
    .gebelik-calculator {
        margin: 10px;
        padding: 20px;
    }
    
    .gebelik-calculator h3 {
        font-size: 20px;
    }
    
    .btn-hesapla {
        font-size: 16px;
        padding: 12px 25px;
    }
    
    .date-inputs {
        flex-direction: column;
        gap: 15px;
    }
    
    .date-inputs select {
        min-width: auto;
    }
}