/* Custom CSS for SpesaSplit - iOS safe areas and responsive polish */
:root {
    --sat: env(safe-area-inset-top, 0px);
    --sab: env(safe-area-inset-bottom, 0px);
}

body {
    padding-top: var(--sat);
    padding-bottom: calc(var(--sab) + 4rem);
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 2rem;
    }
}

/* Touch friendly buttons */
button, input, select, textarea {
    touch-action: manipulation;
}

.tap-target {
    min-height: 44px;
    min-width: 44px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
