/**
 * SaveScale - Custom Styles
 */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom selection color */
::selection {
    background-color: rgba(16, 185, 129, 0.3);
    color: white;
}

/* Card glow effect on hover */
.hover\:border-emerald-500\/30:hover {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

/* Gradient text animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Summary marker removal for FAQ */
details summary::-webkit-details-marker {
    display: none;
}

details summary::marker {
    display: none;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Form input autofill styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px #1e293b inset;
    -webkit-text-fill-color: white;
    caret-color: white;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease;
}

/* Mobile menu improvements */
@media (max-width: 640px) {
    nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Hide scrollbar but keep functionality */
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
