body {
  margin: 0;
  padding: 0;
  background: #f7f8fa;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.top-bar-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #333;
}

.top-bar {
  width: 1200px;
  max-width: 100vw;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 auto;
}

.bottom-bar {
  height: 70px;
  width: 100%;
  background-color: #ff6210;
}

.main-header {
  width: 1200px;
  max-width: 100vw;
  height: 350px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.main-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-wrapper {
  padding-bottom: 70px;
  box-sizing: border-box;
}

.content-bg {
  width: 1200px;
  max-width: 100vw;
  margin: 30px auto 100px auto;
  background: #fff;
  border-radius: 10px;
  padding: 32px 24px;
  display: flex;
  gap: 32px;
}

.form-col {
  flex: 1;
  min-width: 0;
}

.note-col {
  width: 350px;
  flex-shrink: 0;
}

.form-section {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-input,
.form-select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: 1.5px solid #d1d5db;
  background: #f7f8fa;
  font-size: 15px;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus {
  border-color: #ff6210;
  background: #fff;
}

.form-btn {
  background: #ff6210;
  color: #fff;
  border: none;
  padding: 12px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
}

.form-btn:hover {
  background: #e65100;
}

.success-message {
  background: #eafaf1;
  border: 1.5px solid #388e3c;
  color: #388e3c;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.error-message {
  background: #fff0f0;
  border: 1.5px solid #d8000c;
  color: #d8000c;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.checkbox-terms {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.checkbox-terms input {
  margin-right: 8px;
  margin-top: 3px;
}

.calendar-container {
  background: #f7f8fa;
  border: 1.5px solid #e0e0e0;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.calendar-title {
  font-weight: 600;
  color: #ff6210;
  margin-bottom: 12px;
  font-size: 16px;
}

.note-title {
  font-size: 18px;
  font-weight: 600;
  color: #ff6210;
  margin-bottom: 6px;
}

.footer-bar {
  height: 50px;
  width: 100%;
  background: #333;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  position: fixed;
  bottom: 0;
  left: 0;
}

.back-home-btn {
  margin-left: auto;
  background: #ff6210;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* Service Selection Styles */
.service-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #f9f9f9;
}

.service-option label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
  font-weight: normal;
}

.service-option input[type="checkbox"] {
  margin-right: 8px;
}

.service-price {
  font-weight: 600;
  color: #ff6210;
}

.total-container {
  background: #fff;
  border: 2px solid #ff6210;
  border-radius: 6px;
  padding: 12px;
  margin-top: 16px;
  text-align: right;
}

.total-label {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.total-amount {
  font-size: 24px;
  font-weight: bold;
  color: #ff6210;
}

/* Brand Selection Styles */
.brand-option {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 6px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #f9f9f9;
}

.brand-option label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
  font-weight: normal;
  width: 100%;
}

.brand-option input[type="radio"] {
  margin-right: 8px;
}

/* Calendar Styles */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 12px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s;
}

.calendar-day:hover {
  background: #f0f0f0;
}

.calendar-day.available {
  background: #e8f5e8;
  border-color: #4caf50;
  color: #2e7d2e;
}

.calendar-day.available:hover {
  background: #d4edda;
}

.calendar-day.selected {
  background: #ff6210;
  color: white;
  border-color: #ff6210;
}

.calendar-day.disabled {
  background: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
}

.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.calendar-header-day {
  text-align: center;
  font-weight: 600;
  color: #666;
  padding: 8px 4px;
  font-size: 12px;
}

.selected-date-display {
  margin-top: 12px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #ff6210;
  border-radius: 4px;
  color: #ff6210;
  font-weight: 600;
}

@media (max-width: 768px) {
  .content-bg {
    flex-direction: column;
    width: 95%;
    padding: 20px;
  }
  .note-col {
    width: 100%;
  }
}

.calendar-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 0;
}

.nav-btn {
  background-color: #ff6210;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.nav-btn:hover:not(:disabled) {
  background-color: #ff6210;
}

.nav-btn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

.month-year {
  font-weight: bold;
  font-size: 18px;
  color: #333;
}

.calendar-day.selected {
  background-color: #ff6210;
  color: white;
}