.age-calculator-container {
    font-family: 'Arial', sans-serif;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.age-calculator-form h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.input-modes-container {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.input-mode {
    flex: 1;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

.form-group label i {
    margin-right: 8px;
    color: #3498db;
}

.birth-date-picker,
.birth-time-picker,
.manual-date-inputs input,
.manual-date-inputs select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.manual-date-inputs {
    display: flex;
    gap: 10px;
}

.manual-date-inputs input {
    text-align: center;
}

.manual-date-inputs select {
    flex-grow: 1;
}

.calculate-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calculate-btn:hover {
    background: #2980b9;
}

.age-result {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.age-result h4 {
    margin-top: 0;
    text-align: center;
}

.result-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.result-item {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.result-value {
    font-weight: bold;
    font-size: 18px;
    color: #3498db;
}

@media (max-width: 600px) {
    .input-modes-container {
        flex-direction: column;
    }
    
    .result-container {
        grid-template-columns: 1fr;
    }
}