/* Custom styling for TDS Calculator (India FY 2025-26) */

body {
    background-color: #030304;
    -webkit-tap-highlight-color: transparent;
}

/* Glassmorphism Cards */
.apple-glass {
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(16, 185, 129, 0.08);
}

.apple-card {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, rgba(16, 185, 129, 0.01) 100%);
    border: 1px solid rgba(16, 185, 129, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-card:hover {
    border-color: rgba(16, 185, 129, 0.15);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.text-glow-emerald {
    text-shadow: 0 0 35px rgba(16, 185, 129, 0.4);
}

.bg-subtle-grid-emerald {
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(16, 185, 129, 0.01) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(16, 185, 129, 0.01) 1px, transparent 1px);
}

/* Range Inputs */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #10b981;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.25);
}

/* Custom Scrollbars */
.custom-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.2);
    border-radius: 9999px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.4);
}

/* Accordion transition classes */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.open {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

/* Highlight badge pulse */
@keyframes soft-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

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