/* Reset some basic elements */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f9;
}

.container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #333;
}

form.login-form, form.folder-form, form.upload-form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

form input[type="password"],
form input[type="text"],
form input[type="file"] {
    padding: 12px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    width: 250px;
}

form button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}

form button:hover {
    background-color: #0056b3;
}

.logout-button, .back-button {
    display: inline-block;
    margin-bottom: 20px;
    color: #fff;
    background-color: #dc3545;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
}

.logout-button:hover, .back-button:hover {
    background-color: #c82333;
}

.search-bar {
    width: 100%;
    padding: 12px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

ul.file-list {
    list-style: none;
    padding: 0;
}

ul.file-list li {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

ul.file-list li:last-child {
    border-bottom: none;
}

.file-icon, .folder-icon {
    margin-right: 10px;
    font-size: 1.5rem;
    color: #007bff;
}

.delete-button {
    margin-left: auto;
    color: #dc3545;
    text-decoration: none;
    font-weight: bold;
}

.delete-button:hover {
    color: #c82333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    form input[type="password"],
    form input[type="text"],
    form input[type="file"] {
        width: 100%;
        margin-bottom: 10px;
    }

    form.login-form, form.folder-form, form.upload-form {
        flex-direction: column;
        align-items: stretch;
    }
}
