

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

.input-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.date-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.date-input:focus {
    border-color: #4CAF50;
    outline: none;
}

.calculate-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.calculate-btn:hover {
    background-color: #45a049;
}

.result-section {
    margin-top: 25px;
    display: none;
}

.result-section.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.result-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.age-display {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.age-unit {
    text-align: center;
}

.age-number {
    font-size: 2em;
    color: #4CAF50;
    font-weight: bold;
    margin: 5px 0;
}

.age-label {
    color: #666;
    font-size: 0.9em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.error-message {
    color: #dc3545;
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

@media (max-width: 480px) {
    .calculator-container {
       
    }
    
    .age-display {
        flex-direction: column;
        gap: 15px;
    }
}

.input{
    margin:49px 30px;
}
