html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

* {
    margin: 0 auto;
    padding: 0;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: 'firasans-light';
    src: url("/fonts/Fira-Sans/FiraSans-Light.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'firasans-regular';
    src: url("/fonts/Fira-Sans/FiraSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'firasans-medium';
    src: url("/fonts/Fira-Sans/FiraSans-Medium.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

body {
    background: #3d45b4;
}

a {
    text-decoration: none;
    color: #fff;
}

a.download {
    background: #fff;
    color: #3d45b4;
    padding: 8px 14px 6px 14px;
    display: inline-block;
    margin-top: 6px;
    font-size: 16px;
    transition: box-shadow .3s ease-in;
}

a.download:hover {
    box-shadow: 0 0 12px #3541b8;
}

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

::-webkit-scrollbar-track {
    background: #fff;
}

::-webkit-scrollbar-thumb {
    background: #3541b8;
}

.announcement {
    display: block;
    text-align: center;
    color: #fff;
    font-family: 'firasans-regular', sans-serif;
    font-size: 12px;
    padding: 0;
    margin-bottom: 32px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#container {
    width: 360px;
    margin: 62px auto;
    padding: 24px;
    text-align: left;
}

#container header {
    text-align: center;
}

#container header h1,
#container header h2,
#container header h3 {
    line-height: 1.3;
    text-transform: uppercase;
    color: #fff;
}

#container header h1 {
    font-size: 26px;
    font-family: 'firasans-light', sans-serif;
}

#container header h2 {
    font-size: 16px;
    font-family: 'firasans-regular', sans-serif;
}

#container section {
    margin-top: 56px;
}

#container section h2 {
    font-size: 18px;
    font-family: 'firasans-light', sans-serif;
    color: #fff;
    margin-top: 24px;
}

#container section img {
    border: 2px solid #fff;
    max-width: 360px;
}

#container section p {
    font-family: 'firasans-regular', sans-serif;
    font-size: 14px;
    color: #fff;
    margin-top: 24px;
}

#container section p.api-label {
    font-family: 'firasans-medium', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
    margin-top: 24px;
    margin-bottom: 6px;
}

table.api-params {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
    color: #fff;
}

table.api-params th,
table.api-params td {
    text-align: left;
    padding: 6px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

table.api-params th {
    font-family: 'firasans-medium', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
    padding-bottom: 8px;
}

table.api-params td:first-child {
    white-space: nowrap;
}

table.api-params tbody tr:last-child td {
    border-bottom: none;
}

table.api-params code {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 1px 5px;
    font-size: 14px;
}

#container section pre {
    font-family: monospace;
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.15);
    padding: 10px 12px;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
    line-height: 1.6;
}

.show-content {
    text-align: center;
}

.file-title {
    font-family: 'firasans-regular', sans-serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    overflow-wrap: break-word;
    word-break: break-all;
}

.show-content table {
    margin: 0 auto;
    text-align: left;
}

#container section p.file-meta {
    text-align: center;
    margin-top: 20px;
    opacity: 0.7;
}

#container section p.error {
    color: #ffde42;
    font-family: 'firasans-medium', sans-serif;
}

#container section p.success {
    color: #3fb663;
    font-family: 'firasans-medium', sans-serif;
}

#container section form div {
    display: block;
}

form {
    margin: 0;
}

label {
    display: block;
    font-size: 14px;
    color: #fff;
    padding: 0;
    margin: 0;
    margin-top: 24px;
    width: auto;
    text-align: left;
}

input {
    width: auto;
    max-width: 220px;
    padding: 4px;
    padding-left: 0;
    margin: 0;
    outline: none;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #b7bcf0;
    border-right: none;
    border-radius: 0;
    color: #fff;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    display: block;
    background: #3d45b4;
}

input[type="text"] {
    max-width: 320px;
}

input[type="number"] {
    max-width: 100px;
    width: auto;
}

