/* Additional custom styles beyond Tailwind CSS */

/* Custom tooltip styles */
[data-tooltip] {
    position: relative;
    cursor: help;
}

/* Animation for loading spinner */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.pulse-animation {
    animation: pulse 2s infinite ease-in-out;
}

/* Transitions for recommendation items */
.recommendation-item {
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    transform: translateX(5px);
}

/* Custom scrollbar for modern browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #2196F3;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1976D2;
}

/* Focus styles for better accessibility */
input:focus, 
select:focus, 
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
}

/* Print styles */
@media print {
    body {
        background-color: white;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    button {
        display: none;
    }
    
    #gfiCalculatorForm {
        display: none;
    }
    
    #resultsSection {
        display: block !important;
    }
    
    header, footer {
        display: none;
    }
}
