.age-calculator-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

.age-calculator-form {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: white;
}

.age-calculator-form h3 {
    margin-bottom: 25px;
    text-align: center;
    font-size: 24px;
    color: white;
}

.age-calculator-form h3 i {
    margin-right: 10px;
    color: #ffd700;
}

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

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

.form-group label i {
    margin-right: 8px;
    color: #ffd700;
}

.datetime-picker {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: black;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    text-align: center;
}

.datetime-picker:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.datetime-picker::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.calculate-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.calculate-btn:hover {
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.calculate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.age-result {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

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

.age-result h4 i {
    margin-right: 10px;
}

.age-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.age-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.age-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.age-item .value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.age-item .label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.error-message {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.5);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    color: #ff6b6b;
    font-weight: 600;
}

.error-message i {
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .age-calculator-container {
        padding: 15px;
    }
    
    .age-calculator-form {
        padding: 20px;
    }
    
    .age-details {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .age-item .value {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .age-details {
        grid-template-columns: 1fr;
    }
    
    .age-calculator-form h3 {
        font-size: 20px;
    }
    
    .calculate-btn {
        padding: 12px;
        font-size: 16px;
    }
}

/* jQuery UI Datepicker customization */
.ui-datepicker {
    background: black;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ui-datepicker-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: black;
    border-radius: 8px 8px 0 0;
}

.ui-datepicker-title {
    font-weight: 600;
}

.ui-datepicker-calendar th {
    color: #667eea;
    font-weight: 600;
    align-content: center;
}

.ui-datepicker-calendar td a {
    text-align: center;
    padding: 2px;
    border-radius: 0%;
    transition: background 0.3s ease;
}

.ui-datepicker-calendar td a:hover {
    background: #667eea;
    color: white;
    text-align: center;
}

.ui-datepicker-calendar .ui-state-active {
    background: #764ba2;
    color: red;
    border-radius: 50%;
    text-align: center;
}