html, body {
    height: 100%;
    margin: 0;
}

body {
    scrollbar-width: thin;
    background: rgb(17, 17, 17);
    background-attachment: fixed;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 2147483647s ease;
}

.font {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}

.bold {
    font-weight: bold;
}

main {
    color: white;
    display: flex;
    justify-content: center;
    min-height: 100svh;
    max-height: 100svh;
}

.centered {
    justify-content: center;
    align-items: center;
}

.vcentered {
    align-items: center;
}

.flex {
    display: flex;
}

.flex-end {
    justify-content: flex-end;
}

.grow {
    flex-grow: 1;
}

.gap {
    gap: 4px;
}

.gap-0 {
    gap: 0;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-7 {
    gap: 1.75rem;
}

.gap-8 {
    gap: 2rem;
}

.compose {
    background-color: rgb(0, 120, 240);
    border-style: none;
    border-radius: 12px;
    padding: 16px 24px;
    color: white;
    font-weight: 700;
}

.compose-text {
    width: calc(100svw - );
}

.compose-textarea {
    width: calc(100svw - );
}

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

.sidebar {
    flex-basis: 220px;
    flex-shrink: 1;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    color: white;
}

.sidebar a {
    color: white;
    text-decoration: none;
}

.inbox {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.email {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 16px;
}

iframe {
    border-style: none;
}

.compose-panel {
    position: absolute;
    width: 40svw;
    height: 30svh;
    bottom: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-right: 8px;
    margin-left: 8px;
    padding: 12px;
    background-color: rgb(35, 35, 35);
}

.compose-main {
    background-color: rgb(35, 35, 35);
}

.email-hoverable {
    border-radius: 2px;
    transition: 
        background-color 0.1s ease,
        box-shadow 0.1s ease;
}

.email-hoverable:hover {
    background-color: rgba(250, 173, 23, 0.05);
    box-shadow: 0 0 0 16px rgba(250, 173, 23, 0.05);
}

.unselectable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.card {
    background-color: rgb(21, 21, 23);
    box-shadow: 0px 0px 24px rgb(0, 0, 0);
    padding: 16px;
    border-radius: 12px;
}

.inbox-card {
    border-style: none;
    border-radius: 16px;
    box-shadow: 0 0 0;
    background-color: rgb(25, 25, 25);
}

.column {
    flex-direction: column;
}


.text-field {
    position: relative;
    width: 280px;
    transition: color 0.2s ease;
}

.text-field input {
    width: 260px;
    padding: 16px 14px;
    font-size: 16px;
    border: none;
    outline: none;
    background: transparent;
    color: white;
}

.text-field fieldset {
    display: flex;
    text-align: left;
    position: absolute;
    inset: 0;
    border: 1.5px solid #9e9e9e;
    border-radius: 8px;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s, border-radius 0.3s;
}

.text-field fieldset legend {
    display: none;
    line-height: 12px;
    white-space: nowrap;
    overflow: hidden;
    transition: max-width 0.3s ease;
    padding: 0 4px;
    margin: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
    border: 0;
}

.text-field label {
    position: absolute;
    padding: 0 4px;
    left: 14px;
    top: 50%;
    transform: translateY(-55%) scale(1);
    transform-origin: top left;
    font-size: 16px;
    color: #757575;
    pointer-events: none;
    transition: transform 0.3s ease, color 0.3s ease;
    background: transparent;
}

.text-field:focus-within label,
.text-field input:not(:placeholder-shown) + label {
    transform: translateY(-155%) scale(0.75);
    color: rgb(0, 120, 240);
}

.text-field:focus-within fieldset legend,
.text-field input:not(:placeholder-shown) ~ fieldset legend {
    max-width: 100%;
    display: block;
    font-size: 12px;
}

.text-field:focus-within fieldset,
.text-field input:not(:placeholder-shown) ~ fieldset {
    border-color: rgb(0, 120, 240);
    border-width: 2px;
}

.email-nav {
    background-color: rgb(25, 25, 25);
    border-radius: 12px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 8px;
}

.no-padding {
    padding: 0;
}

.email-content {
    padding: 8px;
    padding-left: 20px;
}

input[type=submit] {
    color: white;
    background-color: rgb(0, 120, 240);
    border-radius: 12px;
    padding: 16px 96px;
    border-style: none;
}

input[type=submit]:active {
    background-color: rgb(0, 85, 170);
}

input[type=submit].loading {
    background-color: rgb(0, 85, 170);
}

.white {
    color: white;
}

.no-decorations {
    text-decoration: none;
}

.scrollable {
    overflow-y: auto;
    overflow-x: hidden;
}