html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', sans-serif;
transition: all 0.3s ease;
}
.container {
max-width: 800px;
}
.spinner {
border: 4px solid rgba(0, 0, 0, 0.1);
width: 36px;
height: 36px;
border-radius: 50%;
border-left-color: #4f46e5;
animation: spin 1s ease infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.custom-file-input {
cursor: pointer;
overflow: hidden;
position: relative;
}
.custom-file-input input[type="file"] {
cursor: pointer;
position: absolute;
top: 0;
left: 0;
opacity: 0;
height: 100%;
width: 100%;
}
input[type="range"] {
-webkit-appearance: none;
width: 100%;
height: 8px;
background: #e5e7eb;
outline: none;
opacity: 0.7;
transition: opacity .2s;
border-radius: 9999px;
}
input[type="range"]:hover {
opacity: 1;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 16px;
height: 16px;
background: #4f46e5;
border-radius: 50%;
cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
width: 16px;
height: 16px;
background: #4f46e5;
border-radius: 50%;
cursor: pointer;
}
#draggable-trial-box {
cursor: move;
}
#top-message-box {
position: fixed;
top: 1rem;
left: 50%;
transform: translateX(-50%);
padding: 0.75rem 1.5rem;
border-radius: 9999px;
z-index: 50;
font-weight: 500;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: all 0.3s ease-in-out;
opacity: 0;
visibility: hidden;
}
#top-message-box.show {
opacity: 1;
visibility: visible;
}
html, body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-touch-callout: none;
}
.no-select {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-touch-callout: none;
}