/* 
   Responsive styles for Age Calculator
*/

/* Tablets and below */
@media (max-width: 992px) {
    .header-container {
        padding: 1rem;
    }
    .nav-links {
        display: none; /* Hide nav links on smaller screens for simplicity */
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .main-content {
        padding: 2rem 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .primary-result {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-box {
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .result-label {
        font-size: 1rem;
    }
    
    .result-value {
        font-size: 2rem;
        margin-bottom: 0;
    }
    
    .detailed-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .header-contact span {
        display: none; /* Hide @CodeYantra text, show only icon */
    }
    
    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        align-items: center;
    }
    
    .toast {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Very Small Devices */
@media (max-width: 480px) {
    .card-header h2 {
        font-size: 1.25rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .stat-value {
        font-size: 1rem;
    }
}
