<style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 10px;
            background-color: #f0f0f0;
        }
        
		.container {
			width: 80%;
			margin: 0 auto;
			display: flex;
			border: 2px solid #000;
			background-color: #e8e8e8;
			height: 600px;
			position: relative;
		}
        
        .sidebar {
            width: 150px;
            border-right: 1px solid #000;
            display: flex;
            flex-direction: column;
        }
        
        .main-menu-btn {
            padding: 8px;
            border: 1px solid #666;
            background-color: #d0d0d0;
            cursor: pointer;
            text-align: center;
            border-bottom: none;
        }
        
        .main-menu-btn:last-child {
            border-bottom: 1px solid #666;
        }
        
        .main-menu-btn.active {
            background-color: #ffffff;
            border-left: 3px solid #0066cc;
        }
        
        .main-menu-btn:hover:not(.active) {
            background-color: #c0c0c0;
        }
        
        .content-area {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .tab-bar {
            display: flex;
            border-bottom: 1px solid #000;
            background-color: #d0d0d0;
        }
        
        .tab {
            padding: 8px 15px;
            border-right: 1px solid #666;
            cursor: pointer;
            background-color: #d0d0d0;
        }
        
        .tab.active {
            background-color: #ffffff;
            border-bottom: 1px solid #ffffff;
        }
        
        .tab:hover:not(.active) {
            background-color: #c0c0c0;
        }
        
        .config-content {
            flex: 1;
            background-color: #ffffff;
            padding: 15px;
            overflow-y: auto;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: inline-block;
            width: 200px;
            font-weight: bold;
        }
        
        .form-group input, .form-group select {
            padding: 4px;
            border: 1px solid #666;
        }
        
        .language-time-section {
            border: 1px solid #666;
            padding: 10px;
            margin: 10px 0;
            background-color: #f8f8f8;
        }
        
        .language-time-section h3 {
            margin: 0 0 10px 0;
            font-size: 14px;
        }
        
        .datetime-section {
            border: 1px solid #666;
            padding: 10px;
            margin: 10px 0;
            background-color: #f8f8f8;
        }
        
        .datetime-row {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .datetime-row label {
            width: 100px;
            margin-right: 10px;
        }
        
        .datetime-row input, .datetime-row select {
            margin-right: 10px;
        }
        
        .radio-group {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .radio-group label {
            width: auto;
            font-weight: normal;
        }
        
		.bottom-buttons {
			position: absolute;
			bottom: 10px;
			left: 2px;
		}
        
        .bottom-buttons button {
            padding: 8px 20px;
            border: 1px solid #666;
            background-color: #d0d0d0;
            cursor: pointer;
        }
        
        .bottom-buttons button:hover {
            background-color: #c0c0c0;
        }
        
        .load-defaults-btn {
            position: absolute;
            bottom: 10px;
            right: 10px;
            padding: 8px 15px;
            border: 1px solid #666;
            background-color: #d0d0d0;
            cursor: pointer;
        }
        
        .load-defaults-btn:hover {
            background-color: #c0c0c0;
        }
        
        .wide-input {
            width: 300px;
        }
        
        .medium-input {
            width: 150px;
        }
        
        .narrow-input {
            width: 100px;
        }
		
		/* Zusätzliche Styles für die neue Architektur */

.placeholder-content {
    padding: 20px;
    text-align: center;
    color: #666;
}

.placeholder-content code {
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.datetime-settings-btn {
    padding: 4px 15px;
    margin-right: 100px;
    border: 1px solid #666;
    background-color: #f0f0f0;
    cursor: pointer;
}

.datetime-settings-btn:hover {
    background-color: #e0e0e0;
}

/* Styles für Measurement-Konfiguration */
.measurement-config {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.library-section {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.library-select {
    width: 150px;
    height: 120px;
    border: 1px solid #666;
}

.library-controls {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-btn {
    width: 30px;
    height: 25px;
    border: 1px solid #666;
    background-color: #f0f0f0;
    cursor: pointer;
}

.nav-btn:hover {
    background-color: #e0e0e0;
}

.annotation-section {
    border: 1px solid #666;
    padding: 10px;
    background-color: #f8f8f8;
}

.page-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.page-tab {
    padding: 5px 15px;
    border: 1px solid #666;
    background-color: #e0e0e0;
    cursor: pointer;
}

.page-tab.active {
    background-color: #ffffff;
}

.annotation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
    min-height: 100px;
}

.annotation-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.annotation-col div {
    padding: 4px 8px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    text-align: center;
    cursor: pointer;
}

.annotation-col div:hover {
    background-color: #f0f0f0;
}

.arrow-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.arrow-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #666;
    background-color: #f0f0f0;
    cursor: pointer;
    font-size: 16px;
}

.arrow-btn:hover {
    background-color: #e0e0e0;
}

.add-annotation-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.annotation-input {
    width: 200px;
    padding: 4px;
    border: 1px solid #666;
}

.add-btn, .delete-btn {
    padding: 4px 12px;
    border: 1px solid #666;
    background-color: #f0f0f0;
    cursor: pointer;
}

.add-btn:hover, .delete-btn:hover {
    background-color: #e0e0e0;
}

.medium-select {
    width: 80px;
    margin-right: 10px;
}

.settings-section {
    border: 1px solid #666;
    padding: 10px;
    margin: 10px 0;
    background-color: #f8f8f8;
}

.settings-section h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: bold;
}

.gallery-btn {
    padding: 6px 20px;
    border: 1px solid #666;
    background-color: #e0e0e0;
    cursor: pointer;
}

.gallery-btn:hover {
    background-color: #d0d0d0;
}

.cine-mode-section {
    border: 1px solid #666;
    padding: 15px;
    margin: 10px 0;
    background-color: #f8f8f8;
}

.radio-group-header {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.radio-group-header label {
    width: auto;
    font-weight: normal;
}

.cine-settings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cine-2d-section, .cine-4d-section {
    border: 1px solid #999;
    padding: 10px;
    background-color: #ffffff;
}

.cine-2d-section h4, .cine-4d-section h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: bold;
}

.cine-subsection {
    margin-bottom: 15px;
    padding: 8px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.cine-subsection h5 {
    margin: 0 0 8px 0;
    font-size: 12px;
    font-weight: bold;
}

.setting-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.setting-row label {
    width: 80px;
    font-weight: normal;
}

.time-select {
    width: 70px;
    padding: 2px;
    border: 1px solid #666;
}

.cycle-select {
    width: 50px;
    padding: 2px;
    border: 1px solid #666;
}

.range-text {
    font-size: 11px;
    color: #666;
    margin-left: 5px;
}

.storage-settings-section {
    border: 1px solid #666;
    padding: 10px;
    margin: 10px 0;
    background-color: #f8f8f8;
}

.storage-settings-section h3 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: bold;
}
.patient-tabs-container {
    width: 100%;
}

.patient-tab-bar {
    display: flex;
    border-bottom: 1px solid #666;
    background-color: #d0d0d0;
}

.patient-tab {
    padding: 8px 15px;
    border-right: 1px solid #666;
    cursor: pointer;
    background-color: #d0d0d0;
    font-size: 12px;
}

.patient-tab.active {
    background-color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

.patient-tab:hover:not(.active) {
    background-color: #c0c0c0;
}

.patient-content {
    background-color: #ffffff;
    padding: 15px;
}

.patient-layout {
    display: flex;
    gap: 20px;
}

.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.save-section, .save-option-section, .advanced-function-section,
.dicom-storage-section, .dicom-print-section, .print-section {
    border: 1px solid #666;
    padding: 10px;
    background-color: #f8f8f8;
}

.save-section h3, .save-option-section h3, .advanced-function-section h3,
.dicom-storage-section h3, .dicom-print-section h3, .print-section h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: bold;
}

.radio-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.radio-group-vertical label {
    width: auto;
    font-weight: normal;
}

.checkbox-group {
    margin-top: 10px;
}

.checkbox-group label {
    width: auto;
    font-weight: normal;
}

.service-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-item label {
    font-size: 12px;
    font-weight: normal;
}

.service-select {
    width: 100%;
    padding: 4px;
    border: 1px solid #666;
}
.biopsy-header {
    margin-bottom: 15px;
}

.biopsy-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.biopsy-config {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.biopsy-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.biopsy-grid-section {
    width: 100%;
}

.biopsy-grid-section h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: bold;
}

.grid-container {
    border: 1px solid #666;
    background-color: #ffffff;
    padding: 10px;
    overflow-x: auto;
}

.grid-table {
    display: table;
    border-collapse: collapse;
}

.grid-row {
    display: table-row;
}

.grid-cell {
    display: table-cell;
    width: 25px;
    height: 25px;
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
    cursor: pointer;
}

.grid-header .grid-cell {
    background-color: #f0f0f0;
    font-weight: bold;
    cursor: default;
}

.row-header {
    background-color: #f0f0f0;
    font-weight: bold;
    cursor: default !important;
}

.col-header {
    background-color: #f0f0f0;
    font-weight: bold;
    cursor: default !important;
}

.grid-point {
    background-color: #ffffff;
    color: green;
    font-weight: bold;
}

.grid-point.active {
    background-color: #e8f5e8;
}

.grid-point:hover {
    background-color: #d0f0d0;
}

.grid-point.inactive {
    color: #ccc;
    background-color: #f8f8f8;
}

.connect-layout {
    display: flex;
    gap: 20px;
    height: 100%;
}

.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.right-column {
    flex: 1;
}

.video-output-section, .foot-switch-section, .print-service-section {
    border: 1px solid #666;
    padding: 15px;
    background-color: #f8f8f8;
}

.video-output-section h3, .foot-switch-section h3, .print-service-section h3 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: bold;
}

.printer-table-container {
    margin-bottom: 15px;
    border: 1px solid #666;
    background-color: #ffffff;
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
}

.printer-table {
    width: 100%;
    border-collapse: collapse;
}

.printer-table th {
    background-color: #f0f0f0;
    border: 1px solid #666;
    padding: 8px;
    text-align: left;
    font-size: 12px;
    font-weight: bold;
}

.printer-table td {
    border: 1px solid #ccc;
    padding: 6px;
    font-size: 12px;
}

.printer-table tbody tr:hover {
    background-color: #f5f5f5;
}

.printer-table tbody tr.selected {
    background-color: #e0e8ff;
}

.printer-controls {
    display: flex;
    gap: 10px;
}

.printer-btn {
    padding: 6px 15px;
    border: 1px solid #666;
    background-color: #e0e0e0;
    cursor: pointer;
    font-size: 12px;
}

.printer-btn:hover {
    background-color: #d0d0d0;
}

.network-layout {
    display: flex;
    gap: 20px;
    height: 100%;
}

.local-network-section, .wireless-section, .hotspot-section {
    border: 1px solid #666;
    padding: 15px;
    background-color: #f8f8f8;
    margin-bottom: 15px;
}

.local-network-section h3, .wireless-section h3, .hotspot-section h3 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: bold;
}

.network-config {
    margin-bottom: 20px;
}

.dhcp-section {
    margin-bottom: 15px;
}

.dhcp-section label:first-child {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.ip-config {
    margin: 15px 0;
}

.ip-input {
    width: 120px;
    padding: 4px;
    border: 1px solid #666;
    text-align: center;
}

.mac-input {
    width: 120px;
    padding: 4px;
    border: 1px solid #666;
    background-color: #f0f0f0;
}

.advance-btn, .ping-btn, .network-btn, .wlan-btn, .hotspot-btn {
    padding: 6px 15px;
    border: 1px solid #666;
    background-color: #e0e0e0;
    cursor: pointer;
    margin: 5px;
}

.advance-btn:hover, .ping-btn:hover, .network-btn:hover, 
.wlan-btn:hover, .hotspot-btn:hover {
    background-color: #d0d0d0;
}

.mac-ping-section {
    margin: 20px 0;
}

.network-speed-section {
    margin: 20px 0;
}

.network-buttons {
    margin-top: 15px;
}

.wireless-config {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wireless-enable label:first-child {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.wireless-list-container {
    border: 1px solid #666;
    background-color: #ffffff;
    max-height: 200px;
    overflow-y: auto;
}

.wireless-table {
    width: 100%;
    border-collapse: collapse;
}

.wireless-table th {
    background-color: #f0f0f0;
    border: 1px solid #666;
    padding: 8px;
    text-align: left;
    font-size: 12px;
    font-weight: bold;
}

.wireless-table td {
    border: 1px solid #ccc;
    padding: 6px;
    font-size: 12px;
}

.wireless-table tbody tr:hover {
    background-color: #f5f5f5;
}

.wireless-table tbody tr.selected {
    background-color: #e0e8ff;
}

.signal-strength {
    text-align: center;
    font-size: 16px;
}

.wlan-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wlan-controls label {
    font-weight: bold;
    margin-bottom: 5px;
}

.wlan-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.hotspot-section {
    text-align: center;
}

.dicom-container {
    width: 100%;
    height: 100%;
}

.dicom-tab-bar {
    display: flex;
    border-bottom: 1px solid #666;
    background-color: #d0d0d0;
}

.dicom-tab {
    padding: 8px 15px;
    border-right: 1px solid #666;
    cursor: pointer;
    background-color: #d0d0d0;
    font-size: 12px;
}

.dicom-tab.active {
    background-color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

.dicom-tab:hover:not(.active) {
    background-color: #c0c0c0;
}

.dicom-content {
    background-color: #ffffff;
    padding: 15px;
    height: calc(100% - 40px);
}

.dicom-service-table-container {
    border: 1px solid #666;
    background-color: #ffffff;
    margin-bottom: 15px;
    height: 300px;
    overflow-y: auto;
}

.dicom-service-table {
    width: 100%;
    border-collapse: collapse;
}

.dicom-service-table th {
    background-color: #f0f0f0;
    border: 1px solid #666;
    padding: 8px;
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    position: sticky;
    top: 0;
}

.dicom-service-table td {
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 12px;
}

.checkbox-col {
    width: 60px;
    text-align: center;
}

.service-row:hover {
    background-color: #f5f5f5;
}

.service-row.selected {
    background-color: #e0e8ff;
}

.service-row td input[type="checkbox"] {
    margin: 0;
}

.dicom-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dicom-btn {
    padding: 6px 15px;
    border: 1px solid #666;
    background-color: #e0e0e0;
    cursor: pointer;
    font-size: 12px;
}

.dicom-btn:hover {
    background-color: #d0d0d0;
}

/* Responsive design für kleinere Tabelle */
.dicom-service-table th:nth-child(2),
.dicom-service-table td:nth-child(2) {
    min-width: 100px;
}

.dicom-service-table th:nth-child(3),
.dicom-service-table td:nth-child(3) {
    min-width: 120px;
}

.dicom-service-table th:nth-child(4),
.dicom-service-table td:nth-child(4) {
    min-width: 80px;
}

.dicom-service-table th:nth-child(5),
.dicom-service-table td:nth-child(5) {
    min-width: 120px;
}

.dicom-service-table th:nth-child(6),
.dicom-service-table td:nth-child(6) {
    min-width: 80px;
}

.local-settings-layout {
    display: flex;
    gap: 20px;
    height: 100%;
}

.local-device-section, .storage-settings-section {
    flex: 1;
    border: 1px solid #666;
    padding: 15px;
    background-color: #f8f8f8;
    height: fit-content;
}

.local-device-section h3, .storage-settings-section h3 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: bold;
}

.timeout-input-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.timeout-btn {
    width: 25px;
    height: 25px;
    border: 1px solid #666;
    background-color: #e0e0e0;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeout-btn:hover {
    background-color: #d0d0d0;
}

/* Responsive adjustments for Local Settings */
@media (max-width: 1200px) {
    .local-settings-layout {
        flex-direction: column;
    }
}
.network-service-container {
    width: 100%;
    height: 100%;
    padding: 15px;
}

.network-service-section {
    border: 1px solid #666;
    padding: 15px;
    background-color: #f8f8f8;
    max-width: 500px;
}

.network-service-section h3 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: bold;
}

.service-config {
    padding: 10px;
}

.service-config .form-group {
    margin-bottom: 10px;
}

.service-config .form-group label:first-child {
    display: inline-block;
    width: 150px;
    font-weight: bold;
    margin-right: 20px;
}

.service-config .radio-group {
    display: inline-flex;
    gap: 15px;
}

.service-config .radio-group label {
    width: auto;
    font-weight: normal;
    margin-right: 0;
}
.touchscreen-layout {
    display: flex;
    gap: 20px;
    height: 100%;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.probe-selection {
    display: flex;
    align-items: center;
    gap: 10px;
}

.probe-select {
    width: 150px;
    padding: 4px;
    border: 1px solid #666;
}

.mode-buttons {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.mode-btn {
    width: 50px;
    height: 30px;
    border: 1px solid #666;
    background-color: #e0e0e0;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

.mode-btn.active {
    background-color: #c0c0c0;
    border: 2px solid #333;
}

.mode-btn:hover:not(.active) {
    background-color: #d0d0d0;
}

.status-section {
    border: 1px solid #666;
    padding: 10px;
    background-color: #f8f8f8;
}

.status-section h4 {
    margin: 0 0 8px 0;
    font-size: 12px;
    font-weight: bold;
}

.button-pages {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-section {
    border: 1px solid #666;
    padding: 10px;
    background-color: #f8f8f8;
}

.page-section h4 {
    margin: 0 0 10px 0;
    font-size: 12px;
    font-weight: bold;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}

.touch-btn {
    height: 30px;
    border: 1px solid #666;
    background-color: #ffffff;
    cursor: pointer;
    font-size: 10px;
    padding: 2px;
    text-align: center;
}

.touch-btn.empty {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    cursor: default;
}

.touch-btn:hover:not(.empty) {
    background-color: #e8e8e8;
}

.touch-btn:active:not(.empty) {
    background-color: #d0d0d0;
}

.load-default-section {
    text-align: center;
    margin-top: 10px;
}

.load-default-btn {
    padding: 8px 20px;
    border: 1px solid #666;
    background-color: #e0e0e0;
    cursor: pointer;
}

.load-default-btn:hover {
    background-color: #d0d0d0;
}

.special-items-sidebar {
    width: 150px;
    border: 1px solid #666;
    padding: 10px;
    background-color: #f8f8f8;
    height: fit-content;
}

.special-items-sidebar h4 {
    margin: 0 0 10px 0;
    font-size: 12px;
    font-weight: bold;
}

.special-items-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.special-item {
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    text-align: center;
    font-size: 11px;
}

/* Responsive design */
@media (max-width: 1400px) {
    .button-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .touchscreen-layout {
        flex-direction: column;
    }
    
    .special-items-sidebar {
        width: 100%;
    }
    
    .special-items-list {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.control-panel {
    margin-top: 20px;
    padding: 15px;
    border: 2px solid #333;
    background-color: #2a2a2a;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 800px;
}

.control-row {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.control-btn {
    min-width: 60px;
    height: 35px;
    border: 1px solid #555;
    background: linear-gradient(to bottom, #4a4a4a, #2a2a2a);
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
    transition: all 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.control-btn:hover {
    background: linear-gradient(to bottom, #5a5a5a, #3a3a3a);
    border-color: #666;
}

.control-btn:active {
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
    transform: translateY(1px);
}

.control-btn.rotate {
    width: 35px;
    font-size: 16px;
    font-weight: bold;
}

.control-btn[data-function="p3"],
.control-btn[data-function="p4"] {
    background: linear-gradient(to bottom, #4a6a4a, #2a4a2a);
}

.control-btn[data-function="setup"],
.control-btn[data-function="help"] {
    background: linear-gradient(to bottom, #6a4a4a, #4a2a2a);
}

.control-btn[data-function="biopsy"] {
    background: linear-gradient(to bottom, #4a4a6a, #2a2a4a);
}

/* Responsive Design */
@media (max-width: 900px) {
    .control-btn {
        min-width: 50px;
        height: 30px;
        font-size: 10px;
    }
    
    .control-btn.rotate {
        width: 30px;
        font-size: 14px;
    }
}

.function-panel {
    margin-top: 10px;
    padding: 15px;
    border: 2px solid #333;
    background-color: #2a2a2a;
    border-radius: 8px;
    max-width: 800px;
}

.function-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 8px;
}

.function-row:last-child {
    margin-bottom: 0;
}

.function-btn {
    min-width: 80px;
    height: 50px;
    border: 1px solid #555;
    background: linear-gradient(to bottom, #4a4a4a, #2a2a2a);
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    text-align: center;
    transition: all 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.function-btn:hover {
    background: linear-gradient(to bottom, #5a5a5a, #3a3a3a);
    border-color: #666;
}

.function-btn:active {
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
    transform: translateY(1px);
}

.function-btn.active {
    background: linear-gradient(to bottom, #6a6a2a, #4a4a1a);
    border-color: #888;
}

/* Spezielle Farben für bestimmte Funktionen */
.function-btn[data-function="freeze"] {
    background: linear-gradient(to bottom, #6a4a4a, #4a2a2a);
}

.function-btn[data-function="image"],
.function-btn[data-function="cine"] {
    background: linear-gradient(to bottom, #4a6a4a, #2a4a2a);
}

.panels-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: none;
}

.control-panel,
.function-panel {
    margin-top: 0;
    flex: 1;
    min-width: 0;
    max-width: none;
}

.ultrasound-screen {
    width: 80%;
    margin: 0 auto;
    height: 600px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    border: 3px solid #333;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.ultrasound-display {
    width: 90%;
    height: 85%;
    background: radial-gradient(ellipse at center, #000 0%, #111 40%, #000 100%);
    border: 2px solid #444;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.scan-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,255,0,0.03) 2px,
        rgba(0,255,0,0.03) 4px
    );
}

.ultrasound-info {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    text-shadow: 0 0 5px #00ff00;
}

.ultrasound-settings {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    text-align: right;
    text-shadow: 0 0 5px #00ff00;
}

.hidden {
    display: none !important;
}


    </style>