/* Alerts
----------------------------------------------- */
.alert {
  border-radius: 4px;
  padding: 10px 10px 10px 50px;
  font-size: 0.875rem;
  border: 1px solid;
  margin-bottom: 20px;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
}
.alert-success {
  background: url(../img/Success-Icon.png) no-repeat #d0fabb 15px 50%;
  background-size: 25px 25px;
  color: #297f00;
  border-color: #c3dbb8;
}
.alert-info {
  background: url(../img/Notice-Icon.png) no-repeat #d2ebfc 15px 50%;
  background-size: 25px 25px;
  color: #3065d0;
  border-color: #a6cbff;
}
.alert-warning {
  background: url(../img/Warning-Icon.png) no-repeat #fffa6f 15px 50%;
  background-size: 25px 25px;
  color: #777444;
  border-color: #d2cc52;
}
.alert-danger {
  background: url(../img/Error-Icon.png) no-repeat #ffdcdc 15px 50%;
  background-size: 25px 25px;
  color: #e90000;
  border-color: #fac6c6;
}
.alert a {
  padding: 2px 5px;
  text-decoration: none;
  font-size: 0.875rem;
}
.alert-danger a {
  color: #ffffff;
  background: #e46356;
  padding: 2px 5px;
  text-decoration: none;
  font-size: 0.875rem;
}
.alert-warning a {
  color: #ffffff;
  background: #888222;
  padding: 2px 5px;
  text-decoration: none;
  font-size: 0.875rem;
}
.alertButton {
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 0.875rem;
  border: 1px solid;
  margin: 5px;
  display: inline-block;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
}
.alertButton-success {
  background-color: #81c868;
  border: 1px solid #81c868;
  color: #ffffff !important;
}
.alertButton-info {
  background-color: #5d9cec;
  border: 1px solid #5d9cec;
  color: #ffffff !important;
}
.alertButton-warning {
  background-color: #ffbd4a;
  border: 1px solid #ffbd4a;
  color: #ffffff !important;
}
.alertButton-danger {
  background-color: #f05050;
  border: 1px solid #f05050;
  color: #ffffff !important;
}

/* Administrator page specific styles */
{
  max-width: 100%;
  min-width: 0;
}

#showTableData {
  max-width: 100%;
  min-width: 0;
}

/* Shared button style overrides for the newer theme */
.simpleButton {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 1.75rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  color: var(--gcnp-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  vertical-align: middle;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    filter 180ms ease;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.simpleButton:hover {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.28);
  color: var(--gcnp-primary);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  filter: brightness(1.01);
}

.simpleButton:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.18),
    0 10px 22px rgba(15, 23, 42, 0.12);
}

.simpleButton-danger {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  border-color: #dc2626;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.18);
}

.simpleButton-danger:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
  border-color: #b91c1c;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.24);
}

.simpleButton-danger:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(220, 38, 38, 0.2),
    0 12px 24px rgba(220, 38, 38, 0.24);
}

/* TABLE */
#table {
  overflow-x: scroll;
  display: block;
}
.table {
  display: block;
  margin: 10px 0;
  border: 1px solid #d3d3d3;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 auto;
}
.table th {
  color: #424242;
  background: #f7fafc;
  border-bottom: 2px solid #eeeeee;
  border-right: 1px solid #eeeeee;
  font-size: 14px;
  font-weight: 600;
  padding: 15px;
  vertical-align: middle;
}
.table td {
  padding: 5px 10px;
  text-align: left;
  vertical-align: middle;
  font-weight: 100;
  font-size: 13px;
  border-right: 1px solid #eeeeee;
}
.table tr {
  white-space: nowrap;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  color: #666;
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
}
.table tr:hover td {
  background: #f5f8ff;
  color: #000000;
}
.table tr:hover td a {
  color: #000000;
}
.table tr:nth-child(odd) {
  background: #f9fafc;
}
.table tr:nth-child(odd):hover {
  background: #f5f8ff;
}
.table .link {
  color: #33aadd;
  font-weight: bold;
}
.table span.circle {
  margin: 0 auto;
  padding: 10px;
  width: 0px;
  height: 0px;
  display: block;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  -ms-border-radius: 100%;
  -o-border-radius: 100%;
  border-radius: 100%;
}
.table a span.fa {
  text-decoration: none;
  color: #0066ff;
  font-size: 15px;
  margin-left: 10px;
}
.table a.button {
  padding: 0px 10px !important;
  margin: 0 !important;
  font-size: 12px !important;
  text-decoration: none;
  line-height: 26px;
}
.table a.button:hover,
.table tr:hover td a.button {
  color: #fff;
}
.table tr:nth-child(2) th {
  padding: 5px;
  color: #989898;
  font-size: 12px;
  font-weight: 400;
}
.table tr input[type="date"],
.table tr input[type="number"],
.table tr input[type="time"],
.table tr input[type="text"],
.table tr input[type="password"],
.table tr input[type="email"],
.table tr textarea,
.table tr select {
  border: 1px solid #ced4da;
  background: #ffffff;
  width: calc(100% - 20px);
  padding: 5px 10px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
  display: block;
}
.linkButton {
  text-decoration: underline;
  cursor: pointer;
  color: blue;
}

