/* Seller profile, dashboard, and seat designer */

.wk-te-profile-form {
  margin: 0;
  border: 1px solid #dcdada;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.wk-te-profile-form__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 30px;
  padding: 22px 24px 12px;
}

.wk-te-profile-form label {
  display: block;
  margin: 0;
}

.wk-te-profile-form label span {
  display: block;
  margin-bottom: 7px;
  color: #253a57;
  font-size: 13px;
  font-weight: 600;
}

.wk-te-profile-form input[type="text"],
.wk-te-profile-form input[type="email"],
.wk-te-profile-form select,
.wk-te-profile-form textarea {
  width: 100%;
  height: 34px;
  padding: 6px 10px;
  color: #10243d;
  border: 1px solid #d6d4d4;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.wk-te-profile-form textarea {
  height: auto;
  min-height: 110px;
  resize: vertical;
}

.wk-te-profile-form select:disabled,
.wk-te-profile-form input:disabled {
  color: #888;
  background: #f5f5f5;
}

.wk-te-profile-form small {
  display: block;
  margin-top: 7px;
  color: #777;
  font-style: italic;
  line-height: 1.4;
}

.wk-te-profile-form .wk-te-form-narrow {
  grid-column: 1 / 2;
}

.wk-te-profile-form__terms {
  display: flex !important;
  align-items: center;
  gap: 7px;
}

.wk-te-profile-form__terms input {
  flex: 0 0 auto;
  margin: 0;
}

.wk-te-profile-form__terms span {
  display: inline !important;
  margin: 0 !important;
  color: #666 !important;
  font-weight: 400 !important;
}

.wk-te-profile-form__note {
  margin: 0;
  color: #111;
  font-style: italic;
  font-weight: 700;
}

.wk-te-required {
  margin-right: 4px;
  color: #f00;
  font-weight: 700;
}

.wk-te-profile-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 18px 24px;
  border-top: 1px solid #eee;
}

.wk-te-profile-cancel,
.wk-te-profile-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid #d6d4d4;
  border-radius: 0;
  font-size: 13px;
  text-decoration: none;
}

.wk-te-profile-cancel {
  color: #333;
  background: #fff;
}

.wk-te-profile-save {
  color: #fff;
  border-color: #43a047;
  background: #43a047;
}

.wk-te-profile-save:hover,
.wk-te-profile-save:focus {
  color: #fff;
  background: #3d9542;
}

.wk-te-seller-welcome {
  margin: 0 0 18px;
  color: #10243d;
}

.wk-te-dashboard-badges {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  overflow: visible;
  padding-bottom: 0;
}

.wk-te-dashboard-badge {
  position: relative;
  min-height: 82px;
  padding: 18px 12px 14px 24px;
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
}

.wk-te-dashboard-badge span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 9px;
}

.wk-te-dashboard-badge strong {
  display: block;
  color: #111;
  font-size: 24px;
  line-height: 1;
}

.wk-te-dashboard-badge em {
  display: block;
  margin-top: 9px;
  color: #111;
  font-style: normal;
  font-weight: 700;
}

.wk-te-dashboard-badge--blue {
  background: rgba(38, 111, 254, 0.28);
}

.wk-te-dashboard-badge--blue span {
  background: #266ffe;
}

.wk-te-dashboard-badge--sky {
  background: rgba(114, 195, 240, 0.28);
}

.wk-te-dashboard-badge--sky span {
  background: #72c3f0;
}

.wk-te-dashboard-badge--green {
  background: rgba(86, 206, 86, 0.28);
}

.wk-te-dashboard-badge--green span {
  background: #56ce56;
}

.wk-te-dashboard-badge--yellow {
  background: rgba(255, 193, 71, 0.28);
}

.wk-te-dashboard-badge--yellow span {
  background: #ffc147;
}

.wk-te-dashboard-badge--red {
  background: rgba(255, 64, 55, 0.28);
}

.wk-te-dashboard-badge--red span {
  background: #ff4037;
}

.wk-te-dashboard-badge--pink {
  background: rgba(255, 128, 158, 0.28);
}

.wk-te-dashboard-badge--pink span {
  background: #ff809e;
}

