@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-size: 16px;
  font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
  background-color: #f5f5f5;
}

a {
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: none;
}

.breadcrumb {
  background-color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

.breadcrumb > li + li:before {
  color: #ccc;
  content: "/ ";
}

.breadcrumb a {
  color: #5b8a72;
}

.breadcrumb .icon-home {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

[v-cloak] {
  display: none;
}

footer {
  background-color: #298036;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

footer p {
  margin: 4px 0;
  font-size: 0.9em;
  opacity: 0.9;
}

footer a {
  color: #c8e6c9;
}

footer a:hover {
  color: #fff;
}

.custom-tabs {
  border-bottom: 2px solid #5b8a72;
  margin-bottom: 25px;
}

.custom-tabs > li {
  margin-bottom: 0;
}

.custom-tabs > li > a {
  color: #555;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 6px 6px 0 0;
  margin-right: 4px;
  padding: 12px 16px;
  background-color: #eaeaea;
  transition: all 0.2s;
}

.custom-tabs > li > a:hover {
  background-color: #e8f5d0;
  color: #3a6b4a;
  border-color: transparent;
}

.custom-tabs > li.active > a,
.custom-tabs > li.active > a:hover,
.custom-tabs > li.active > a:focus {
  color: #fff;
  background-color: #5b8a72;
  border: 1px solid #5b8a72;
  border-bottom-color: transparent;
}

.tab-content-box {
  background-color: #fff;
  padding: 30px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
  .tab-content-box {
    padding: 30px 10px;
  }
}
.step-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.05em;
  font-weight: 700;
  color: #fff;
  background-color: #5b8a72;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  background: #fff;
  color: #5b8a72;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  font-weight: 700;
  flex-shrink: 0;
}

.station-select {
  width: 100%;
  padding: 10px 12px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.station-info {
  margin-top: 12px;
  padding: 12px 16px;
  background: #f0f7ec;
  border-left: 4px solid #5b8a72;
  border-radius: 0 4px 4px 0;
  font-size: 0.9em;
  color: #444;
  line-height: 1.8;
}

.station-info i {
  color: #5b8a72;
  margin-right: 6px;
}

.district-label {
  font-weight: 600;
  color: #555;
  font-size: 0.9em;
  margin-bottom: 6px;
  display: block;
}

.district-label i {
  color: #5b8a72;
  margin-right: 5px;
}

.district-hint {
  margin-top: 10px;
  padding: 8px 14px;
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  border-radius: 0 4px 4px 0;
  font-size: 0.88em;
  color: #856404;
}

.station-search {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.95em;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
  font-family: inherit;
}

.station-list-wrap {
  max-height: 340px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.station-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.12s;
}

.station-list-item:last-child {
  border-bottom: none;
}

.station-list-item:hover {
  background: #e8f5e9;
}

.station-list-item.selected {
  background: #c8e6c9;
}

.station-list-item .sli-code {
  flex-shrink: 0;
  background: #5b8a72;
  color: #fff;
  font-size: 0.75em;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-top: 2px;
}

.station-list-item .sli-info {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.station-list-item .sli-name {
  font-weight: 700;
  color: #222;
  font-size: 0.95em;
}

.station-list-item .sli-addr {
  color: #666;
  font-size: 0.82em;
  margin-top: 2px;
  word-break: break-word;
}

.station-list-item .sli-phone {
  color: #888;
  font-size: 0.8em;
}

.station-list-item .sli-check {
  flex-shrink: 0;
  color: #2e7d32;
  font-size: 1.2em;
  align-self: center;
}

.station-list-empty {
  padding: 20px;
  text-align: center;
  color: #aaa;
  font-size: 0.9em;
}

.calendar-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.calendar-box {
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .calendar-box {
    width: 100%;
    max-width: 100%;
  }
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cal-header .cal-title {
  font-weight: 700;
  font-size: 1em;
  color: #2e7d32;
}

.cal-header button {
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  color: #555;
}

.cal-header button:hover {
  background: #e8f5e9;
}

.cal-grid {
  border-collapse: collapse;
  width: 100%;
}

.cal-grid th {
  text-align: center;
  padding: 6px 4px;
  font-size: 0.85em;
  color: #888;
  font-weight: 600;
}

.cal-grid th:first-child {
  color: #e53935;
}

.cal-grid th:last-child {
  color: #1565c0;
}

.cal-grid td {
  text-align: center;
  padding: 0;
}

.cal-day {
  width: 36px;
  height: 36px;
  margin: 2px auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  cursor: pointer;
  transition: background 0.15s;
}

.cal-day:hover:not(.disabled):not(.selected) {
  background: #c8e6c9;
}

.cal-day.disabled {
  color: #ccc;
  cursor: default;
}

.cal-day.today {
  border: 2px solid #5b8a72;
  color: #2e7d32;
  font-weight: 700;
}

.cal-day.selected {
  background: #5b8a72;
  color: #fff;
  font-weight: 700;
}

.cal-day.sunday {
  color: #e53935;
}

.cal-day.sunday.disabled {
  color: #f8bbd0;
}

/* TIMESLOTS */
.timeslot-box {
  flex: 1 1 300px;
}

.timeslot-label {
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
  font-size: 0.9em;
}

.timeslot-period {
  margin-bottom: 14px;
}

.timeslot-period .period-name {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 6px;
  font-weight: 600;
}

.timeslot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-btn {
  padding: 6px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 0.88em;
  cursor: pointer;
  transition: all 0.15s;
  color: #444;
}
.time-btn .slot-remain {
  font-size: 0.78em;
  opacity: 0.8;
}

.time-btn:hover:not(.selected):not(:disabled) {
  border-color: #5b8a72;
  color: #5b8a72;
}

.time-btn.selected {
  background: #5b8a72;
  border-color: #5b8a72;
  color: #fff;
  font-weight: 600;
}

.time-btn:disabled {
  cursor: not-allowed;
  background: #f5f5f5;
  border-color: #e0e0e0;
  color: #aaa;
  opacity: 0.6;
}

.selected-datetime {
  margin-top: 12px;
  padding: 10px 14px;
  background: #e8f5e9;
  border-radius: 4px;
  font-size: 0.9em;
  color: #2e7d32;
  font-weight: 600;
  word-break: break-word;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-row .form-group {
  flex: 1 1 200px;
  margin-bottom: 0;
}

.form-group label {
  font-weight: 600;
  color: #555;
  font-size: 0.9em;
  margin-bottom: 5px;
  display: block;
}

.form-group label .req {
  color: #e53935;
  margin-left: 2px;
}

.form-control {
  font-size: 1em;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.error-msg {
  color: #e53935;
  font-size: 0.82em;
  margin-top: 4px;
}

.error-msg i {
  margin-right: 3px;
}

.submit-area {
  text-align: center;
  margin-top: 10px;
}

.btn-submit {
  background-color: #e53935;
  color: #fff;
  border: none;
  padding: 14px 60px;
  font-size: 1.1em;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 2px;
  transition: opacity 0.2s;
  font-family: inherit;
  max-width: 100%;
}

.btn-submit:hover {
  opacity: 0.85;
}

.btn-submit:disabled {
  background-color: #aaa;
  cursor: default;
}

.modal-header {
  background-color: #2e7d32;
}

.modal-title {
  color: #fff;
  font-size: 1.1em;
}

.modal-header .close {
  color: #fff;
  opacity: 1;
}

.confirm-box {
  background: #f0f7ec;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.confirm-box .row-item {
  display: flex;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #ccc;
  font-size: 0.95em;
}

.confirm-box .row-item:last-child {
  border-bottom: none;
}

.confirm-box .row-item .label {
  color: #888;
  width: 100px;
  flex-shrink: 0;
}

.confirm-box .row-item .value {
  color: #222;
  font-weight: 600;
  word-break: break-all;
  min-width: 0;
}

.notice-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 0.88em;
  color: #555;
  line-height: 2;
}

.notice-list li strong {
  color: #e53935;
}

.result-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
}

.result-header {
  background: #5b8a72;
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.result-header .rno {
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 1px;
  word-break: break-all;
}
.result-header .status-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 10px;
  font-size: 0.82em;
  font-weight: 700;
  flex-shrink: 0;
}
.result-header .status-active {
  background: #c8e6c9;
  color: #2e7d32;
}
.result-header .status-cancelled {
  background: #ffcdd2;
  color: #c62828;
}

.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.reserve-no {
  text-align: center;
  font-weight: 700;
  color: #2e7d32;
  padding: 10px 0 4px;
  word-break: break-all;
}

.reserve-no span {
  font-size: 1.5em;
  letter-spacing: 2px;
}

.success-icon {
  text-align: center;
  padding: 10px 0;
}

.success-icon i {
  font-size: 50px;
  color: #4caf50;
}

.captcha-wrap {
  max-width: 320px;
  margin: 0 auto 20px auto;
  text-align: left;
}

.captcha-label {
  font-weight: 600;
  color: #555;
  font-size: 0.9em;
  margin-bottom: 5px;
}

.captcha-label .req {
  color: #e53935;
  margin-left: 2px;
}

.captcha-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-transform: uppercase;
  min-width: 0;
}

.captcha-img-box {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 2px 6px;
  height: 42px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.captcha-img {
  height: 32px;
  width: auto;
  display: block;
  cursor: pointer;
}

.btn-refresh-captcha {
  background: none;
  border: none;
  color: #5b8a72;
  cursor: pointer;
  padding: 4px 6px;
  font-size: 1.1em;
  transition: transform 0.2s;
}

.btn-refresh-captcha:hover {
  transform: rotate(45deg);
}

.query-hint {
  font-size: 0.88em;
  color: #888;
  margin-bottom: 14px;
}

.query-hint i {
  color: #ffc107;
  margin-right: 4px;
}

.action-center {
  text-align: center;
}

.btn-query {
  background: #5b8a72;
  color: #fff;
  border: none;
  padding: 10px 36px;
  border-radius: 4px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-top: 14px;
  transition: opacity 0.2s;
  max-width: 100%;
}
.btn-query:hover {
  opacity: 0.85;
}

.btn-edit-datetime {
  background: #16a085;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 600;
  font-family: inherit;
  transition: opacity 0.2s;
}
.btn-edit-datetime:hover {
  opacity: 0.85;
}

.btn-cancel-reserve {
  background: #c0392b;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 600;
  font-family: inherit;
}
.btn-cancel-reserve:hover {
  opacity: 0.85;
}

.list-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.list-card .list-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.list-card .list-title .badge-count {
  font-size: 0.85rem;
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.empty-card {
  text-align: center;
  padding: 40px 20px;
}
.empty-card .query-no-result .empty-icon-wrapper {
  font-size: 96px;
  color: #ffa000;
  margin-bottom: 12px;
}
.empty-card .query-no-result .empty-text {
  font-size: 1rem;
  color: #606266;
  margin: 0;
}

.reservation-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.reservation-item {
  border: 1px solid #c8e6c9;
  border-radius: 10px;
  background: #f9fbe7;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.reservation-item:hover {
  border-color: #81c784;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.15);
  transform: translateY(-2px);
}
.reservation-item.is-cancelled {
  background: #fff8f8;
  border-color: #ffcdd2;
}
.reservation-item.is-cancelled:hover {
  border-color: #e57373;
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.12);
}
.reservation-item .item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: #5b8a72;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.reservation-item .item-header .reserve-no {
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  word-break: break-all;
}
.reservation-item .item-header .reserve-no i {
  color: #d1e7dd;
}
.reservation-item .item-header .status-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.reservation-item .item-header .status-tag.tag-success {
  background-color: #e8f5e9;
  color: #1b5e20;
}
.reservation-item .item-header .status-tag.tag-danger {
  background-color: #ffebee;
  color: #c62828;
}
.reservation-item .item-body {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}
.reservation-item .item-body .info-row {
  display: flex;
  align-items: center;
  font-size: 0.92rem;
  min-width: 0;
}
.reservation-item .item-body .info-row.full-width {
  grid-column: 1/-1;
}
.reservation-item .item-body .info-row.highlight-row {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 6px 10px;
  border-radius: 6px;
}
.reservation-item .item-body .info-row .label {
  color: #616161;
  width: 95px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
}
.reservation-item .item-body .info-row .label i {
  width: 14px;
  text-align: center;
  color: #81c784;
}
.reservation-item .item-body .info-row .value {
  color: #212121;
  word-break: break-all;
  min-width: 0;
}
.reservation-item .item-body .info-row .value.font-bold {
  font-weight: 700;
}
.reservation-item .item-body .info-row .value.car-badge {
  background-color: #e3f2fd;
  color: #1565c0;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
}

.detail-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.detail-card .list-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-card .reservation-detail-body .info-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  font-size: 0.95rem;
  min-width: 0;
}
.detail-card .reservation-detail-body .info-row .label {
  font-size: 1rem;
  color: #666;
  width: 120px;
  flex-shrink: 0;
}
.detail-card .reservation-detail-body .info-row .value {
  color: #222;
  word-break: break-all;
  min-width: 0;
}
.detail-card .reservation-detail-body .info-row .value.font-bold {
  font-weight: 700;
}
.detail-card .reservation-detail-body .action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.edit-datetime-box {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
}
.edit-datetime-box h4 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #2e7d32;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.edit-datetime-box .edit-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .step-card {
    padding: 16px 12px;
  }
  .list-card,
  .detail-card {
    padding: 16px 12px;
  }
  .reservation-item .item-body {
    grid-template-columns: 1fr;
  }
  .reservation-item .item-body .info-row .label {
    width: 85px;
  }
  .detail-card .reservation-detail-body .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .detail-card .reservation-detail-body .info-row .label {
    width: 100%;
    color: #888;
    text-align: left;
  }
  .detail-card .reservation-detail-body .info-row .value {
    width: 100%;
    padding: 0.2em 0.6em 0.3em;
  }
  .confirm-box .row-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .confirm-box .row-item .label {
    width: 100%;
  }
  .edit-datetime-box {
    padding: 12px;
  }
  .btn-submit {
    width: 100%;
    padding: 14px 200px;
  }
}/*# sourceMappingURL=reserve.css.map */