/* DIV TABLE */
#showTableData {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

#table,
#tableScrollbar {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 0px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

#table.divTable,
#tableScrollbar.divTable {
  width: max-content;
  min-width: 100%;
  margin: 0 !important;
}

#table,
#tableScrollbar {
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #e2e8f0;
}

#table::-webkit-scrollbar,
#tableScrollbar::-webkit-scrollbar {
  height: 7px;
}

#table::-webkit-scrollbar-track,
#tableScrollbar::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 999px;
}

#table::-webkit-scrollbar-thumb,
#tableScrollbar::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 999px;
}

#table::-webkit-scrollbar-thumb:hover,
#tableScrollbar::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

.divTableHead {
  display: table-header-group;
}

.divTableBody {
  display: table-row-group;
}

[id$="_showTableDataBody"].is-loading {
  display: block;
  position: relative;
  min-height: 120px;
}

[id$="_showTableDataBody"].is-loading .tableBodyLoading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.82) 0%, rgba(255, 255, 255, 0.92) 100%);
}

[id$="_showTableDataBody"].is-loading .tableBodyLoading .loaderChip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

[id$="_showTableDataBody"].is-loading .tableBodyLoading i {
  color: var(--gcnp-primary);
  font-size: 16px;
}

.divTable .tableRow,
.divTable .tableRowHead {
  display: table-row;
  white-space: nowrap;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  color: #475569;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.divTable .tableRow .tableCell,
.divTable .tableRowHead .tableCell {
  display: table-cell;
  white-space: nowrap;
  padding: 8px 10px;
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
  font-size: 12px;
  border-right: 1px solid #e5e7eb;
}

.divTable .tableRowHead .tableCell {
  color: #0f172a;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
  border-bottom: 1px solid #dbe4ee;
  border-right: 1px solid #e5e7eb;
  font-size: 11px;
  font-weight: 700;
  padding: 9px 10px;
  vertical-align: middle;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.divTable a:hover {
  text-decoration: none;
  border-bottom: 0;
}

.divTable .tableRow:hover .tableCell {
  background: #f8fbff;
  color: #0f172a;
}

.divTable .tableRow:hover .tableCell a {
  color: #0f172a;
}

.divTable .tableRow:hover .tableCell a.button {
  color: #ffffff;
}

.divTable .tableRow:nth-child(odd) {
  background: #f8fafc;
}

.divTable .tableRow:nth-child(odd):hover {
  background: #f8fbff;
}

.divTable .link {
  color: var(--gcnp-primary);
  font-weight: 700 !important;
}

.divTable span.circle {
  margin: 0 auto;
  padding: 10px;
  width: 0px;
  height: 0px;
  display: block;
  border-radius: 100%;
}

.divTable a span.fa-solid {
  text-decoration: none;
  color: var(--gcnp-primary);
  font-size: 14px;
}

.divTable a.simpleButton {
  padding: 0 5px !important;
  width: calc(100% - 20px) !important;
  margin: 0 !important;
  min-height: 1.5rem;
  font-size: 9px !important;
  text-decoration: none;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gcnp-primary), var(--gcnp-primary-light));
  color: #fff;
}

