* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #1a1d29;
    color: #e0e0e0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
}

/* 顶部控制栏 */
.top-controls {
    background-color: #2a2f3f;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3a3f4f;
    flex-shrink: 0;
}

.system-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.system-title {
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.system-title i {
    color: #ffcc00;
}

.meal-info {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #8bc34a;
}

.time-display {
    font-size: 18px;
    font-weight: 500;
    color: #8bc34a;
    text-align: center;
}

.control-buttons {
    display: flex;
    gap: 10px;
}

.control-btn {
    padding: 8px 16px;
    background-color: #3a3f4f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
}

.control-btn:hover {
    background-color: #4a4f5f;
}

.btn-departure-all {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.btn-departure-all:hover {
    background: linear-gradient(135deg, #ff5252, #e74c3c);
}

/* 视图切换 */
.view-toggle {
    display: flex;
    background-color: #2a2f3f;
    padding: 0 20px;
    border-bottom: 1px solid #3a3f4f;
    flex-shrink: 0;
}

.view-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn.active {
    color: white;
    border-bottom: 3px solid #4fc3f7;
    background-color: rgba(79, 195, 247, 0.1);
}

/* 主要内容区域 */
.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* 左侧房间列 */
.rooms-column {
    width: 280px;
    background-color: #2a2f3f;
    border-right: 1px solid #3a3f4f;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.rooms-header {
    padding: 16px;
    border-bottom: 1px solid #3a3f4f;
    background-color: #252a38;
}

.rooms-header h3 {
    font-size: 18px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rooms-count {
    background-color: #3a3f4f;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 14px;
}

.search-box {
    width: 100%;
    padding: 10px 12px;
    background-color: #3a3f4f;
    border: 1px solid #4a4f5f;
    border-radius: 6px;
    color: white;
    font-size: 14px;
}

.rooms-list {
    flex: 1;
    overflow-y: auto;
}

.room-item {
    padding: 16px;
    border-bottom: 1px solid #3a3f4f;
    cursor: pointer;
    transition: background-color 0.2s;
}

.room-item:hover {
    background-color: #3a3f4f;
}

.room-item.active {
    background-color: #3a4f5f;
    border-left: 4px solid #4fc3f7;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.room-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.room-name {
    font-size: 17px;
    font-weight: 600;
    color: #e0e0e0;
}

.room-status {
    display: flex;
    gap: 6px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-making { background-color: #95a5a6; }
.dot-ready { background-color: #2ecc71; }
.dot-requested { background-color: #f39c12; }
.dot-served { background-color: #3498db; }
.dot-hurry { background-color: #e74c3c; }

.room-details {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #a0a0a0;
    margin-bottom: 12px;
}

.room-summary {
    display: flex;
    gap: 12px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.summary-count {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.summary-label {
    font-size: 11px;
    color: #a0a0a0;
}

.count-making { color: #95a5a6; }
.count-ready { color: #2ecc71; }
.count-requested { color: #f39c12; }
.count-hurry { color: #e74c3c; }

/* 右侧菜品显示区域 */
.dishes-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.selected-room-header {
    background-color: #252a38;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3a3f4f;
    flex-shrink: 0;
}

.selected-room-info h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

.selected-room-details {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #a0a0a0;
}

.selected-room-actions {
    display: flex;
    gap: 10px;
}

.action-btn-large {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-departure-room {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.btn-print-bill {
    background-color: #3a3f4f;
    color: white;
}

/* 菜品网格 - 详细视图 */
.dishes-container {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    align-content: start;
}

/* 全景视图 */
.panorama-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #252a38;
}

.panorama-header {
    background-color: #2a2f3f;
    padding: 12px 20px;
    border-bottom: 1px solid #3a3f4f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.panorama-header h2 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panorama-controls {
    display: flex;
    gap: 10px;
}

.panorama-table-container {
    flex: 1;
    overflow: auto;
    padding: 20px;
}

.panorama-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}

.panorama-table th {
    background-color: #2a2f3f;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #3a3f4f;
    position: sticky;
    top: 0;
    z-index: 10;
}

.panorama-table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #3a3f4f;
    vertical-align: top;
}

.room-row-header {
    background-color: #2a2f3f;
    font-weight: 600;
    position: sticky;
    left: 0;
    z-index: 5;
    min-width: 150px;
}

.room-row-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.room-row-name {
    font-size: 16px;
    font-weight: 600;
}

.room-row-details {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #a0a0a0;
}

.room-row-actions {
    margin-top: 8px;
}

.room-departure-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.dish-cell {
    min-width: 130px;
    max-width: 150px;
    cursor: pointer;
    transition: all 0.2s;
}

.dish-cell:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
}

.dish-cell-content {
    padding: 10px 6px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    position: relative;
}

.dish-item{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height:140px;
}

.dish-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: center;
    line-height: 1.3;
    color: #2c3e50;
    padding:10px;
}

.dish-sub-items {
    font-size: 11px;
    color: rgba(44, 62, 80, 0.9);
    line-height: 1.2;
    margin-bottom: 6px;
    max-height: 30px;
    overflow: hidden;
}

.dish-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
    color: white;
    margin:8px;
    text-align: center;

}

.dish-actions {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: auto;
    justify-content: center;
    align-items: center;
    padding:10px 0px;
}


.dish-action-btn {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    flex: 1;
    min-width: 60px;
    max-width: 80px;
    margin-bottom:8px;
}

.dish-action-btn:hover {
    transform: scale(1.05);
}

.btn-hurry {
    background-color: #ffebee;
    color: #e53935;
}

.btn-request {
    background-color: #fff3e0;
    color: #f57c00;
}

.btn-serve {
    background-color: #e3f2fd;
    color: #1976d2;
}

.btn-ready {
    background-color: #e8f5e9;
    color: #388e3c;
}

.dish-time {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 8px;
    color: white;
}

/* 菜品状态颜色 */
.status-1 { /* 制作中 */
    background-color: #7f8c8d;
    color: #fff;
}

.status-2 { /* 已备菜 */
    background-color: #27ae60;
    color: #fff;
}

.status-3 { /* 请求上菜 */
    background-color: #f39c12;
    color: #fff;
    animation: pulse 2s infinite;
}

.status-4 { /* 已上菜 */
    background-color: #3498db;
    color: #fff;
}

.status-5 { /* 催菜中 */
    background-color: #e74c3c;
    color: #fff;
    border: 2px solid #ff8a80;
    animation: blink 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

@keyframes blink {
    0%, 100% { border-color: #ff8a80; }
    50% { border-color: #ff5252; }
}

/* 底部状态栏 */
.bottom-status-bar {
    background-color: #252a38;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #3a3f4f;
    flex-shrink: 0;
    font-size: 14px;
}

.status-info {
    display: flex;
    gap: 20px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend {
    display: flex;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

.legend-1 { background-color: #7f8c8d; }
.legend-2 { background-color: #27ae60; }
.legend-3 { background-color: #f39c12; }
.legend-4 { background-color: #3498db; }
.legend-5 { background-color: #e74c3c; }

/* 欢送时间高亮样式 */
.room-item.farewell-highlight {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border: 2px solid #ff8a80;
    animation: farewell-pulse 1.5s infinite;
}

@keyframes farewell-pulse {
    0%, 100% { 
        background: linear-gradient(135deg, #ff6b6b, #ee5a52);
        border-color: #ff8a80;
    }
    50% { 
        background: linear-gradient(135deg, #ff5252, #e74c3c);
        border-color: #ff5252;
    }
}

.farewell-indicator {
    background-color: #ff5252;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.dot-farewell {
    background-color: #ff5252;
    border: 2px solid #ff8a80;
    animation: dot-blink 1s infinite;
}

.dot-completed {
    background-color: #27ae60;
    border: 2px solid #2ecc71;
    animation: dot-blink 1s infinite;
}

@keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 已完成订单高亮样式 */
.room-item.completed-highlight {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
    border: 2px solid #95a5a6;
    opacity: 0.7;
}

.completed-indicator {
    background-color: #7f8c8d;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* 无选中房间状态 */
.no-room-selected {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    padding: 40px;
    text-align: center;
}

.no-room-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: #3a3f4f;
}

.no-room-selected h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* 列头样式 */
.dish-column-header {
    background-color: #3a3f4f;
    font-weight: 600;
    padding: 12px 8px;
    position: relative;
}

.dish-column-index {
    font-size: 16px;
    margin-bottom: 4px;
}

.dish-column-example {
    font-size: 12px;
    color: #a0a0a0;
    font-style: italic;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .rooms-column {
        width: 240px;
    }
    
    .dishes-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* 横屏优化 */
@media (orientation: landscape) {
    .container {
        max-height: 100vh;
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #2a2f3f;
}

::-webkit-scrollbar-thumb {
    background: #4a4f5f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a5f6f;
}

/* 隐藏/显示类 */
.hidden {
    display: none !important;
}

/* 菜品类型标签 */
.dish-category {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* 批量离场提醒Dialog样式 */
.departure-all-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none; /* 初始隐藏 */
    align-items: center;
    justify-content: center;
    pointer-events: none; /* 初始不响应事件 */
}

.departure-all-modal.show {
    display: flex;
    pointer-events: auto; /* 显示时响应事件 */
}

.departure-all-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

.departure-all-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.departure-all-modal-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 20px 25px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.departure-all-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.departure-all-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.departure-all-modal-close:hover {
    opacity: 1;
}

.departure-all-modal-body {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
}

.departure-all-info {
    margin-bottom: 20px;
}

.departure-all-info p {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.departure-all-rooms {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
}

.departure-room-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.departure-room-item:last-child {
    border-bottom: none;
}

.departure-room-item:hover {
    background-color: #f8f9fa;
}

.departure-room-checkbox {
    margin-right: 15px;
    transform: scale(1.2);
}

.departure-room-info {
    flex: 1;
}

.departure-room-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.departure-room-details {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #6c757d;
}

.departure-room-detail {
    display: flex;
    align-items: center;
    gap: 4px;
}

.departure-all-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.departure-all-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.selection-info {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

.selection-info span {
    color: #007bff;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.departure-all-btn-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.departure-all-btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.departure-all-btn-confirm {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.departure-all-btn-confirm:hover {
    background: linear-gradient(135deg, #ee5a52, #e74c3c);
    transform: translateY(-1px);
}

.departure-all-btn-confirm:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

/* 监控系统模态框样式 */
.monitor-modal-content {
    background-color: #2a2f3f;
    border: 1px solid #3a3f4f;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.monitor-modal-header {
    background-color: #1a1d29;
    border-bottom: 1px solid #3a3f4f;
    padding: 16px 20px;
}

.monitor-modal-header .modal-title {
    color: #ffcc00;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.monitor-modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.monitor-modal-header .btn-close:hover {
    opacity: 1;
}

.monitor-modal-body {
    padding: 20px;
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.5;
}

.confirm-message,
.alert-message {
    text-align: center;
    padding: 10px 0;
}

.monitor-modal-footer {
    background-color: #1a1d29;
    border-top: 1px solid #3a3f4f;
    padding: 16px 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.monitor-btn-cancel {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
}

.monitor-btn-cancel:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: translateY(-1px);
}

.monitor-btn-confirm {
    background-color: #ffcc00;
    border-color: #ffcc00;
    color: #1a1d29;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.monitor-btn-confirm:hover {
    background-color: #ffd633;
    border-color: #ffd633;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
}

.monitor-btn-ok {
    background-color: #ffcc00;
    border-color: #ffcc00;
    color: #1a1d29;
    padding: 8px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.monitor-btn-ok:hover {
    background-color: #ffd633;
    border-color: #ffd633;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
}

/* 模态框动画效果 */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* 模态框背景 */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-backdrop.show {
    opacity: 1;
}

/* 合并菜品特殊样式 */
.combined-dish {
    min-height: 120px;
}

.combined-dish .dish-name {
    font-size: 15px;
    margin-bottom: 2px;
}

/* 新功能样式 - 开始订单按钮 */
.btn-start-order {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-start-order:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-start-order:disabled {
    background: #7f8c8d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 用餐时间显示 */
.dining-duration {
    font-weight: 600;
    color: #4fc3f7;
    font-size: 16px;
}

.dining-duration.hhmm-format {
    font-family: 'Courier New', monospace;
    background-color: rgba(79, 195, 247, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(79, 195, 247, 0.3);
}

/* 状态栏连接状态 */
.connection-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.connection-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.connection-connected { background-color: #4CAF50; }
.connection-disconnected { background-color: #f44336; }
.connection-connecting { background-color: #ff9800; }

/* 全景视图卡片样式 */
.panorama-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    overflow-y: auto;
}

.order-card {
    background-color: #2a2f3f;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #3a3f4f;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: #4fc3f7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #3a3f4f;
}

.order-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
}

.order-card-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.status-confirmed { background-color: #f39c12; color: white; }
.status-ready { background-color: #27ae60; color: white; }
.status-served { background-color: #3498db; color: white; }

.order-card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.order-card-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    color: #a0a0a0;
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0;
}

.order-card-actions {
    display: flex;
    gap: 8px;
}

.card-action-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.card-start-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.card-start-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
}

.card-details-btn {
    background-color: #3a3f4f;
    color: white;
}

.card-details-btn:hover {
    background-color: #4a4f5f;
}

/* 全景视图房间状态样式 */
.room-row-header.farewell-highlight {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border: 2px solid #ff8a80;
    animation: farewell-pulse 1.5s infinite;
}

.room-row-header.completed-highlight {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
    border: 2px solid #95a5a6;
    opacity: 0.7;
}

.room-complete-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.room-complete-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
}