@font-face {
    font-family: 'opensanst';
    src: url('OpenSans-VariableFont_wdth,wght.ttf');
}

* {
    font-family: 'opensanst', sans-serif !important;
    border-radius: 8px;
    border-color: #006A6A !important;
    -webkit-tap-highlight-color: transparent;
}

hr {
    display: none !important;
    border-radius: 0;
}


#file_image_wrapper {
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 !important;
    cursor: pointer;
    height: 2rem !important;
}

#file_image_wrapper input {
    display: none;
}

.uploadthing {
    border-color: #006A6A;
    border-width: 2px;
    display: block;
    border-style: solid;
    height: 20px !important;
}

#use_token_label {
    flex-shrink: 0;
}

#upload_file_button,
#use_token_label {
    border-radius: 8px 0px 0px 8px !important;
    border-style: solid;
    border-right-style: none;

    background-image: url('upload.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 2em !important;
    background-color: #006A6A;
    height: inherit !important;

    padding: .4em;
    background-origin: content-box !important;
    border-width: 0 !important;
    transition: .12s ease-in-out;
}

#upload_file_remove {
    border-radius: 0px 8px 8px 0px !important;
    border-style: solid;
    border-left-style: none;
    width: 2rem !important;

    background-image: url('remove_file.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: #006A6A;

    height: inherit !important;

    padding: .4em;
    background-origin: content-box !important;
    border-width: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
    height: 2rem !important;
    cursor: pointer;
    transition: .12s ease-in-out;
}

#upload_file_button, #upload_file_remove {
    flex-shrink: 0 !important;
}


/* #upload_file_button:hover,
#upload_file_remove:hover {
    opacity: .85;
} */

.right_sharp_borders {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#upload_file_name {
    border-left-width: 0;
}

#upload_file_name,
#token_icon_wrapper #token {
    border-radius: 0px 8px 8px 0px;
    width: 87% !important;
    height: inherit !important;
    display: flex;
    align-items: center;
    font-size: .8em;
    padding-left: .4em;
}

#file_image_wrapper:has(#upload_file_name.right_sharp_borders) {
    width: 50% !important;

    & #upload_file_button,
    #upload_file_remove {
        /* width: 15% !important; */
    }

    & #upload_file_name {
        border-right-width: 0;
    }
}

form:has(#form_field_wrapper[disabled]) #upload_file_remove {
    pointer-events: none !important;
}

input,
select {
    height: 2rem !important;
}

#lifetime {
    border-style: solid !important;
}

textarea,
input,
select,
#upload_file_name {
    background: #141314 !important;
}

#share legend {
    color: #ccc !important;
}

.nsc {
    position: absolute;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: #141314;
    color: white;
    z-index: 9999999;
}

.nsc p {
    font-size: 1.2em;
    font-weight: bold;
}

.nsc a {
    text-decoration: none;
    color: #006A6A;
    background: #2b2b2b;
    padding: .5em;
    border-radius: 8px;
    font-weight: bold;
    transition: .12s ease-in-out;
}

.nsc a:hover {
    background: #006A6A;
    color: #2b2b2b;
}