.divTable a.simpleButton.simpleButton-danger {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
  border: 1px solid #dc2626 !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.18);
}

.divTable a.simpleButton:hover,
.divTable .tableRow:hover .tableRow a.simpleButton {
  color: #fff;
}

.divTable a.simpleButton.simpleButton-danger:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%) !important;
  border-color: #b91c1c !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.24);
}

.divTable .tableRow .tableCell img {
  width: 70px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
}

.divTable .tableRowHead:nth-child(2) .tableCell {
  padding: 5px 8px;
  color: #64748b;
  background: #f3f4f6;
  font-size: 11px;
  font-weight: 500;
}

.divTable .tableRowHead select,
.divTable .tableRowHead input[type="date"],
.divTable .tableRowHead input[type="number"],
.divTable .tableRowHead input[type="time"],
.divTable .tableRowHead input[type="text"],
.divTable .tableRowHead input[type="password"],
.divTable .tableRowHead input[type="email"],
.divTable .tableRowHead textarea,
.divTable .tableRowHead select {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  width: calc(100% - 0px);
  padding: 4px 7px;
  border-radius: 8px;
  display: block;
  font-size: 11px;
  color: #475569;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.divTable .tableRowHead select {
  width: 100% !important;
  text-align: center;
  text-align-last: center;
}

.divTable .tableRowHead option {
  text-align: center;
  text-align-last: center;
}

.divTable .tableRowHead input[type="button"] {
  padding: 4px 9px;
  font-size: 11px;
  margin: 0;
  border: 0;
  outline: 0;
  border-radius: 8px;
}

.divTable .tableRowHead .tableCell label {
  width: auto;
}

.divTable .tableRowHead .tableCell input[type="checkbox"] {
  display: none;
}

.divTable .tableRowHead .tableCell .fa,
.divTable .tableRowHead .tableCell .fa-solid {
  margin-left: 8px;
  cursor: pointer;
}

.divTable form {
  display: contents;
}

#showTableFooter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  margin-top: 0.75rem;
  padding: 0.8rem 0.9rem;
  line-height: 1.2;
  color: #475569;
  gap: 0.65rem;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

#showTableFooter > .left,
#showTableFooter > .right {
  float: none !important;
  min-width: 0;
}

#showTableFooter > .left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex: 1 1 auto;
  gap: 0.45rem;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

#showTableFooter > .right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  flex: 0 0 auto;
  margin-left: auto;
  gap: 0.45rem;
  text-align: right;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

#showTableFooter form {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0;
}

#showTableFooter select {
  min-width: 190px;
  height: 32px;
  padding: 0.25rem 0.55rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  line-height: 1;
}

#showTableFooter input[type="submit"].simpleButton {
  min-height: 1.5rem;
  padding: 0.25rem 0.65rem;
  font-size: 9px !important;
  line-height: 1;
}

#showTableFooter .right a.simpleButton {
  min-height: 1.5rem;
  padding: 0.25rem 0.65rem;
  font-size: 9px !important;
  line-height: 1;
}

#showTableFooter .right {
  white-space: nowrap;
}

#showTableFooter .right,
#showTableFooter .left {
  white-space: normal;
}

/* Email Setting AJAX table */
#emailsettingShell #showTableDataAjaxMsg {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

#emailsettingShell #showTableDataAjaxMsg #tableScrollbar {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

#emailsettingShell #showTableDataAjaxMsg #table {
  display: block;
  width: max-content;
  min-width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

#emailsettingShell #showTableDataAjaxMsg #table tbody {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

#emailsettingShell #showTableDataAjaxMsg #table tr {
  white-space: nowrap;
  color: #475569;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

#emailsettingShell #showTableDataAjaxMsg #table tr th,
#emailsettingShell #showTableDataAjaxMsg #table tr td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

#emailsettingShell #showTableDataAjaxMsg #table tr th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #0f172a;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#emailsettingShell #showTableDataAjaxMsg #table tr td {
  background: #fff;
  font-size: 12px;
  color: #475569;
}

