/* ===== Shared Page Components ===== */

/* Page back navigation bar (used on sub-pages) */
.page-nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: #272a36;
}

.page-nav__inner {
  width: 100%;
  height: 44px;
  line-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  position: relative;
}

.page-nav__back {
  font-family: "uniicons";
  font-size: 18px;
  color: var(--text-secondary);
  cursor: pointer;
  position: absolute;
  left: 16px;
  z-index: 1;
}

.page-nav__title {
  flex: 1;
  font-size: 16px;
  text-align: center;
  color: var(--text-primary);
}

.page-nav__right {
  font-family: "uniicons";
  font-size: 18px;
  color: var(--text-secondary);
  position: absolute;
  right: 16px;
}

.page-nav__seat {
  width: 100%;
  height: 44px;
}

/* ===== Form Components ===== */
.form-card {
  padding: 20px;
  background-color: var(--bg-secondary);
  border-radius: 20px;
  font-size: 14px;
}

.form-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 20px;
}

.form-label:first-child {
  margin-top: 0;
}

.form-input {
  margin-top: 10px;
  width: 100%;
  padding: 10px 0 5px;
  font-size: 14px;
  color: var(--text-primary);
  background: none;
  border: none;
  border-bottom: 1px solid #282833;
  outline: none;
}

.form-input::placeholder {
  color: var(--text-secondary);
}

.form-btn {
  margin-top: 25px;
  margin-bottom: 20px;
  width: 100%;
  height: 44px;
  line-height: 44px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  color: var(--text-primary);
  background-color: #ce5b67;
  cursor: pointer;
}

/* ===== Chip / Tag selector ===== */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  padding: 8px 0;
}

.chip-item {
  padding: 8px 20px;
  margin-right: 4px;
  margin-bottom: 5px;
  border-radius: 6px;
  background-color: var(--bg-secondary);
  font-size: 12px;
  color: var(--text-primary);
  border: 1px solid #49495f;
  cursor: pointer;
  position: relative;
}

.chip-item--active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ===== Input box (rounded) ===== */
.input-box {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background-color: #393948;
  display: flex;
  align-items: center;
}

.input-box input {
  flex: 1;
  font-size: 13px;
  color: var(--text-primary);
  background: none;
  border: none;
  outline: none;
}

.input-box input::placeholder {
  color: var(--text-secondary);
}

/* ===== Empty state ===== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.empty-state__text {
  margin-top: 12px;
}

/* ===== Tab switcher ===== */
.tab-switcher {
  display: flex;
  align-items: center;
}

.tab-switcher__item {
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px 0;
  position: relative;
}

.tab-switcher__item--active {
  color: var(--text-primary);
  font-weight: 600;
}

.tab-switcher__item--active::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #f0c947;
  position: absolute;
  left: 0;
  bottom: 0;
}
