/* Seller account shell, tabs, tables, and shared seller cards */


body[id*="transportexpress"] .page-heading,
body[class*="transportexpress"] .page-heading,
body[id*="wk_transportexpress"] .page-heading,
body[class*="wk_transportexpress"] .page-heading {
  display: none !important;
}

body[id*="module-wk_transportexpress-dashboard"] .header-top-shell .home-tabs-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.wk-te-seller-shell {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 30px;
  width: 100%;
}

.wk-te-seller-main {
  flex: 1;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.wk-te-account-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  width: max-content;
  height: 27px;
  margin: 0 0 18px;
  border: 1px solid #d6d4d4;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  clear: both;
}

.wk-te-account-tabs a,
.wk-te-account-tabs span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 100px;
  padding: 0 16px 0 18px;
  color: #555;
  border-right: 1px solid #d6d4d4;
  background: #fff;
  font-size: 12px;
  line-height: 25px;
  text-decoration: none;
}

.wk-te-account-tabs a:after,
.wk-te-account-tabs a:before {
  content: "";
  position: absolute;
  top: 0;
  right: -13px;
  z-index: 2;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 13px solid #fff;
}

.wk-te-account-tabs a:before {
  right: -14px;
  z-index: 1;
  border-left-color: #d6d4d4;
}

.wk-te-account-tabs a:hover {
  color: #10243d;
}

.wk-te-account-tabs__home {
  min-width: 34px !important;
  padding: 0 10px !important;
  color: #777 !important;
  font-size: 18px !important;
}

.wk-te-account-tabs span {
  border-right: 0;
  color: #777;
}

.wk-te-account-tabs + .wk-te-seller-shell {
  clear: both;
}

.wk-te-seller-menu {
  position: relative;
  align-self: start;
  border: 1px solid #dcdada;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.wk-te-seller-menu-top {
  height: 4px;
  background: #333;
}

.wk-te-seller-menu h3 {
  margin: 0 14px;
  padding: 14px 0;
  color: #555;
  border-bottom: 1px solid #d9d9d9;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.wk-te-seller-menu ul {
  margin: 0;
  padding: 0 14px;
  list-style: none;
}

.wk-te-seller-menu li + li {
  border-top: 1px solid #d9d9d9;
}

.wk-te-seller-menu a {
  display: block;
  padding: 14px 0;
  color: #555;
  font-size: 14px;
}

.wk-te-seller-menu a:hover,
.wk-te-seller-menu .is-active a {
  color: #49a8a2;
  text-decoration: none;
}

.wk-te-seller-menu i {
  width: 18px;
}

.wk-te-seller-title-bar {
  padding: 14px 22px;
  background: #333;
}

.wk-te-seller-title-bar span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wk-te-seller-content {
  padding: 24px;
  background: #fff;
}

.wk-te-seller-content .wk-te-seller-form {
  margin-top: 0;
}

.wk-te-seller-form--panel,
.wk-te-seller-table--panel {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.wk-te-seller-table--panel {
  padding: 0;
}

.wk-te-seller-content > .wk-te-profile-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.wk-te-seller-content > .wk-te-profile-form .wk-te-profile-form__body {
  padding: 0 0 12px;
}

.wk-te-seller-content > .wk-te-profile-form .wk-te-profile-form__footer {
  padding: 18px 0 0;
}

.wk-te-company-list-panel {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.wk-te-company-list-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 22px;
}

.wk-te-company-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 13px;
  color: #fff;
  border-radius: 3px;
  background: #49a8a2;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: none;
}

.wk-te-company-add-btn:hover,
.wk-te-company-add-btn:focus {
  color: #fff;
  background: #3f9993;
  text-decoration: none;
}

.wk-te-company-list-toolbar,
.wk-te-company-list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wk-te-company-list-toolbar {
  margin-bottom: 14px;
}

.wk-te-company-list-toolbar label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #333;
  font-weight: 400;
}

.wk-te-company-list-toolbar select,
.wk-te-company-list-toolbar input {
  height: 32px;
  border: 1px solid #d6d4d4;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.wk-te-company-list-toolbar select {
  min-width: 110px;
}

