body {
    font-family: Arial, sans-serif;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, purple, yellow);
}

#login-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    box-sizing: border-box;
}

#login-container input {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

#login-container button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
}

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

#home-container {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: white; 
    position: relative;
}

#taskbar {
    width: 200px;
    background-color: #333;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    overflow-y: auto; 
    transition: transform 0.3s ease, width 0.3s ease;
}

#taskbar.hidden {
    transform: translateX(-100%);
    width: 0;
}

#toggle-taskbar, #share-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

#share-button {
    right: 120px; 
}

#toggle-taskbar:hover, #share-button:hover {
    background-color: #45a049;
}

#logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#logo img {
    max-width: 100%;
    max-height: 100px; 
    height: auto;
    width: auto; 
    border-radius: 10px; 
}

#search-file {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#file-form {
    display: flex;
    flex-direction: column;
}

#file-form input, #file-form select, #file-form button {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}

#file-form button {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

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

#file-list {
    flex-grow: 1;
    overflow-y: auto; 
    max-height: calc(100vh - 360px); 
}

#file-list a {
    color: white;
    padding: 10px;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    border-radius: 5px; 
}

#file-list a:hover {
    background-color: #575757;
}

#content {
    flex-grow: 1;
    padding: 20px;
    transition: width 0.3s ease; 
}

#content.full-width {
    width: calc(100% - 20px); 
}

h1 {
    margin-top: 0;
}

textarea {
    resize: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

.CodeMirror {
    height: auto;
    background-color: #272822;
    color: #f8f8f2;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-family: monospace;
}

.CodeMirror-gutters {
    background-color: #272822;
    border-right: 1px solid #ddd;
}

.CodeMirror-linenumber {
    color: #75715e;
}

.CodeMirror-cursor {
    border-left: 1px solid #f8f8f0;
}
