/* Custom Styles for E85 Calculator */

/* Premium Gradient Animation */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradientMove 6s ease infinite;
}

/* Calculator Inputs */
input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981; /* Emerald 500 */
    cursor: pointer;
    transition: background .15s ease-in-out;
}

.range-slider::-webkit-slider-thumb:hover {
    background: #059669; /* Emerald 600 */
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .glass-card {
    background: rgba(30, 41, 59, 0.9); /* Slate 800 */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Result Box Highlight */
.result-box {
    transition: all 0.3s ease;
}
.result-box.highlight {
    transform: scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2); /* Emerald glow */
}