.wk-te-dashboard-filter {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #dcdada;
  border-radius: 5px;
  background: #fff;
}

.wk-te-dashboard-filter select,
.wk-te-dashboard-date {
  height: 45px;
  padding: 0 14px;
  border: 1px solid #dcdada;
  border-radius: 2px;
  background: #fff;
  color: #555;
}

.wk-te-dashboard-date {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-te-dashboard-range {
  display: flex;
  justify-content: flex-end;
  white-space: nowrap;
}

.wk-te-dashboard-range button,
.wk-te-dashboard-tabs button {
  min-height: 45px;
  padding: 0 15px;
  border: 1px solid #dcdada;
  background: #fff;
  color: #333;
}

.wk-te-dashboard-range button.is-active,
.wk-te-dashboard-tabs button.is-active {
  color: #fff;
  border-color: #49a8a2;
  background: #49a8a2;
}

.wk-te-dashboard-panel {
  padding: 20px;
  border: 1px solid #dcdada;
  border-radius: 5px;
  background: #fff;
}

.wk-te-dashboard-panel h3 {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
  color: #222;
  font-size: 20px;
  font-weight: 700;
}

.wk-te-dashboard-operations {
  min-height: 194px;
  margin-bottom: 16px;
}

.wk-te-dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wk-te-dashboard-tabs button span {
  margin-left: 5px;
  padding: 2px 6px;
  color: #333;
  border: 1px solid #dcdada;
  border-radius: 2px;
  background: #f4f6fa;
}

.wk-te-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.wk-te-dashboard-grid .wk-te-dashboard-panel {
  min-height: 290px;
}

.wk-te-dashboard-empty {
  min-height: 190px;
}

.wk-te-designer--seller {
  margin: 18px 0 8px;
}

.wk-te-designer--seller .wk-te-designer-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 14px;
}

.wk-te-designer--seller .wk-te-template-panel,
.wk-te-designer--seller .wk-te-canvas-panel {
  min-width: 0;
  border: 1px solid #dbe5ee;
  border-radius: 4px;
  background: #fff;
}

.wk-te-designer--seller .wk-te-template-panel-heading,
.wk-te-designer--seller .wk-te-preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 11px 14px;
  color: #10243d;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #edf1f5;
}

.wk-te-designer--seller .wk-te-panel-subtitle,
.wk-te-designer--seller .wk-te-active-template {
  padding: 12px 14px;
  color: #43607d;
  border-bottom: 1px solid #edf1f5;
}

.wk-te-designer--seller .wk-te-active-template {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.wk-te-designer--seller .wk-te-template-name-input,
.wk-te-designer--seller #wk-te-template-name {
  width: min(420px, 100%);
  min-height: 36px;
  padding: 7px 10px;
  color: #10243d;
  border: 1px solid #d6e1eb;
  border-radius: 4px;
  background: #fff;
  font-weight: 700;
}

.wk-te-designer--seller .wk-te-template-list {
  max-height: 380px;
  overflow: auto;
  padding: 14px;
}

.wk-te-designer--seller .wk-te-template-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 92px;
  margin-bottom: 12px;
  padding: 15px 16px;
  text-align: left;
  border: 1px solid #dbe5ee;
  border-radius: 5px;
  background: #fff;
}

.wk-te-designer--seller .wk-te-template-card:hover,
.wk-te-designer--seller .wk-te-template-card.is-active {
  border-color: #49a8a2;
  background: #f4fffd;
}

.wk-te-designer--seller .wk-te-template-card.is-active:after {
  content: "\f00c";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  color: #fff;
  font-family: FontAwesome;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: #49a8a2;
}

.wk-te-designer--seller .wk-te-template-card strong,
.wk-te-designer--seller .wk-te-template-card span,
.wk-te-designer--seller .wk-te-template-card small {
  display: block;
}

.wk-te-designer--seller .wk-te-template-card span {
  margin-top: 7px;
  color: #5f7390;
}

.wk-te-designer--seller .wk-te-template-card small {
  margin-top: 6px;
  color: #6d7f99;
}

.wk-te-designer--seller .wk-te-toolbar {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f5;
}

.wk-te-designer--seller .wk-te-toolbar label {
  width: 210px;
  color: #10243d;
  font-weight: 600;
}

