/* Device Tab Styles */
.structure-editor {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
}

/* Device Selection Styles */
.device-selection {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
}

.device-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.device-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.device-item:hover {
    background: #e9ecef;
    border-color: #007bff;
}

.device-item.selected {
    background: #e3f2fd;
    border-color: #1976d2;
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.2);
}

.device-item .device-name {
    font-weight: 600;
    font-size: 1rem;
    color: #495057;
}

.device-item .device-type {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Device Details Styles */
.device-details {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
}

.device-info h3 {
    margin: 0 0 0.5rem 0;
    color: #495057;
    font-size: 1.5rem;
}

.device-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.device-type-badge {
    background: #007bff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.device-file {
    color: #6c757d;
    font-size: 0.9rem;
    font-family: monospace;
}

.device-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
}

.patch-banks h4 {
    margin: 0 0 1rem 0;
    color: #495057;
}

.bank-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bank-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bank-item:hover {
    background: #e9ecef;
    border-color: #007bff;
}

.bank-item.selected {
    background: #e3f2fd;
    border-color: #1976d2;
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.2);
}

.bank-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bank-expand-icon {
    font-size: 0.8rem;
    color: #6c757d;
    transition: transform 0.2s ease;
}

.bank-name {
    font-weight: 500;
    color: #495057;
}

