[x-cloak] { display: none !important; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===== Shared form elements ===== */
.nx-input {
    width: 100%;
    padding: 0.8rem 0.875rem;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 0.875rem;
    font-size: 0.875rem;
    color: #1E293B;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.nx-input:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #3B82F6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.nx-input::placeholder { color: #CBD5E1; }

.nx-input:disabled {
    background: #F1F5F9;
    color: #94A3B8;
    cursor: not-allowed;
}

.nx-select {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 0.875rem;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 0.875rem;
    font-size: 0.875rem;
    color: #1E293B;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
}

.nx-select:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #3B82F6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.nx-select:disabled {
    background: #F1F5F9;
    color: #94A3B8;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ===== Number input spinners ===== */
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; }

/* ===== Tabular nums for prices ===== */
.tabular-nums { font-variant-numeric: tabular-nums; }
