.age-calculator-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

.age-calculator-container h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.age-calculator-container h2 i {
    margin-right: 12px;
    color: #e74c3c;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #34495e;
    font-size: 15px;
}

.form-group label i {
    margin-right: 10px;
    width: 20px;
    color: #3498db;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #7f8c8d;
}

.calculate-btn {
    width: 100%;
    padding: 14px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.calculate-btn:hover {
    background: #2980b9;
}

.calculate-btn i {
    margin-right: 10px;
}

.age-results {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.age-results h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}

.age-results h3 i {
    margin-right: 12px;
    color: #27ae60;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin: 18px 0;
    font-size: 16px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e1e1e1;
}

.result-item.total {
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-top: 25px;
    margin-bottom: 0;
}

.result-label {
    font-weight: 600;
    color: #34495e;
}

.result-value {
    font-weight: 700;
    color: #e74c3c;
}

.result-item.total .result-value {
    color: #27ae60;
    font-size: 18px;
}

/* Responsive styles */
@media (max-width: 600px) {
    .age-calculator-container {
        padding: 20px;
    }
}

/* Datepicker customization */
.ui-datepicker {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.ui-datepicker-header {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 3px;
}

.ui-datepicker-prev, .ui-datepicker-next {
    cursor: pointer;
}

.ui-datepicker-title {
    font-weight: 600;
}

.ui-datepicker-calendar th {
    color: #3498db;
}

.ui-datepicker-calendar td a {
    text-align: center;
    color: #2c3e50;
}

.ui-datepicker-calendar td a:hover {
    background: #3498db;
    color: white;
}

.ui-datepicker-current-day a {
    background: #2980b9;
    color: white !important;
}