/* V117B Operation Details */

#v117-operation-nav {
  width: calc(100% - 16px);
  margin: 6px 8px;
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}

#v117-operation-nav:hover {
  background: rgba(127, 127, 127, 0.10);
}

#v117-operation-nav .v117-nav-icon {
  width: 22px;
  text-align: center;
  font-size: 18px;
  line-height: 1;
}

#v117-operation-details-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  overflow: auto;
  background: #f6f8fc;
  display: none;
}

.v117-page {
  min-height: 100%;
  padding: 16px 18px 28px;
  box-sizing: border-box;
}

.v117-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.v117-headline h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  color: #13233a;
}

.v117-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v117-action-btn,
.v117-close-btn {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  background: #ffffff;
  color: #173155;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.v117-close-btn {
  min-width: 38px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 22px;
  line-height: 1;
}

.v117-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.v117-tabs button {
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid #d5dfec;
  border-radius: 10px;
  background: #ffffff;
  color: #173155;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.v117-tabs button.active {
  background: #0f1f3a;
  border-color: #0f1f3a;
  color: #ffffff;
}

.v117-table-shell {
  background: #ffffff;
  border: 1px solid #d7e0eb;
  border-radius: 12px;
  overflow: hidden;
}

.v117-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.v117-table {
  width: 100%;
  min-width: 1150px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  color: #10233d;
}

.v117-table thead th {
  padding: 12px 14px;
  background: #f5f8fc;
  color: #10233d;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
  border-right: 1px solid #d7e0eb;
  border-bottom: 1px solid #d7e0eb;
}

.v117-table thead th:last-child {
  border-right: 0;
}

.v117-table tbody td {
  padding: 12px 14px;
  background: #ffffff;
  color: #10233d;
  border-right: 1px solid #d7e0eb;
  border-bottom: 1px solid #d7e0eb;
  vertical-align: top;
  line-height: 1.45;
}

.v117-table tbody tr:last-child td {
  border-bottom: 0;
}

.v117-table tbody td:last-child {
  border-right: 0;
}

.v117-table tbody tr:hover td {
  background: #fbfdff;
}

.v117-link {
  color: #225dcb;
  text-decoration: none;
  word-break: break-all;
}

.v117-link:hover {
  text-decoration: underline;
}

.v117-facebook {
  max-width: 360px;
  word-break: break-all;
}

.v117-reason {
  min-width: 240px;
  max-width: 420px;
  white-space: normal;
}

.v117-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  background: #eef3f9;
  color: #173155;
}

.v117-badge-action {
  background: #eef3f9;
  color: #173155;
}

.v117-source-manual {
  background: #fff0e8;
  color: #d25117;
}

.v117-source-system {
  background: #eaf2ff;
  color: #275fce;
}

.v117-source-unknown {
  background: #f1f4f8;
  color: #64748b;
}

.v117-loading,
.v117-error {
  padding: 22px;
  border: 1px solid #d7e0eb;
  background: #ffffff;
  border-radius: 12px;
  color: #10233d;
}

.v117-error {
  display: grid;
  gap: 12px;
}

.v117-empty {
  padding: 30px 14px !important;
  text-align: center;
  color: #7f8ea3 !important;
}

@media (max-width: 900px) {
  #v117-operation-details-panel {
    left: 0 !important;
  }

  .v117-page {
    padding: 12px;
  }

  .v117-headline h1 {
    font-size: 18px;
  }

  .v117-tabs button {
    min-height: 40px;
    padding: 8px 12px;
  }
}