.wk-te-designer--seller .wk-te-canvas-wrap {
  height: 360px;
  overflow: auto;
  padding: 18px;
  background: #fff;
}

.wk-te-designer--seller .wk-te-layout-type-control {
  display: flex;
  width: min(240px, 100%);
  flex-direction: column;
  gap: 5px;
  margin: 0;
  color: #10243d;
  font-size: 12px;
  font-weight: 700;
}

.wk-te-designer--seller .wk-te-layout-type-control select {
  height: 36px;
  padding: 0 10px;
  color: #10243d;
  border: 1px solid #d6e1eb;
  border-radius: 4px;
  background: #fff;
  font-weight: 700;
}

.wk-te-designer--seller .wk-te-layout-canvas {
  position: relative;
  width: 700px;
  height: 320px;
  margin: 0 auto;
  box-sizing: border-box;
}

.wk-te-designer--seller .wk-te-summary {
  display: flex;
  justify-content: center;
  width: min(430px, calc(100% - 40px));
  gap: 24px;
  margin: 0 auto 16px;
  padding: 12px 16px;
  border: 1px solid #dbe5ee;
  border-radius: 5px;
  background: #fff;
}

.wk-te-designer--seller .wk-te-summary span {
  min-width: 70px;
  color: #5f7390;
  text-align: center;
}

.wk-te-designer--seller .wk-te-summary strong {
  display: block;
  color: #10243d;
  font-size: 18px;
}

.wk-te-designer--seller .wk-te-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid #edf1f5;
}

.wk-te-editor-subtle-btn {
  min-height: 38px;
  border: 1px solid #dcdada;
  background: #fff;
  color: #333;
  font-weight: 700;
}

.wk-te-seat-template-end-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 14px;
}

.wk-te-designer--seller-page .wk-te-designer-grid {
  align-items: stretch;
}

.wk-te-designer--seller-page .wk-te-template-panel {
  display: flex;
  flex-direction: column;
}

.wk-te-designer--seller-page .wk-te-template-list {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
}

.wk-te-designer--seller .wk-te-seat-type-palette {
  margin: 16px;
  padding: 14px 16px;
  border: 1px solid #dbe5ee;
  border-radius: 6px;
  background: #fbfcff;
}

.wk-te-designer--seller .wk-te-seat-type-palette h3 {
  margin: 0 0 4px;
  color: #10243d;
  font-size: 14px;
  font-weight: 800;
}

.wk-te-designer--seller .wk-te-seat-type-palette p {
  margin: 0 0 12px;
  color: #6d7f99;
  font-size: 11px;
}

.wk-te-designer--seller .wk-te-seat-type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.wk-te-designer--seller .wk-te-seat-type-grid button {
  display: flex;
  min-height: 58px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 10px 14px;
  color: #061b34;
  border: 1px solid #cfe1ef;
  border-radius: 12px;
  background: #f2f6ff;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}

.wk-te-designer--seller .wk-te-seat-type-grid button:hover {
  color: #49a8a2;
  border-color: #49a8a2;
  background: #f4fffd;
}

.wk-te-designer--seller .wk-te-seat-type-grid i {
  width: 28px;
  color: #007a70;
  font-size: 25px;
  text-align: center;
}

.wk-te-designer--seller .wk-te-seat-type-grid [data-seat-type-palette="vip"] i,
.wk-te-designer--seller
  .wk-te-seat-type-grid
  [data-seat-type-palette="sleeper"]
  i {
  color: #685cf7;
}

.wk-te-designer--seller
  .wk-te-seat-type-grid
  [data-seat-type-palette="double_sleeper"]
  i {
  color: #ec4899;
}

.wk-te-designer--seller
  .wk-te-seat-type-grid
  [data-seat-type-palette="cabin"]
  i,
.wk-te-designer--seller
  .wk-te-seat-type-grid
  [data-seat-type-palette="ferry"]
  i,
.wk-te-designer--seller
  .wk-te-seat-type-grid
  [data-seat-type-palette="open_deck"]
  i {
  color: #14b8a6;
}

.wk-te-designer--seller .wk-te-seat-aisle {
  color: #10243d;
  text-shadow: none;
}
