body {
    font-family: Arial, sans-serif;
    background-color: #222222;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    max-width: 800px; /* Increased from 500px */
    width: 90%;
    padding: 30px; /* Increased from 20px for better spacing */
    background-color: #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 60px; /* Space for fixed navbar */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333333;
    color: #ffffff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    z-index: 100;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 20px; /* Increased from 10px for better spacing */
}

.navbar a:hover {
    color: #cccccc;
}

h1, h2 {
    color: #333333;
}

.form-group {
    margin-bottom: 20px;
}

.progress {
    height: 20px;
    background-color: #cccccc;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: #4caf50;
    transition: width 0.3s ease;
}

#error-box, #success-box {
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    font-weight: bold;
}

#error-box {
    background-color: #ffcccb;
    color: #d32f2f;
}

#success-box {
    background-color: #c8e6c9;
    color: #388e3c;
}

.hidden {
    display: none;
}

button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#diskSpaceInfo {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
}

#link-box {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

#fileUrl {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
}

#copyLinkButton {
    margin-left: 10px;
    padding: 10px 15px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#copyLinkButton:hover {
    background-color: #45a049;
}

/* Improved readability for policy pages */
.container p, .container li {
    line-height: 1.6;
    margin-bottom: 10px;
}

.container h2 {
    margin-top: 30px;
}

@media (max-width: 850px) { /* Increased from 600px to account for wider container */
    .container {
        width: 95%;
        margin-top: 60px;
        padding: 20px; /* Slightly reduced padding for smaller screens */
    }

    #link-box {
        flex-direction: column;
        align-items: stretch;
    }

    #copyLinkButton {
        margin-left: 0;
        margin-top: 10px;
    }
}
