/* components.css */
/* 입력 필드, 버튼, 결과 박스, 파일 업로드 버튼 등 공통 컴포넌트 스타일 */
.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

/* 특정 섹션용 modifier 클래스 */
.input-group--reservation {
  margin-bottom: 20px;
}

.input-group--url {
  margin-bottom: 20px;
}

/* 기본 버튼 스타일 */
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 변형 클래스들 */
.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-community {
  background-color: #000;
  padding: 15px 30px;
  font-size: 1.1em;
  border-radius: 8px;
}

.btn-download {
  background: #40c057;
  padding: 0.8rem 1.5rem;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.result-box {
  margin-top: 15px;
  padding: 15px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

.file-label {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-label:hover {
  background-color: #0056b3;
}

.file-label i {
  margin-right: 8px;
}

.csv-controls {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.csv-controls button,
.csv-controls label {
  width: 100%;
  text-align: center;
  padding: 8px;
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.csv-controls button:hover,
.csv-controls label:hover {
  background-color: #5a6268;
}