select {
    width: auto;
    padding: 0 16px 0 2px;
    margin: 0;
    outline: none;
    font-family: 'firasans-regular', sans-serif;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #b7bcf0;
    border-radius: 0;
    color: #fff;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    vertical-align: baseline;
    background: #3d45b4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23b7bcf0'/%3E%3C/svg%3E") no-repeat right 2px center;
    appearance: none;
    cursor: pointer;
}

select option {
    background: #3d45b4;
    color: #fff;
}

input[type="file"] {
    display: none;
}

.file-label {
    background: #fff;
    color: #3d45b4;
    padding: 8px 14px 6px 14px;
    border: none;
    margin: 0;
    margin-top: 24px;
    width: auto;
    max-width: 450px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    transition: box-shadow .3s ease-in;
    font-size: 14px;
    font-family: 'firasans-medium', sans-serif;
}

.file-label:hover {
    box-shadow: 0 0 12px #3541b8;
}

.file-max {
    font-size: 11px;
    opacity: 0.6;
}

input[type="submit"] {
    background: #fff;
    color: #3d45b4;
    padding: 8px 14px 6px 14px;
    border: none;
    margin: 0 auto;
    margin-top: 24px;
    width: auto;
    max-width: 450px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    transition: box-shadow .3s ease-in;
}

input[type="submit"]:hover {
    box-shadow: 0 0 12px #3541b8;
}

footer {
    margin-top: 48px;
    margin-bottom: 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
}

footer ul li {
    display: inline-block;
}

footer ul li a {
    color: #fff;
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    font-family: 'firasans-medium', sans-serif;
}

footer ul li a:hover {
    text-decoration: underline;
}

footer ul li:first-child a {
    padding-left: 0 !important;
}

.telegram-bot-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 15px;
    font-family: 'firasans-medium', sans-serif;
    opacity: 0.7;
    text-decoration: none;
}

.telegram-bot-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.progress-bar-track {
    width: 100%;
    max-width: 280px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    margin: 24px auto 0;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: #fff;
    transition: width 0.15s ease;
}

.progress-bar-error {
    background: #ffde42;
}

.progress-text {
    font-family: 'firasans-regular', sans-serif;
    font-size: 14px;
    color: #fff;
    margin-top: 10px;
    text-align: center;
}

.progress-error {
    color: #ffde42;
}

.copy-all {
    display: block;
    margin: 24px auto 0;
    background: #fff;
    color: #3d45b4;
    border: none;
    padding: 8px 14px 6px 14px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'firasans-medium', sans-serif;
    transition: box-shadow .3s ease-in;
}

.copy-all:hover {
    box-shadow: 0 0 12px #3541b8;
}

.upload-results {
    list-style: none;
    margin: 24px auto 0;
    padding: 0;
    max-width: 450px;
}

.upload-result {
    margin-top: 16px;
}

.upload-result-name {
    display: block;
    font-family: 'firasans-regular', sans-serif;
    font-size: 12px;
    color: #fff;
    opacity: 0.6;
    margin-bottom: 6px;
    word-break: break-all;
}

.upload-result-body .progress-bar-track {
    max-width: none;
    margin: 4px 0 0;
}

.upload-result-body .progress-text {
    margin-top: 8px;
    text-align: left;
    font-size: 13px;
}

.upload-result-row {
    display: flex;
    align-items: stretch;
}

.upload-result-url {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 10px;
    border: none;
    margin: 0;
    background: #fff;
    color: #3d45b4;
    font-family: 'firasans-regular', sans-serif;
    font-size: 13px;
}

.upload-result-copy {
    flex: 0 0 auto;
    background: #3d45b4;
    color: #fff;
    border: 1px solid #fff;
    border-left: none;
    padding: 8px 14px 6px 14px;
    margin: 0;
    cursor: pointer;
    font-size: 13px;
    font-family: 'firasans-medium', sans-serif;
    transition: box-shadow .3s ease-in;
}

.upload-result-copy:hover {
    box-shadow: 0 0 12px #3541b8;
}

@media (max-width: 800px) {
    #container {
        width: auto;
        margin: 24px auto;
        padding: 24px;
        text-align: left;
    }

    #container section img {
        max-width: 100%;
    }
}
