@import url('style.css');

.container { max-width: 500px; }
h1 { color: var(--accent-blue); margin-bottom: 20px; }

.table-nav { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 20px; }
.table-nav button { width: 50px; height: 50px; background: var(--bg-secondary); border: 2px solid #333; border-radius: var(--radius-lg); color: var(--text-primary); font-size: 24px; cursor: pointer; }
.table-nav button:hover { border-color: var(--accent-blue); }

.table-number { font-size: 48px; font-weight: bold; color: var(--accent-blue); }
.table-badge { background: var(--accent-red); color: white; padding: 6px 16px; border-radius: var(--radius-xl); font-size: 16px; }

.plate-buttons { display: grid; grid-template-columns: repeat(1, 1fr); gap: 10px; margin-bottom: 20px; }
.plate-btn { padding: 20px; background: var(--bg-tertiary); border: 2px solid #333; border-radius: var(--radius-lg); color: var(--text-primary); cursor: pointer; font-size: 18px; transition: all 0.1s; }
.plate-btn:hover { border-color: var(--accent-blue); }
.plate-btn:active, .plate-btn.selected { background: var(--accent-blue); color: var(--bg-primary); border-color: var(--accent-blue); }

.order-items { min-height: 80px; background: var(--bg-tertiary); border-radius: var(--radius-lg); padding: var(--space-md); margin-bottom: 20px; }
.order-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; background: var(--bg-secondary); border-radius: var(--radius-md); margin-bottom: 8px; font-size: 18px; }
.order-item:last-child { margin-bottom: 0; }
.order-item button { background: var(--accent-danger); border: none; border-radius: var(--radius-sm); padding: 8px 14px; color: white; cursor: pointer; font-size: 16px; }

.send-btn { width: 100%; padding: 20px; background: var(--accent-green); border: none; border-radius: var(--radius-lg); color: var(--bg-primary); font-size: 22px; font-weight: bold; cursor: pointer; }
.send-btn:hover { background: #26b863; }
.send-btn:disabled { background: #333; color: var(--text-muted); cursor: not-allowed; }

.sent { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--accent-green); color: var(--bg-primary); padding: 30px 60px; border-radius: var(--radius-xl); font-size: 36px; font-weight: bold; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.sent.show { opacity: 1; }
