.age-calculator-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 0px;
    border:1px #ddd solid;
}
.ui-datepicker {
    z-index: 99999 !important;
}
 

.age-calculator-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2C3E50;
    font-weight: 600;
    font-size: 16px;
}

.form-group label i {
    margin-right: 10px;
    color: #2C3E50;
}

.datetime-picker {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #2C3E50;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.datetime-picker:hover,
.datetime-picker:focus {
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.calculate-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.calculate-btn:hover {
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.calculate-btn:active {
    transform: translateY(0);
}

.calculate-btn i {
    margin-right: 10px;
}

.age-result {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.result-header {
    text-align: center;
    margin-bottom: 25px;
}

.result-header h3 {
    color: #2c3e50;
    margin: 10px 0 0 0;
    font-size: 24px;
}

.result-header i {
    font-size: 36px;
    color: #e74c3c;
}

.result-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.age-unit {
    background: linear-gradient(135deg, #3498db, #2980b9);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    color: white;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.age-unit:hover {
    transform: scale(1.05);
}

.age-unit span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffd700;
}

.loading {
    text-align: center;
    color: white;
    font-size: 18px;
    padding: 20px;
}

.loading i {
    margin-right: 10px;
    color: #ffd700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .age-calculator-container {
        margin: 20px;
        padding: 20px;
    }
    
    .result-content {
        grid-template-columns: 1fr;
    }
    
    .age-unit {
        padding: 12px;
    }
    
    .age-unit span {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .age-calculator-container {
        margin: 10px;
        padding: 15px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .datetime-picker {
        padding: 12px;
        font-size: 14px;
    }
    
    .calculate-btn {
        padding: 12px;
        font-size: 16px;
    }
    
    .result-header h3 {
        font-size: 20px;
    }
}

/* Animation for number updates */
.age-unit span {
    transition: all 0.3s ease;
}

/* UI DatePicker Customization */
.ui-datepicker {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ui-datepicker-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px 10px 0 0;
}

.ui-datepicker-title select {
    background: rgba(255, 255, 255, 0.2);
    color: #5b5b5b;
    border: none;
}

.ui-datepicker-calendar .ui-state-active {
    background: #667eea;
    color: white;
    border-radius: 50%;
}