html {
    height: 100%;
}

body { 
    background-color: #1e1e1e;
    color: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    min-height: 100%;
    padding: 20px;
}

h1, h2 {
    color: #f0a500;
    margin-bottom: 20px;
}

.container {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    max-width: 100%;
    margin: 0 40px;
    column-gap: 20px;
}

.section {
    margin-bottom: 0;
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
    box-sizing: border-box;
}

#loginSection {
    width: 600px;
    margin: 100px auto 0 auto;
}

#fileManagementSection {
    width: 100%;
}

#right-container {
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#uploadSection {
    width: 100%;
}

#downloadSection {
    width: 100%;
}

input[type="file"],
input[type="text"],
input[type="email"],
input[type="password"],
button {
    background-color: #333333;
    color: #f0f0f0;
    border: 1px solid #f0a500;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

input[type="file"]:hover,
input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
button:hover {
    background-color: #444444;
    border-color: #ffba08;
}

#progressBarContainer {
    width: 100%;
    margin-bottom: 10px;
}

.progressBar {
    width: 100%;
    background-color: #333333;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progressBar div {
    width: 0%;
    height: 30px;
    background-color: #f0a500;
    text-align: center;
    line-height: 30px;
    color: #1e1e1e;
    border-radius: 5px;
    transition: width 0.4s ease;
}

#uploadMessage,
#uploadStatus,
#downloadStatus,
#loginStatus {
    color: #f0a500;
    font-size: 1.2em;
    margin-top: 15px;
}

#logoutButton {
    background-color: #f0a500;
    color: #1e1e1e;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

#logoutButton:hover {
    background-color: #ffba08;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.deleteButton {
    background-color: #ff4c4c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 100px;
}

.deleteButton:hover {
    background-color: #ff1c1c;
}

.hidden {
    display: none;
}

#loginDownloadSection {
    display: flex;
    justify-content: space-between;
}

.loginColumn, .downloadColumn {
    flex: 1;
    margin-right: 20px;
}

.downloadColumn {
    margin-right: 0;
}

.hidden {
    display: none;
}

.download-link {
    text-align: center;
}

.download-link a {
    color: #f0a500;
    text-decoration: none;
    font-size: small;
}

.file-actions a {
    color: #fff;
}



@media (max-width: 800px) {
    body {
        padding: 10px;
    }
    
    .container {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        row-gap: 20px;
        margin: 0;
    }

    #right-container {
        width: 100%;
    }
    
}