.wk-te-company-list-toolbar input {
  min-width: 190px;
}

.wk-te-seller-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: -6px 0 22px;
  border-bottom: 1px solid #dcdada;
}

.wk-te-seller-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 9px 14px;
  color: #4d6078;
  border: 1px solid transparent;
  border-bottom: 0;
  text-decoration: none;
}

.wk-te-seller-tabs a.is-active,
.wk-te-seller-tabs a:hover {
  color: #10243d;
  border-color: #dcdada;
  background: #fff;
  text-decoration: none;
}

.wk-te-company-list-table {
  width: 100%;
  margin-bottom: 12px;
  border-collapse: collapse;
}

.wk-te-company-list-table > thead > tr > th,
.wk-te-company-list-table > tbody > tr > td {
  padding: 11px 18px;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  color: #253a57;
  vertical-align: middle;
}

.wk-te-company-list-table > thead > tr > th {
  color: #111;
  font-weight: 700;
}

.wk-te-company-list-table > tbody > tr:nth-child(odd) > td {
  background: #f4f6fa;
}

.wk-te-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 9px;
  color: #5b6470;
  border-radius: 999px;
  background: #eef1f5;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.wk-te-status-pill--ok {
  color: #167a39;
  background: #e9f8ee;
}

.wk-te-inline-form {
  display: inline-block;
  margin: 0 0 0 6px;
}

.wk-te-inline-form button {
  min-height: 30px;
  padding: 6px 10px;
  color: #8a2b2b;
  border: 1px solid #ead1d1;
  border-radius: 3px;
  background: #fff7f7;
  font-weight: 700;
}

.wk-te-table-note {
  display: block;
  margin-top: 4px;
  color: #6b7a90;
  font-size: 12px;
}

.wk-te-company-list-footer {
  color: #666;
  font-size: 13px;
}

.wk-te-company-pagination {
  display: inline-flex;
}

.wk-te-company-pagination button,
.wk-te-company-pagination a,
.wk-te-company-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid #d6d4d4;
  border-left: 0;
  background: #fff;
  color: #555;
  text-decoration: none;
}

.wk-te-company-pagination button:first-child,
.wk-te-company-pagination a:first-child,
.wk-te-company-pagination span:first-child {
  border-left: 1px solid #d6d4d4;
}

.wk-te-company-pagination .is-active {
  color: #fff;
  border-color: #49a8a2;
  background: #49a8a2;
}

.wk-te-company-pagination .is-disabled {
  color: #aaa;
  background: #fff;
}

.wk-te-company-create-panel {
  display: none;
  margin-bottom: 24px !important;
  padding: 0;
  border: 0;
  background: transparent;
}

.wk-te-company-create-panel:target,
.wk-te-company-create-panel.is-open {
  display: grid;
}

.wk-te-company-create-panel .wk-te-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 2px;
}

.wk-te-company-create-panel .wk-te-btn,
.wk-te-company-create-panel .wk-te-profile-cancel {
  min-width: 172px;
  min-height: 42px;
  padding: 11px 16px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
}

.wk-te-company-create-panel input,
.wk-te-company-create-panel select,
.wk-te-company-create-panel textarea {
  min-height: 40px;
}

.wk-te-company-create-panel textarea {
  min-height: 76px;
  resize: vertical;
}

.wk-te-company-logo-field {
  grid-column: 2 / -1;
}

.wk-te-company-logo-control {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #dbe5ee;
  border-radius: 6px;
  background: #f8fafc;
}

.wk-te-company-logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 56px;
  border: 1px solid #d6dde8;
  border-radius: 6px;
  background: #fff;
  color: #7b8aa0;
  overflow: hidden;
}

.wk-te-company-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.wk-te-company-logo-preview i {
  font-size: 24px;
}

.wk-te-company-logo-input input[type="file"] {
  margin-top: 0;
  min-height: 40px;
  padding: 7px 10px;
  background: #fff;
}

.wk-te-company-logo-input small {
  display: block;
  margin-top: 7px;
  color: #687a90;
  font-size: 12px;
  line-height: 1.4;
}

