body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #09090b;
    /*background: #000;*/
    color: white;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.05rem;
}

h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.warning-container a {
    color: rgb(0, 255, 255);
}
input[type="date"]::-webkit-calendar-picker-indicator {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

input[type="time"]::-webkit-calendar-picker-indicator {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

/* General Container */
.container {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 1.2rem;
    /*outline-color: white;*/
    /*outline-width: 1rem;*/
}

.warning-container {
    padding: 1rem;
    background: rgba(150, 0, 0.2);
    border-radius: 1.2rem;
}

.input-bubble {
    position: relative;
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    color: white;
    width: 100%;
}

.input-bubble:focus {
    border-color: rgba(0, 255, 0, 0.5);
    outline: none;
}

.menu-wrapper {
    position: relative;
}

.hamburger {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

/* Dropdown styling */
.dropdown {
    position: absolute;
    right: 0;
    top: 40px; /* directly below hamburger */
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 6px;

    /* like tailwind shadow-md */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

/* Spacing */
.dropdown label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/*
-----------------
Some general classes
-----------------
 */
.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.gap-sm {
    gap: 0.2rem;
}

.gap-md {
    gap: 0.5rem;
}

.gap-lg {
    gap: 1rem;
}

.m-b-1 {
    margin-bottom: 1rem;
}

.w-full {
    width: 100%;
}

.min-w-md {
    min-width: 8rem;
}

.max-w-sm {
    max-width: 4rem;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.hidden {
    display: none;
}

.relative {
    position: relative;
}


/* Taken from another project of mine --- the default scroll bar sucks*/
/* Scrollbar styling for the whole page */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 6px;
    border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #666;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #444 #1a1a1a;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.2) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 99999s ease-out 0s !important;
    background-color: transparent !important;
    color: white !important;
}

#offsetNumber::-webkit-inner-spin-button,
#offsetNumber::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}