/**
 * Advance Tax Calculator Styles
 *
 * Custom styles for the Advance Tax Calculator.
 *
 * @package Smart_Calc_Child
 */

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(38, 162, 105, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(38, 162, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(38, 162, 105, 0); }
}

/* General Styles */
.transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.hover\:scale-102:hover {
    transform: scale(1.02);
}

/* Hero Section Animations */
.hero-section {
    animation: fadeIn 0.8s ease-out;
}

.hero-section .relative > * {
    animation: slideUp 0.8s ease-out;
}

/* Calculator Section */
#calculator {
    animation: fadeIn 1s ease-out;
}

#calculator button[type="submit"] {
    animation: pulse 2s infinite;
}

#results-section {
    animation: slideUp 0.6s ease-out;
}

/* Charts */
#quarterly-chart, #tax-breakdown-chart {
    transition: all 0.3s ease;
}

/* Form Elements */
.faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-toggle i.rotate-180 {
    transform: rotate(180deg);
}

.faq-content {
    transition: all 0.3s ease;
}

/* Cards */
.bg-gradient-to-br {
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Dark Mode Adjustments */
@media (prefers-color-scheme: dark) {
    .text-green-600 {
        color: #26a269;
    }
    
    .bg-gradient-to-br.from-green-800 {
        background-size: 200% 200%;
        animation: gradientAnimation 15s ease infinite;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section .md\:w-1\/2 {
        padding: 2rem 1.5rem;
    }
    
    .absolute.bottom-10.right-10 {
        bottom: 0;
        right: 0;
    }
}

/* Print Styles */
@media print {
    .container-custom {
        max-width: 100%;
        padding: 0;
    }
    
    #calculator,
    .hero-section,
    .breadcrumb,
    #advance-tax-explained,
    .faq-section,
    .cta-section,
    footer {
        display: none !important;
    }
    
    #results-section {
        display: block !important;
        animation: none;
        box-shadow: none;
        border: 1px solid #eee;
    }
    
    button {
        display: none !important;
    }
} 