.bank-count {
    font-size: 0.9rem;
    color: #6c757d;
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Patch Expansion Styles */
.patch-expansion {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-top: 0.5rem;
    padding: 1rem;
}

.patch-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.patch-list-header h5 {
    margin: 0;
    color: #495057;
    font-size: 1rem;
}

.patch-controls {
    display: flex;
    gap: 0.5rem;
}

.patch-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.patch-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.patch-item:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.patch-number {
    background: #007bff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 3rem;
    text-align: center;
}

.patch-name {
    flex: 1;
    font-weight: 500;
    color: #495057;
}

.patch-actions {
    display: flex;
    gap: 0.5rem;
}

/* Note Lists Styles */
.note-lists {
    margin-top: 2rem;
}

.note-lists h4 {
    margin: 0 0 1rem 0;
    color: #495057;
}

.note-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.note-list-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.note-list-name {
    font-weight: 500;
    color: #495057;
}

.note-list-id {
    font-size: 0.9rem;
    color: #6c757d;
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Channel Name Set Assignments */
.channel-assignments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.channel-assignment {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 0.9rem;
}

.channel-number {
    background: #007bff;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.8rem;
    min-width: 4rem;
    text-align: center;
}

.name-set {
    color: #495057;
    font-weight: 500;
}

/* Collapsible Section Styles */
.collapsible-section {
    margin-top: 1rem;
}

.collapsible-header {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.5rem 0;
    color: #495057;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid #e9ecef;
}

.collapsible-header:hover {
    color: #007bff;
}

.collapsible-icon {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.collapsible-content {
    padding: 1rem 0;
}

.structure-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.structure-item h3 {
    margin-bottom: 0.5rem;
    color: #495057;
}

.device-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.info-value-with-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.btn-icon:hover {
    opacity: 1;
    background: rgba(0, 123, 255, 0.1);
}

.btn-edit-model {
    font-size: 1rem;
}

.structure-section {
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fafbfc;
}

.structure-section h4 {
    margin: 0 0 1rem 0;
    color: #495057;
    font-size: 1.1rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.structure-element {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    margin-left: 1rem;
    border-left: 3px solid #dee2e6;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.element-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.element-name {
    font-weight: 600;
    color: #495057;
}

.element-actions {
    display: flex;
    gap: 0.5rem;
}

.element-content {
    padding: 1rem;
    color: #666;
}

.structure-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Expandable elements */
.expandable {
    cursor: pointer;
    user-select: none;
}

.expandable:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 2px 4px;
}

.expand-icon {
    display: inline-block;
    width: 12px;
    margin-right: 8px;
    font-size: 10px;
    color: #666;
}

/* Modal styles for device selection */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 0;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: #f0f0f0;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.modal-content h3 {
    margin: 0 0 1rem 0;
    color: #333;
}

.device-selection-list {
    margin: 1rem 0;
}

.device-selection-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.device-selection-item:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.file-selection-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.file-selection-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.file-selection-item:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.file-node-counts {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.file-node-counts span {
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    border: 1px solid #e9ecef;
}

.file-node-counts .count-label {
    font-weight: 600;
    color: #495057;
}

.file-author {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
    font-style: italic;
}

.file-selection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.file-path {
    font-size: 0.9rem;
    color: #666;
    font-family: monospace;
}

/* Inline patch items in device tab */
.patch-list-patches {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.patch-list-patches h5 {
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
    color: #495057;
    font-weight: 600;
}

.patch-item-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.patch-item-inline:hover {
    background: #f8f9fa;
}

.patch-item-inline .patch-number {
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 2rem;
    text-align: center;
    color: #666;
}

.patch-item-inline .patch-number.clickable-pc {
    padding: 0.15rem 0.4rem;
    background: #e8f4f8;
    border-radius: 3px;
    transition: all 0.2s;
    user-select: none;
}

.patch-item-inline .patch-number.clickable-pc:hover {
    background: #007AFF;
    color: white;
    transform: translateY(-1px);
}

.patch-item-inline .patch-name.clickable {
    flex: 1;
    cursor: pointer;
    color: #007bff;
    text-decoration: underline;
    transition: color 0.2s ease;
    font-weight: 500;
}

.patch-item-inline .patch-name.clickable:hover {
    color: #0056b3;
    text-decoration: none;
}

.patch-item-inline .patch-program-change {
    font-size: 0.8rem;
    color: #666;
    font-family: monospace;
}

.patch-item-inline .patch-program-change.clickable-pc {
    padding: 0.15rem 0.4rem;
    background: #e8f4f8;
    border-radius: 3px;
    transition: all 0.2s;
    user-select: none;
}

.patch-item-inline .patch-program-change.clickable-pc:hover {
    background: #007AFF;
    color: white;
    transform: translateY(-1px);
}

.modal-actions {
    margin-top: 1.5rem;
    text-align: right;
}

/* Collapsible patch banks */
.structure-element.collapsible {
    cursor: pointer;
}

.structure-element.collapsible .collapsible-header {
    cursor: pointer;
    user-select: none;
}

.structure-element.collapsible .collapsible-header:hover {
    background: #f0f0f0;
}

.structure-element.collapsible .toggle-icon {
    display: inline-block;
    width: 12px;
    margin-right: 8px;
    font-size: 10px;
    color: #666;
    transition: transform 0.2s ease;
}

.structure-element.collapsible.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.structure-element.collapsible .collapsible-content {
    display: block;
    transition: opacity 0.2s ease;
}

.structure-element.collapsible.collapsed .collapsible-content {
    display: none;
}

/* MIDI Commands Display */
.midi-commands-info {
    font-size: 0.85rem;
    color: #666;
    font-weight: normal;
    margin-left: 0.5rem;
}

.bank-midi-commands {
    background: #f8f9fa;
    border-left: 3px solid #007bff;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bank-midi-commands strong {
    color: #495057;
    white-space: nowrap;
}

.bank-midi-commands button {
    margin-left: auto;
}

.midi-command-item {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    margin-right: 0.5rem;
}

/* MIDI Commands Editor */
.midi-commands-editor {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.midi-commands-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.midi-commands-header h5 {
    margin: 0;
    color: #495057;
    font-size: 1rem;
    font-weight: 600;
}

.midi-commands-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.midi-command-item-edit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.midi-command-item-edit label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.midi-control-input,
.midi-value-input {
    width: 80px;
    padding: 0.375rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Control Parameter Assignments */
.control-parameter-assignments {
    margin-top: 2rem;
}

.section-header-with-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header-with-controls h4 {
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
}

/* Section Description - Universal style for descriptive text in sections */
.section-description {
    background: #f0f4f8;
    border-left: 3px solid #4a90e2;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.section-description p {
    margin: 0 0 0.5rem 0;
    color: #495057;
}

.section-description p:last-child {
    margin-bottom: 0;
}

.control-list-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.control-list-selector {
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
}

.control-list-add-dropdown {
    position: relative;
}

.control-list-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.25rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    z-index: 1000;
}

.control-list-menu .menu-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    text-align: left;
    color: #495057;
    cursor: pointer;
    transition: background-color 0.2s;
}

.control-list-menu .menu-item:hover:not(.disabled) {
    background: #f8f9fa;
}

.control-list-menu .menu-item.disabled {
    color: #adb5bd;
    cursor: not-allowed;
}

.control-list-content {
    margin-top: 1rem;
}

.control-list-info {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #e3f2fd;
    border-left: 3px solid #1976d2;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.control-list-info p {
    margin: 0;
    color: #495057;
}

.control-list-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: help;
    transition: background-color 0.2s, border-color 0.2s;
}

.control-item:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.control-number {
    background: #007bff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: monospace;
    min-width: 4rem;
    text-align: center;
}

.control-type {
    color: #6c757d;
    font-size: 0.85rem;
    font-family: monospace;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    min-width: 4rem;
    text-align: center;
}

.control-name {
    flex: 1;
    color: #495057;
    font-weight: 500;
}

/* Control Edit Table */
.control-edit-table-container {
    margin-top: 1rem;
    overflow-x: auto;
}

.control-edit-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

.control-edit-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.control-edit-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.control-edit-table th.type-column {
    width: 70px;
    padding: 0.5rem;
}

.control-edit-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s;
}

.control-edit-table tbody tr:hover {
    background: #f8f9fa;
}

.control-edit-table td {
    padding: 0.5rem 0.75rem;
}

.control-number-input {
    width: 80px;
    padding: 0.375rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

.control-type-select {
    width: 70px;
    padding: 0.25rem 0.25rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
    background: white;
}

.control-edit-table .type-column {
    width: 70px;
    padding: 0.25rem 0.5rem;
}

.control-name-input-edit {
    width: 100%;
    padding: 0.375rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
}

.control-edit-actions {
    text-align: right;
    white-space: nowrap;
}

.control-edit-actions button {
    margin-left: 0.25rem;
}

/* NameSet Styles */
.nameset-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.nameset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.nameset-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nameset-name strong {
    font-size: 1.1rem;
    color: #495057;
}

.channel-availability {
    font-size: 0.9rem;
    color: #666;
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.nameset-actions {
    display: flex;
    gap: 0.5rem;
}

.nameset-banks {
    margin-bottom: 1rem;
}

.nameset-banks label {
    font-weight: 600;
    color: #495057;
    display: block;
    margin-bottom: 0.5rem;
}

.nameset-banks .bank-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nameset-banks .bank-list li {
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    color: #495057;
}

.channel-editor {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 1rem;
    margin-top: 1rem;
}

.channel-editor label {
    font-weight: 600;
    color: #495057;
    display: block;
    margin-bottom: 0.75rem;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.5rem;
}

.channel-checkbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.channel-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.channel-checkbox label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
}

.nameset-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nameset-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nameset-selector label {
    font-weight: 600;
    color: #495057;
}

.nameset-selector select {
    padding: 0.25rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Standard Device Mode Styles */
.standard-device-mode {
    margin-top: 2rem;
}

.standard-mode-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-container span {
    font-weight: 500;
    color: #495057;
}

.standard-mode-name-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.standard-mode-name-input label {
    font-weight: 500;
    color: #495057;
}
