@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Mono&display=swap');

body, html {
    margin: 0;
    padding: 0;

    width: 100%;
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;

    background: #fafafa;

    display: flex;
    justify-content: center;
    align-items: center;

    user-select: none;
}

#container {
    width: 900px;

    display: flex;
    flex-direction: column;
}

#header {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;

    font-size: 2rem;
    font-weight: 300;
}

#header img {
    height: 2.5rem;

    margin-right: 2rem;

    border: 1px solid #ccc;
    border-radius: 1rem;
    padding: 1rem;
}

#upload-form-box {
    margin: 3rem 1rem 0 1rem;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;

    padding: 2rem;

    border: 3px dashed #aaa;
    border-radius: 1rem;

    color: #aaa;

    cursor: pointer;
}

#upload-form-box:hover {
    background: #f0f0f0;
}

#upload-form-box-icon {
    font-size: 3rem;
}

.upload-form-box-dragover {
    background: #f0f0f0;
}

.success-box {
    border-color: #28ae60 !important;
    color: #28ae60 !important;
    cursor: default !important;
}

.success-box:hover {
    background: transparent !important;
}

.failure-box {
    border-color: #e74c3c !important;
    color: #e74c3c !important;
    cursor: default !important;
}

.failure-box:hover {
    background: transparent !important;
}

.failure-box p {
    margin: 0;
    padding: 0;
}

.failure-box a {
    color: #e74c3c;
    text-decoration: none;
    border-bottom: 1px dotted #e74c3c;
}

.failure-box a:hover {
    border-bottom-style: solid;
}

#uploading-dialog {
    margin: 3rem 1rem 0 1rem;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;

    padding: 2rem;

    border: 3px solid #aaa;
    border-radius: 1rem;

    color: #aaa;
}

#uploading-dialog:hover {
    background: transparent !important;
}

#uploading-dialog-icon {
    font-size: 3rem;
}

#code-form-box {
    margin: 3rem 1rem 0 1rem;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;

    padding: 2rem;

    border: 3px solid #aaa;
    border-radius: 1rem;

    color: #aaa;
}

#code-form-box-icon {
    font-size: 3rem;
}

#code-form-box-line {
    display: flex;
    flex-direction: row;

    gap: 1rem;
}

#code-form-box-line input {
    padding: 0.5rem 0.5rem;

    border: 1px solid #aaa;
    background: white;

    text-security: disc;
    -webkit-text-security: disc;

    outline: none;
}

#code-form-box-line button {
    padding: 0.5rem 1rem;

    border: 1px solid #aaa;
    background: #f0f0f0;

    cursor: pointer;
}

#code-form-box-line button:hover {
    background: #e0e0e0;
}
