/* 기본 스타일 초기화 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Malgun Gothic', sans-serif;
}

body {
  background-color: #f5f7fb;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  text-align: center;
}

h1 {
  color: #333;
  margin-bottom: 8px;
}

.subtitle {
  color: #666;
  margin-bottom: 24px;
}

/* 🗺️ 지도 컨테이너: 손그림 이미지를 배경으로 지정 */
.map-container {
  position: relative;
  width: 1000px;  /* 이미지 가로 해상도에 맞게 적절히 조절하세요 */
  height: 600px; /* 이미지 세로 해상도에 맞게 적절히 조절하세요 */
  background-image: url('office_map.jpg'); /* 👈 준비하신 파일명으로 변경 */
  background-size: 100% 100%;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* 🪑 좌석 버튼 공통 스타일 */
.seat {
  position: absolute;
  width: 70px;   /* 좌석 버튼 가로 크기 */
  height: 45px;  /* 좌석 버튼 세로 크기 */
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 개별 좌석 상태별 스타일 */
.seat.occupied {
  background-color: #3b82f6; /* 예약된 좌석은 파란색 */
  color: white;
  border-color: #2563eb;
}

.seat:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 📍 개별 좌석 위치 (예시 좌표)
   손그림 위의 책상 위치에 맞게 top과 left 퍼센트 값을 조절하시면 됩니다.
   여기서는 우선 가상으로 5개만 위치를 잡아두었습니다. */
.seat[data-id="1"] { top: 15%; left: 10%; }
.seat[data-id="2"] { top: 15%; left: 22%; }
.seat[data-id="3"] { top: 15%; left: 34%; }
.seat[data-id="4"] { top: 45%; left: 10%; }
.seat[data-id="5"] { top: 45%; left: 22%; }
/* ... 나머지 6번부터 20번까지도 이런 식으로 아래에 추가해주시면 됩니다 */