.age-calculator-wrapper {
    max-width: 600px;
    margin: 20px auto;
    padding: 0 15px;
}

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

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

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

.input-section {
    margin-bottom: 20px;
}

.input-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.date-time-picker {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

.calculate-button {
    width: 100%;
    padding: 15px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.calculate-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.result-section {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.result-section h4 {
    text-align: center;
    margin-bottom: 20px;
}

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

.age-item {
    text-align: center;
    padding: 15px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
}

.age-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
}

.age-label {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}

.error-message {
    background: rgba(255,0,0,0.1);
    border: 1px solid rgba(255,0,0,0.3);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-top: 15px;
    color: #ff6b6b;
}

/* Responsive */
@media (max-width: 768px) {
    .age-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .age-results {
        grid-template-columns: 1fr;
    }
    
    .age-calculator-box {
        padding: 20px 15px;
    }
}