/* TRO案件查询页面样式 - 深色清新风格 */
.particle-page { 
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden; 
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  z-index: 0;
}
.particle-container-tro { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; padding: 0; margin: 0; border: none; opacity: 1; }
.particle-container-tro canvas { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.processing-container { position: relative; min-height: 100vh; }
.processing-inner {
  position: relative; 
  z-index: 1;
  padding: 100px 2% 12px; /* 调整左右内边距为2% */
  display: flex; 
  flex-direction: column;
  align-items: center; 
  width: 100%; 
  max-width: 100%;
  margin: 0;
  height: auto;
}
.processing { 
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; 
  max-width: 1200px;
  color: #fff !important; 
  padding: 0; 
  margin: 0 auto;
}
.processing .title-group .title2 { color: #fff !important; }
.processing .logo-top {
  display: flex; 
  gap: 15px; 
  font-size: 26px;
  font-weight: 600;
  margin: 4px 0 8px;
  color: #fff;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}
.processing .logo-top img { width: 120px; cursor: pointer; }
.processing .search-box { 
  margin-bottom: 6px !important;
  width: 100%;
  max-width: 700px;
  display: flex;
  gap: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  border-radius: 30px;
  background: rgba(255,255,255,0.1);
}
.processing .table-wrapper { 
  padding: 0; 
  width: 100vw;
  max-width: 1200px !important;
  overflow-x: auto;
  overflow-y: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  border: none;
}
.processing .font-bot { 
  color: #888;
  font-size: 14px;
  text-align: center;
}
.processing .table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100vw;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1px;
}
.processing .table-box {
  width: 100%;
  min-width: 860px;
  margin: 0 auto;
  background: transparent;
  border-collapse: collapse;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.processing .table-box,
.processing .table-box tbody,
.processing .table-box tr,
.processing .table-box .td {
  overflow: visible;
}
.processing .title-group {
  width: 100%;
  max-width: 1200px;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  font-size: 13px;
  color: #aaa;
  margin: 0 !important;
  padding: 0 !important;
  background-color: transparent !important;
}

.processing .title-group .separator {
  color: #666;
}
.processing .table-box tbody tr:nth-child(even) { 
  background-color: rgba(255,255,255,0.08) !important;
}
.processing .table-box tbody tr.row-options-open {
  z-index: 120;
}
.processing .table-box tbody tr:hover { 
  background-color: rgba(255,255,255,0.12) !important;
}
.processing .table-box td {
  padding: 10px 12px;
  font-size: 12px;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.08);
  line-height: 1.4;
  text-align: center;
  position: relative;
  min-width: 85px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.processing .table-box td.law-firm-cell {
  text-align: left;
}

.processing .table-box td.law-firm-cell .ellipsis-text {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: help;
}

.processing .table-box td p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.processing .table-box td.td-join.option-open {
  z-index: 130;
}
.processing .table-box td.td-join {
  cursor: pointer;
  transition: all 0.2s;
}
.processing .table-box td.td-complaint {
  cursor: pointer;
  transition: all 0.2s;
}
.processing .table-box td:nth-child(4),
.processing .table-box td:nth-child(5) {
  text-align: left;
}
.processing .table-box td:nth-child(2),
.processing .table-box td:nth-child(3),
.processing .table-box td:nth-child(6),
.processing .table-box td:nth-child(7),
.processing .table-box td:nth-child(8) {
  text-align: center;
}
.processing .table-box td.lianjie { 
  color: #fe9906 !important;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.processing .table-box td .lianjie { 
  color: var(--primary-color);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
  text-decoration: none;
  display: inline;
}
.processing .table-box td.lianjie:hover { 
  color: #fff !important;
  background-color: #fe9906;
}
.processing .table-box td.td-join:hover,
.processing .table-box td.td-complaint:hover {
  background-color: #fe9906;
}
.processing .table-box td .lianjie:hover { 
  color: inherit !important;
}
.processing .table-box td .lianjie.active { 
  color: #fff !important;
}
.processing .table-box td.td-join:hover .lianjie,
.processing .table-box td.td-join.option-open .lianjie,
.processing .table-box td.td-complaint:hover .lianjie {
  color: #fff !important;
}
.processing .table-box th { 
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
}
.processing .table-box .table-head th {
  background: #f59a00 !important;
  color: #fff !important;
  padding: 12px 5px;
  text-align: center;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
  min-width: 105px !important;
}
.processing .table-box .table-head th:nth-child(4),
.processing .table-box .table-head th:nth-child(5) {
  text-align: center;
}
.processing .search-box input {
  height: 56px;
  border-radius: 28px 0 0 28px;
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  padding: 0 30px;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  color: #fff;
  flex: 1;
}
.processing .search-box input::placeholder {
  color: rgba(255,255,255,0.5);
}
.processing .search-box input:focus {
  border-color: #fe9906;
  background: rgba(0,0,0,0.2);
  outline: none;
}
.processing .search-box button {
  height: 56px;
  padding: 0 40px;
  border-radius: 0 28px 28px 0;
  background: #fe9906;
  border: 1px solid #fe9906;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.processing .search-box button:hover {
  background: #ffab2e;
  border-color: #ffab2e;
}
.processing .table-box td.td-join .options-box {
  position: absolute;
  z-index: 150;
  min-width: 120px;
  margin-top: 5px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(107,105,105,0.5);
  overflow: hidden;
}
.processing .table-box td.td-join .option-item {
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s;
  color: #000;
}
.processing .table-box td.td-join .option-item:hover {
  background-color: #f3f4f6;
}
.processing .table-box td.td-join .option-item:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}
/* 确保底部不被固定背景遮挡，并强制样式 */
#app-footer {
  position: relative;
  z-index: 100;
  width: 100%;
  background-color: #000;
}
.bottomnn {
  background-color: #000 !important;
  color: #fff !important;
}
.bottomnn .viewNav li dt,
.bottomnn .viewNav li dd,
.bottomnn .viewNav-tow .span-t,
.bottomnn .viewNav-tow .bot-tt span, 
.bottomnn .viewNav-tow .bot-t span,
.bottomnn .bottom-tow p,
.bottomnn .bottom-tow span {
  color: #fff !important;
}
.processing .paging { 
  display: flex !important; 
  margin: 4px 0 0 !important; 
  flex-direction: column !important;
  align-items: center;
}
.processing .paging .pagination-controls button {
  padding: 8px 16px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin: 0 4px;
  transition: all 0.2s;
}
.processing .paging .pagination-controls button:hover:not([disabled]) {
  border-color: #fe9906;
  background: rgba(254,153,6,0.2);
  color: #fff;
}
.processing .paging .pagination-controls button.active {
  background: #fe9906;
  border-color: #fe9906;
  color: #fff;
}
.shensu-box { width: 100vw; height: 100vh; background-color: rgba(0,0,0,0.4); position: fixed; top: 30px; left: 0; z-index: 999; display: none; }
.shensu-box.active { display: block; }
@media (max-width: 768px) {
  .processing .logo-top { 
    flex-direction: column; 
    align-items: center;
    font-size: 24px;
  }
  .processing .table-box td {
    padding: 16px 12px;
    font-size: 14px;
  }
  .processing .table-box .table-head th {
    padding: 16px 12px;
    font-size: 14px;
  }
  .processing-inner {
    padding: 100px 10px 12px;
  }
}

/* Query controls are scoped to this page to avoid shared table style collisions. */
#troQueryPage .search-box {
  box-sizing: border-box;
  padding: 5px;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: border-color .2s, box-shadow .2s;
}
#troQueryPage .search-box:focus-within {
  border-color: #fe9906;
  box-shadow: 0 0 0 3px rgba(254,153,6,.14);
}
#troQueryPage .search-box input {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}
#troQueryPage .search-box .search-btn {
  position: static;
  flex: 0 0 100px;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffb329, #f59a00);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(245,154,0,.22);
}
#troQueryPage .search-box .search-btn:hover { background: #ffae20; }
#troQueryPage .search-box .search-btn:active { transform: translateY(1px); }
#troQueryPage .search-box .search-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#troQueryPage .title-group {
  flex-wrap: nowrap;
  gap: 12px !important;
  padding: 7px 0 10px !important;
  color: #bac0cd;
  font-variant-numeric: tabular-nums;
}
#troQueryPage .query-meta-item { white-space: nowrap; }
#troQueryPage .query-meta-item b { color: #e5e7ed; font-weight: 600; }
#troQueryPage .query-meta-divider { opacity: .3; }
#troQueryPage .query-meta-short, #troQueryPage .query-scroll-hint { display: none; }
@media (max-width: 768px) {
  #troQueryPage .processing-inner { box-sizing: border-box; padding-left: 10px; padding-right: 10px; }
  #troQueryPage .search-box { width: 100%; margin-bottom: 0 !important; }
  #troQueryPage .search-box input { height: 44px; padding: 0 12px; font-size: 16px; }
  #troQueryPage .search-box .search-btn { flex-basis: 84px; height: 44px; padding: 0 16px; font-size: 15px; }
  #troQueryPage .title-group { gap: 6px !important; font-size: clamp(9px, 2.75vw, 12px); padding: 5px 0 !important; line-height: 20px; }
  #troQueryPage .query-meta-long { display: none; }
  #troQueryPage .query-meta-short { display: inline; }
  #troQueryPage .query-scroll-hint { display: block; align-self: center; width: 100%; text-align: center; color: #ffb329; font-size: 12px; font-weight: 600; line-height: 18px; }
  #troQueryPage .table-wrapper { width: 100%; max-width: 100%; scrollbar-width: thin; scrollbar-color: #a8772c rgba(255,255,255,.08); }
  #troQueryPage .table-box { table-layout: fixed; width: 750px; min-width: 750px; }
  #troQueryPage .table-box .table-head th,
  #troQueryPage .table-box td { box-sizing: border-box; min-width: 0 !important; padding: 12px 6px; font-size: 12px; line-height: 1.5; }
  #troQueryPage .table-box tbody td { padding: 8px 6px; line-height: 1.4; }
  #troQueryPage .table-box th:nth-child(1) { width: 44px; }
  #troQueryPage .table-box th:nth-child(2) { width: 92px; }
  #troQueryPage .table-box th:nth-child(3) { width: 86px; }
  #troQueryPage .table-box th:nth-child(4) { width: 136px; }
  #troQueryPage .table-box th:nth-child(5) { width: 170px; }
  #troQueryPage .table-box th:nth-child(6) { width: 76px; }
  #troQueryPage .table-box th:nth-child(7) { width: 52px; }
  #troQueryPage .table-box th:nth-child(8) { width: 94px; }
  #troQueryPage .table-box td:nth-child(4) p,
  #troQueryPage .table-box td.law-firm-cell .ellipsis-text {
    display: block; white-space: normal; overflow: visible; overflow-wrap: anywhere;
    -webkit-line-clamp: unset; line-clamp: unset;
  }
}