#emailsettingShell #showTableDataAjaxMsg #table tr:nth-child(even) td {
  background: #f8fafc;
}

#emailsettingShell #showTableDataAjaxMsg #table tr:hover td {
  background: #f8fbff;
  color: #0f172a;
}

#emailsettingShell #showTableDataAjaxMsg #table td[contenteditable="true"],
#emailsettingShell #showTableDataAjaxMsg #table td[contenteditable=""] {
  background: #fff7ed;
  outline: none;
}

#emailsettingShell #showTableDataAjaxMsg #table td[contenteditable="true"]:focus,
#emailsettingShell #showTableDataAjaxMsg #table td[contenteditable=""]:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(249, 115, 22, 0.22);
}

#emailsettingShell #showTableDataAjaxMsg #tableScrollbar::-webkit-scrollbar {
  height: 8px;
}

#emailsettingShell #showTableDataAjaxMsg #tableScrollbar::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 999px;
}

#emailsettingShell #showTableDataAjaxMsg #tableScrollbar::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 999px;
}

#emailsettingShell #showTableDataAjaxMsg #tableScrollbar::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

#emailsettingShell #showTableDataAjaxMsg #table tr td:first-child,
#emailsettingShell #showTableDataAjaxMsg #table tr th:first-child {
  padding-left: 14px;
}

#emailsettingShell #showTableDataAjaxMsg #table tr td:last-child,
#emailsettingShell #showTableDataAjaxMsg #table tr th:last-child {
  padding-right: 14px;
}
/* Pagination */
#ViewTable_showPaginationData,
#ViewTable_showTableDataFooter {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

#showTableData .divTable {
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#showTableData #reloadingTableData {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(2px);
  border-radius: 20px;
}

#showTableData #reloadingTableData .reloading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

#showTableData #reloadingTableData .reloading i {
  color: var(--gcnp-primary);
  font-size: 16px;
}

#reloadingTableData {
  display: none !important;
}

.showPaginationData,
[id$="_showPaginationData"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.showPaginationData .left,
[id$="_showPaginationData"] .left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  float: none;
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
}

.showPaginationData .right,
[id$="_showPaginationData"] .right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  float: none;
  width: auto;
  margin-left: auto;
  min-width: 0;
}

.showPaginationData p,
[id$="_showPaginationData"] p {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  border: 0;
  white-space: nowrap;
}

.showPaginationData p label,
[id$="_showPaginationData"] p label {
  display: inline-block;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

.showPaginationData p input[type="text"],
[id$="_showPaginationData"] p input[type="text"] {
  display: inline-block;
  width: 42px;
  padding: 0.35rem 0.45rem;
  text-align: center;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
}

.showPaginationData p select,
[id$="_showPaginationData"] p select {
  display: inline-block;
  height: 32px;
  padding: 0.25rem 0.5rem;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
}

.showPaginationData .paginationPages,
[id$="_showPaginationData"] .paginationPages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  width: auto;
  margin-left: auto !important;
  margin-right: 0;
  flex: 0 0 auto;
  width: auto;
  align-self: center;
  text-align: right;
}

.showPaginationData .paginationPages a,
[id$="_showPaginationData"] .paginationPages a {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 32px;
  padding: 0 0.7rem;
  text-decoration: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.showPaginationData .paginationPages a:hover,
[id$="_showPaginationData"] .paginationPages a:hover {
  background: #f8fbff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.showPaginationData .paginationPages a.firstPage,
.showPaginationData .paginationPages a.lastPage,
[id$="_showPaginationData"] .paginationPages a.firstPage,
[id$="_showPaginationData"] .paginationPages a.lastPage {
  min-width: 76px;
}

.showPaginationData .paginationPages a.previousPage,
.showPaginationData .paginationPages a.nextPage,
[id$="_showPaginationData"] .paginationPages a.previousPage,
[id$="_showPaginationData"] .paginationPages a.nextPage {
  min-width: 34px;
}

.showPaginationData .paginationPages a.currentPage,
[id$="_showPaginationData"] .paginationPages a.currentPage {
  border-color: var(--gcnp-primary);
  background: linear-gradient(135deg, var(--gcnp-primary), var(--gcnp-primary-light));
  color: #fff;
  box-shadow: 0 10px 18px rgba(16, 58, 115, 0.18);
}

.showPaginationData .paginationPages a.currentPage:hover,
[id$="_showPaginationData"] .paginationPages a.currentPage:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--gcnp-primary), var(--gcnp-primary-light));
}

