/* Base Settings & Variables */
html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

input[type=number] {
    -moz-appearance: textfield;
}

/* Custom Range Slider */
.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #27272A;
    /* border color */
    border-radius: 999px;
    outline: none;
    transition: background 0.2s;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #8B5CF6;
    /* primary */
    cursor: pointer;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    transition: transform 0.1s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.custom-range::-webkit-slider-thumb:active {
    transform: scale(0.95);
}

.custom-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #8B5CF6;
    /* primary */
    cursor: pointer;
    border: none;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    transition: transform 0.1s;
}

/* Button Classes controlled by JS */
.btn-tip-preset {
    border-width: 1px;
}

/* Scrollbars purely for the custom itemized list */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #27272A;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #8B5CF6;
}

/* Dynamic Item Row Styles */
.person-row {
    transition: all 0.2s ease-out;
}

.person-input {
    background: transparent;
    border: none;
    outline: none;
    color: inherit;
    width: 100%;
}

.person-input:focus {
    color: #FAFAFA;
}

.person-input::placeholder {
    color: #52525B;
}