.kiosk-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.menu-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin: 20px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.menu-item {
    background-color: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.menu-item:hover, .menu-item:focus {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.menu-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.menu-item h3 {
    margin: 8px 0;
    font-size: 16px;
    color: #333;
}

.menu-item p {
    color: #666;
    margin: 4px 0;
    font-size: 12px;
}

.menu-item .price {
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

.modal-content h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin: 15px auto;
    display: block;
}

.modal-content p {
    color: #666;
    line-height: 1.6;
    margin: 15px 0;
    font-size: 16px;
}

.modal-content h3 {
    color: #333;
    font-size: 22px;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content li {
    background-color: #f8f8f8;
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 8px;
    color: #555;
    font-size: 15px;
}

.modal-content .price-tag {
    background-color: #333;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0;
    display: inline-block;
}

.close-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 12px 30px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 25px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: #555;
}

.accessibility-btn {
    position: fixed; /* 화면에 고정 */
    top: 75px; /* 장바구니 아이콘 아래에 위치 (15px(top) + 40px(badge height) + 10px(margin)) */
    right: 15px; /* 장바구니 아이콘과 오른쪽 정렬 */
    z-index: 1000;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    .menu-item img { height: 120px; }
    .section-title { font-size: 20px; }
    .header { font-size: 18px; }
}

@media screen and (max-width: 480px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .menu-item img { height: 100px; }
}

/* --- 테이블 선택 모달 스타일 --- */
.table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    padding: 20px 0;
}

.table-btn {
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.2s;
}

.table-btn:hover {
    background-color: #e9e9e9;
    border-color: #ccc;
}

.table-btn:focus, .table-btn.selected {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
    outline: none;
}

/* ===========================
   Standard Theme - Custom Dialog (표현)
   =========================== */
.theme-standard .dialog-overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

.theme-standard .dialog-box {
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

.theme-standard .dialog-title {
    margin-top: 0; margin-bottom: 15px;
    font-size: 1.6em;
    color: #d9534f; /* 오류를 나타내는 색상 */
}

.theme-standard .dialog-message {
    font-size: 1.1em; color: #333;
    margin-bottom: 25px; line-height: 1.5;
}

.theme-standard .dialog-actions button {
    padding: 12px 24px; border: none;
    border-radius: 8px;
    font-size: 1.1em; font-weight: bold;
    transition: background-color 0.2s;
}

.theme-standard .btn-primary {
    background-color: #007bff; color: white;
}
.theme-standard .btn-primary:hover { background-color: #0056b3; }

.theme-standard .btn-secondary {
    background-color: #6c757d; color: white;
}
.theme-standard .btn-secondary:hover { background-color: #5a6268; }

.theme-standard .receipt-error-message {
    color: #d9534f; /* Standard theme uses red for errors */
    font-weight: bold;
}