/* Create file dialog */
.create-file-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.create-file-dialog {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    text-align: center;
}

.create-file-dialog h3 {
    margin: 0 0 20px 0;
    color: #333;
}

.file-name-input {
    width: 100%;
    padding: 10px;
    margin: 0 0 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.file-name-input:focus {
    outline: none;
    border-color: #007bff;
}

/* Reboot dialog */
.reboot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.reboot-dialog {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    text-align: center;
}

.reboot-dialog h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.reboot-dialog p {
    margin: 10px 0;
    color: #666;
}

/* Reboot screen */
.reboot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    color: white;
}

.reboot-content {
    text-align: center;
}

.reboot-content h2 {
    margin: 0 0 30px 0;
    font-size: 24px;
}

/* Spinner animation */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-left-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Dialog buttons */
.dialog-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.confirm-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.create-btn {
    background: #007bff;
    color: white;
}

.create-btn:hover {
    background: #0056b3;
}

.reboot-btn {
    background: #dc3545;
    color: white;
}

.reboot-btn:hover {
    background: #c82333;
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

.cancel-btn:hover {
    background: #545b62;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #c82333;
}