body {
    font-family: 'Roboto mono', monospace;
    background-color: #f9f9fc;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}
.container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 320px;
    margin-top: 50px;
}
h1 {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
label {
    margin-top: 20px;
    font-weight: bold;
}
input[type="file"] {
    margin-top: 5px;
    margin-bottom: 10px;
}
.upload-btn {
    font-family: 'Roboto Mono', monospace;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
}
.upload-btn:hover {
    font-family: 'Roboto Mono', monospace;
    background-color: #155cb0;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 6px;
}

.tooltip-icon {
    width: 12px;
    height: 12px;
    border: 1.5px solid rgb(200, 200, 200);
    color: rgb(200, 200, 200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    user-select: none;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 280px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    top: 50%;
    left: 130%;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
    font-size: 12px;
    line-height: 1.4;
    z-index: 1;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

.tooltip-image {
    width: 100%;
    border-radius: 5px;
    margin-top: 8px;
}

.form-errors {
    border: 1px solid #f00;
    padding: 10px;
    background-color: #ffe6e6;
    color: #a00;
    border-radius: 5px;
    margin-top: 30px;
}
.form-errors {
    border: 1px solid #f00;
    padding: 10px;
    background-color: #ffe6e6;
    color: #a00;
    border-radius: 5px;
    margin-top: 30px;
}
.form-errors ul,
.form-errors li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.non-field-error-block {
    margin-top: 50px;
    padding-top: 50px;
}
.field-error:not(:last-of-type) {
    margin-bottom: 15px;
}
.error-type-block:not(:last-of-type):has(li) {
    margin-bottom: 15px
}

footer {
    margin-top: 20px;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
}
.custom-upload-bttn {
    display: inline-block;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 4px 6px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    margin-top: 3px;
}
.filename-text {
    display: inline-block;
    white-space: nowrap;
    margin-top: 6px;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 30ch;
}
input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}