/* Net Worth Calculator Custom Styling */

.apple-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark .apple-glass {
    background: rgba(18, 18, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.text-glow {
    text-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

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

/* Custom Scrollbar for Snapshot History */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

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

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

/* Input focus styling in light theme */
html:not(.dark) input[type="number"],
html:not(.dark) input[type="text"],
html:not(.dark) select {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #0f172a !important;
}

html:not(.dark) .apple-glass {
    background-color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Row animations */
.item-row {
    transition: all 0.2s ease-in-out;
}

.item-row:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

/* Desktop Sticky Container Alignment */
@media (min-width: 1024px) {
    .lg\:sticky {
        top: 6rem;
    }
}
