#terminal {
    position: absolute;
    top: 0px;
    bottom: 0;
    right: 0;
    width: 0;
    transition: width 0.3s;
    background-color: #2d2d2d;
    color: #f0f0f0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#terminal.open {
    width: 450px;
}

#terminal header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #3a3a3a;
}

#terminal header .title {
    font-weight: bold;
    color: #fff;
}

#terminal header .icon {
    display: flex;
    gap: 10px;
}

#terminal header .icon button {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 16px;
    padding: 3px 6px;
    border-radius: 4px;
    transition: all 0.2s;
}

#terminal header .icon button:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

#terminal section {
    flex-grow: 1;
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    overflow: auto;
    background-color: #282c34;
}

#terminal-content {
    width: 100%;
    height: 100%;
}

.code-editor-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #1e1e1e;
}

.code-editor-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background-color: #252526;
    border-bottom: 1px solid #333;
}

.code-editor-toolbar .file-name {
    color: #ddd;
    font-size: 14px;
    font-weight: 500;
}

.code-editor-toolbar .actions {
    display: flex;
    gap: 8px;
}

.code-editor-toolbar button {
    border: none;
    background: none;
    color: #ccc;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.code-editor-toolbar button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.code-editor-toolbar button.primary {
    background-color: #0e639c;
    color: white;
}

.code-editor-toolbar button.primary:hover {
    background-color: #1177bb;
}

.code-editor-container {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

#code-editor-tab-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.terminal-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #252526;
    border-top: 1px solid #333;
}

.terminal-footer select {
    padding: 5px;
    background-color: #3c3c3c;
    color: #ddd;
    border: 1px solid #444;
    border-radius: 4px;
}

.upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #0e639c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.upload-button:hover {
    background-color: #1177bb;
    transform: translateY(-2px);
}

.upload-button:active {
    transform: translateY(0);
}

.upload-button i {
    margin-right: 8px;
}

.zoom {
    transition: transform 0.3s;
}

.zoom:hover {
    transform: scale(1.1);
}