/* Local Inter font faces (moved from output.css) */
:root {
    --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
      "Liberation Mono", "Courier New", monospace;

    --color-gray-50: #fafafa; 
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    --color-gray-950: #090909;

    --default-font-family: var(--font-sans);
}

html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );
    -webkit-tap-highlight-color: transparent;
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
}


/* Text input baseline */
.form-input {
    font-size: 0.875rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    background-color: var(--color-gray-800);
    color: var(--color-gray-300);
    outline: 1px solid transparent;
    outline-offset: 1px;
    height: 38px;
    transition: border-color 0.15s ease-out, background-color 0.15s ease-out;
}
.form-input:focus {
    border-color: var(--primary-color);
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}


.btn,
.btn-lg,
.btn-sm,
.btn-xs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, opacity 0.15s ease-out;
}

.btn { padding: 0.5rem 0.75rem; }
.btn-lg { padding: 0.75rem 1rem; }
.btn-sm { padding: 0.25rem 0.5rem; }
.btn-xs { padding: 0.125rem 0.5rem; }

.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #ffffff;
}
.btn-secondary:hover {
    background-color: var(--secondary-color-hover);
}
.btn-secondary:active {
    background-color: var(--secondary-color-active);
}

.form-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    user-select: none;
}

.form-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.form-switch label {
    display: block;
    cursor: pointer;
    height: 24px;
    background-color: rgb(107 114 128);
    border-radius: 9999px;
    transition: background-color 0.15s ease-out;
}

.form-switch label > span:first-child {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: left 0.15s ease-out;
}

.form-switch input:checked + label {
    background-color: var(--primary-color, #1473E4) !important;
}
.form-switch input:checked + label > span:first-child {
    left: 22px;
}

.form-switch input:not(:disabled):hover + label {
    background-color: var(--primary-color-hover, #0651aa) !important;
}
.form-switch input:disabled + label {
    cursor: not-allowed;
    background-color: rgba(75, 85, 99, 0.4);
}
.form-switch input:disabled + label > span:first-child {
    background-color: rgb(156 163 175);
}

.no-scrollbar{
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.font-inter {
    font-family: 'Inter', sans-serif;
}