/* Scoped styles for SecondRing customer and administrator order tables. */
.srnp { min-width: 0; width: 100%; max-width: 100%; }
.srnp-table-scroll { display: block; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; margin: 0 0 24px; -webkit-overflow-scrolling: touch; }
.srnp-table-scroll:focus-visible { outline: 2px solid #2766a3; outline-offset: 2px; }
.srnp-table-scroll .srnp-table { display: table; width: 100%; table-layout: auto; border-collapse: collapse; margin: 0; }
.srnp-table-scroll .srnp-plans-table { min-width: 650px; }
.srnp-table-scroll .srnp-orders-table { min-width: 800px; }
.srnp-table-scroll .srnp-table th,
.srnp-table-scroll .srnp-table td { padding: 12px 14px; vertical-align: top; text-align: left; white-space: normal; overflow-wrap: anywhere; word-break: normal; line-height: 1.5; border-bottom: 1px solid #e2e6ea; }
.srnp-table-scroll .srnp-table th { font-weight: 600; background: #f5f7f9; }
.srnp-plans-table th:nth-child(2), .srnp-plans-table td:nth-child(2),
.srnp-orders-table th:nth-child(3), .srnp-orders-table td:nth-child(3) { min-width: 210px; }
.srnp-table-scroll .srnp-table td:last-child { min-width: 140px; }
.srnp-table-scroll .srnp-table form { display: block; margin: 0 0 8px; }
.srnp-table-scroll .srnp-table button { box-sizing: border-box; max-width: 100%; height: auto; white-space: normal; line-height: 1.4; padding: 8px 12px; }
.srnp-table-scroll .srnp-table select { box-sizing: border-box; max-width: 220px; width: 100%; margin-bottom: 8px; }

/* Portal themes may force table widths and nowrap; contain these tables. */
.srnp { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
.srnp-table-scroll { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; overflow-x: auto !important; }
.srnp-table-scroll .srnp-table { box-sizing: border-box !important; display: table !important; table-layout: fixed !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
.srnp-table-scroll .srnp-table th, .srnp-table-scroll .srnp-table td { box-sizing: border-box !important; min-width: 0 !important; white-space: normal !important; overflow-wrap: anywhere !important; word-break: normal !important; padding: 10px !important; }
.srnp-table-scroll .srnp-plans-table th:nth-child(1) { width: 13%; }
.srnp-table-scroll .srnp-plans-table th:nth-child(2) { width: 39%; }
.srnp-table-scroll .srnp-plans-table th:nth-child(3) { width: 15%; }
.srnp-table-scroll .srnp-plans-table th:nth-child(4) { width: 11%; }
.srnp-table-scroll .srnp-plans-table th:nth-child(5) { width: 22%; }
.srnp-table-scroll .srnp-table form, .srnp-table-scroll .srnp-table button, .srnp-table-scroll .srnp-table select { box-sizing: border-box !important; min-width: 0 !important; max-width: 100% !important; white-space: normal !important; overflow-wrap: anywhere !important; }
.srnp-table-scroll .srnp-table button { padding: 8px 10px !important; height: auto !important; }
@media (max-width: 640px) {
  .srnp-table-scroll .srnp-plans-table { min-width: 560px !important; }
  .srnp-table-scroll .srnp-orders-table { min-width: 680px !important; }
}
