body {
    font-family: 'Inter', sans-serif;
    background-color: #0D1117;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #161B22;
}

::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4A5568;
}

.focus-ring {
    transition: box-shadow 0.2s ease-in-out;
}

.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

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

.number-input-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.number-input-wrapper input {
    padding-right: 1.75rem;
}

.number-input-buttons {
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 1px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1.75rem;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    overflow: hidden;
}

.spinner-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50%;
    color: #9ca3af;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    line-height: 1;
}

.spinner-btn:hover {
    background-color: #374151;
    color: #e5e7eb;
}

.spinner-btn svg {
    width: 0.75rem;
    height: 0.75rem;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #374151;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid #4b5563;
    border-radius: 0.375rem;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

input[type="checkbox"]::before {
    content: "";
    width: 0.75rem;
    height: 0.75rem;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #3b82f6;
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:checked {
    background-color: #1f2937;
    border-color: #3b82f6;
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

input[type="checkbox"]:disabled {
    background-color: #4b5563;
    border-color: #6b7280;
    cursor: not-allowed;
}

input[type="checkbox"]:disabled::before {
    box-shadow: inset 1em 1em #9ca3af;
}