/* Custom styles for Birth Date Calculator */

/* Ensure proper spacing on small screens */
@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h1.display-4 {
        font-size: 2.2rem;
    }
}

/* Subtle transition effects */
.form-control:focus {
    transition: box-shadow 0.3s ease;
}

/* Enhance visual feedback for interactive elements */
.btn {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

/* Style the result boxes */
#resultsSection article div {
    transition: all 0.3s ease;
}

#resultsSection article div:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Animated entrance for results */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#resultsSection.show {
    animation: fadeIn 0.5s ease forwards;
}

/* Styling for the social sharing buttons */
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

/* Add tooltip styling */
[data-bs-toggle="tooltip"] {
    cursor: help;
}

/* Custom focus styles for better accessibility */
:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* Make date inputs more visible in dark theme */
input[type="date"] {
    color-scheme: dark;
}