@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&family=Source+Code+Pro&display=swap');
body {
    margin: 0;
    padding: 0 10px;
    overflow-x: hidden;
    background: #0f1117;
}

#header {
    width: 100%;
    max-width: 500px;
    margin: 30px auto 0;
    box-sizing: border-box;
}

#main {
    width: 100%;
    max-width: 500px;
    margin: 30px auto 0;
    box-sizing: border-box;
}

h1 {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 40px;
    margin-bottom: 10px;
    color: #e8eaf0;
}
h1:after {
    width: 75px;
    border-bottom: 4px solid #3d8ff8;
    display: block;
    content: "";
    margin-top: 5px;
    margin-bottom: 30px;
}

h2 {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 10px;
    color: #e8eaf0;
}
h2:after {
    width: 35px;
    border-bottom: 4px solid #3d8ff8;
    display: block;
    content: "";
    margin-top: 5px;
    margin-bottom: 30px;
}

input::file-selector-button {
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    line-height: 10px;
    padding: 15px;
    background: #e8eaf0;
    color: #0f1117;
    margin: 20px 10px 20px 0;
    display: inline-block;
    width: 150px;
    text-align: center;
    border: 1px solid #e8eaf0;
    transition: color 0.3s, background 0.3s;
    text-decoration: none;
    border-radius: 6px;
    flex: 1;
    height: 100%;
}

input::file-selector-button:hover {
    background: #0f1117;
    color: #e8eaf0;
    cursor: pointer;
}

#main input[type="file"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    color: #b0b4c1;
}

#uploadBtn {
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    line-height: 10px;
    padding: 15px;
    background: #e8eaf0;
    margin: 0px 10px 20px 0;
    display: inline-block;
    color: #0f1117;
    width: 150px;
    text-align: center;
    border: 1px solid #e8eaf0;
    transition: color 0.3s, background 0.3s;
    text-decoration: none;
    border-radius: 6px;
    box-sizing: border-box;
    cursor: pointer;
}

#uploadBtn:hover {
    background: #0f1117;
    color: #e8eaf0;
}

#fileList {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    margin-bottom: 5px;
}

a {
    color: #b0b4c1;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #3d8ff8 !important;
    text-decoration: none;
    transition: color 0.3s;
}

a:visited {
    color: #b0b4c1;
    text-decoration: none;
}

#loginScreen {
    width: 100%;
    max-width: 500px;
    margin: 30px auto 0;
    box-sizing: border-box;
}

#loginScreen h1 {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 40px;
    margin-bottom: 10px;
}

.login-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.login-field label {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    color: #e8eaf0;
}

.login-field input {
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    color: #e8eaf0;
    background: #1a1d27;
    border: 2px solid #b3b3b3;
    border-radius: 6px;
    outline: none;
    padding: 12px 15px;
    transition: border-color 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.login-field input:focus {
    border-color: #3d8ff8;
}

#loginBtn {
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    line-height: 10px;
    padding: 15px;
    background: #e8eaf0;
    color: #0f1117;
    margin-top: 10px;
    display: inline-block;
    text-align: center;
    border: 1px solid #e8eaf0;
    transition: color 0.3s, background 0.3s;
    text-decoration: none;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

#loginBtn:hover {
    background: #0f1117;
    color: #e8eaf0;
}

#loginError {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #e03030;
    margin-top: 10px;
    display: none;
}

/* ── Responsive ── */
@media (max-width: 540px) {
    body {
        padding: 0 16px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 17px;
    }

    #fileList {
        font-size: 16px;
    }

    input::file-selector-button {
        width: auto;
        margin: 0 10px 0 0;
        padding: 12px 14px;
    }

    #uploadBtn {
        width: auto;
        margin: 0 10px 0 0;
        padding: 12px 14px;
    }

}