@media (max-width: 768px) {
  .showPaginationData,
  [id$="_showPaginationData"] {
    align-items: flex-start;
  }

  .showPaginationData .left,
  [id$="_showPaginationData"] .left {
    gap: 0.65rem;
  }

  .showPaginationData .right,
  [id$="_showPaginationData"] .right {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .showPaginationData p,
  [id$="_showPaginationData"] p {
    white-space: normal;
    flex-wrap: wrap;
  }
}

/* POP-UP Box */
#popupDIV {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

#popupDIV.hidden {
  display: none;
}

#popupDIV #popupDIVcontent {
  position: relative;
  inset: auto;
  z-index: auto;
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#popupDIV #popupDIVcontentInner {
  position: relative;
  width: 100%;
  max-width: 44rem;
  max-height: calc(100vh - 6rem);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.18);
}

#popupDIV #popupDIVcontentInner button[onclick="closePOPUP()"] {
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 0, 0, 0.96);
  color: #FFF;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

#popupDIV #popupDIVcontentInner button[onclick="closePOPUP()"]:hover {
  background: #e2e8f0;
  color: #0f172a;
}

#popupDIV #popupContent {
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1rem 1.1rem;
}

#popupDIV .popupData {
  padding-right: 0.1rem;
}

#popupDIV .popupData .popupDataHeading {
  margin: 0 0 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  color: #0f172a;
}

#popupDIV .popupData .popupDataRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.55rem;
  padding: 0.1rem 0;
  border-bottom: 1px dashed #e2e8f0;
  word-break: break-word;
}

#popupDIV .popupData .popupDataLabel {
  flex: 0 0 11rem;
  min-width: 8rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  color: #334155;
}

#popupDIV .popupData .popupDataValue {
  flex: 1 1 14rem;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #0f172a;
}

#popupDIV .popupData .emailpreview ul,
#popupDIV .popupData .emailpreview ol {
  margin-left: 1.25rem;
}

#popupDIV .popupData .emailpreview h2,
#popupDIV .popupData .emailpreview h3 {
  margin-top: 0.4rem;
}

@media (max-width: 640px) {
  #popupDIV {
    padding: 0.5rem;
  }

  #popupDIV #popupDIVcontentInner {
    max-height: calc(100vh - 1rem);
    border-radius: 1.125rem;
  }

  #popupDIV #popupContent {
    padding: 0.85rem 0.9rem;
  }

  #popupDIV .popupData .popupDataRow {
    gap: 0.12rem 0.45rem;
  }

  #popupDIV .popupData .popupDataLabel,
  #popupDIV .popupData .popupDataValue {
    flex-basis: 100%;
  }
}

/* Table inside Tab Widgets */
table.widgetTable {width:100%;border-collapse:collapse;}
table.widgetTable span.circle {margin:0 auto;padding:10px;width:5px;height:5px;display:block;-moz-border-radius:100%;-webkit-border-radius:100%;-ms-border-radius:100%;-o-border-radius:100%;border-radius:100%;}
table.widgetTable th {text-align:center;color:#333;padding:10px;}
table.widgetTable td {text-align:center;color:#333;padding:10px;}
table.widgetTable td a {text-decoration:none;color:#0066ff;font-size:15px;margin-left:10px;}
table.widgetTable tr:nth-child(odd) {background:#F9F9F9;}
table.widgetTable tr th:nth-child(1) {text-align:left;}
table.widgetTable tr td:nth-child(1) {text-align:left;}
table.widgetTable a {cursor:pointer;}
table.widgetTable .simpleButton {padding:0px 10px!important;margin:0!important;font-size:12px!important;text-decoration:none;line-height:26px;}

/* Inline form validation errors */
form .form_field_error {
  display: block;
  margin-top: 6px;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
