/* Loan Payoff Calculator - Custom Styles */

/* Animation Effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Form Elements */
.form-group input:focus,
.form-group select:focus {
    outline: none;
}

/* Buttons */
button[type="submit"]:active {
    transform: scale(0.98);
}

/* Results Section */
#results {
    min-height: 400px;
}

/* Chart Container */
#loan-chart {
    max-width: 100%;
    height: auto;
}

/* FAQ Section */
#faq .bg-gray-50 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#faq .bg-gray-50:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .text-4xl {
        font-size: 2.5rem;
    }
    
    .text-3xl {
        font-size: 2rem;
    }
    
    .text-xl {
        font-size: 1.5rem;
    }
    
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .text-4xl {
        font-size: 2rem;
    }
    
    .text-3xl {
        font-size: 1.75rem;
    }
    
    .px-8 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Utilities */
.text-blue-600 {
    color: #2563eb;
}

.text-blue-700 {
    color: #1d4ed8;
}

.text-blue-800 {
    color: #1e40af;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-blue-700 {
    background-color: #1d4ed8;
}

.bg-green-50 {
    background-color: #ecfdf5;
}

.bg-green-200 {
    background-color: #bbf7d0;
}

.text-green-600 {
    color: #059669;
}

.text-green-700 {
    color: #047857;
}