:root {
    --default-blue: rgb(0,49,82);
    --default-blue-hover: rgb(32,81,121);
}

body {
    background: #f1f1f1;
    font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.login {
    margin: 40px auto 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.13);
    width: 500px;
    max-width: calc(100% - 30px);
    padding-bottom: 15px;
}
.login h1 a {
    background: url('/wp-content/themes/d8-qld-treasury/images/header-logo-qgov-dt.svg') no-repeat left;
    background-size: contain;
    width: 170px;
    height: 56px;
    display: block;
    margin: 0 auto 20px;
    text-indent: -9999px;
}

.login p { 
	font-size: 14px;
    margin: 0;
	padding: 0 15px;
}

.login form {
    margin-top: 20px;
    margin-bottom: 0;
    padding: 0;
    background: none;
    box-shadow: none;
}
.login label {
    font-size: 14px;
    color: #3c434a;
    display: block;
    margin-bottom: 5px;
}
.login .input {
    /* width: 100%;
    padding: 5px 8px;
    font-size: 16px;
    line-height: 1.5;
    border: 1px solid #c3c4c7;
    border-radius: 0;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
    box-sizing: border-box; */
}
.login .submit {
    /* margin-top: 20px;
    text-align: right;
    position: relative; */
}
.login .spinner {
    float: right;
    margin: 8px 10px 0 0;
    width: 50px;
}

/*
.login #wp-submit,
.login .btn-register {
    background-color: var(--default-blue);
    border-color: var(--default-blue);
    color: #fff;
    border-radius: 0;
    padding: 0 12px;
    line-height: 2.57142857;
    font-size: 16px;
    height: auto;
    cursor: pointer;
}
.login #wp-submit:hover {
    background-color: var(--default-blue-hover);
    border-color: var(--default-blue-hover);
    text-decoration: underline;
}

*/
#login_error, .qtrc-register-form .error {
    border-left: 4px solid #d63638;
    padding: 12px;
    margin: 20px;
    background-color: #fff;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    color: #3c434a;
    font-size: 14px;
}
.message, .qtrc-register-form .message {
    border-left: 4px solid #00a0d2;
    padding: 12px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    color: #3c434a;
    font-size: 14px;
}
.login #nav {
    padding: 24px 0;
	margin-bottom: 0;
    font-size: 13px;
    color: #50575e;
    text-align: center;
}
.login #nav a,
.link-login {
    color: #2271b1;
    text-decoration: none;
}
.login #nav a:hover {
    color: #135e96;
}
.login .btn-register {
    /* background-color: var(--default-blue);
    border-color: var(--default-blue);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 0;
    padding: 5px 12px 7px !important;
    line-height: 2.57142857;
    font-size: 14px;
    height: auto;
    cursor: pointer; */
}
.login .btn-register:hover {
    /* background-color: var(--default-blue-hover);
    border-color: var(--default-blue-hover);
    text-decoration: underline; */
}
.qtrc-wp-admin-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}
.qtrc-wp-admin-table th,
.qtrc-wp-admin-table td {
    padding: 8px;
    border: 1px solid #ddd;
text-align:left;
}
.qtrc-wp-admin-table th {
    background-color: #f7f7f7;
    font-weight: bold;
}
.qtrc-wp-admin-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.qtrc-wp-admin-table .btn-group form {
    display: inline-block;
    margin-right: 5px;
}
.qtrc-wp-admin-table button {
    padding: 5px 10px;
    font-size: 12px;
}
.qtrc-tab-content { margin-top: 20px; }
.nav-tab-wrapper { margin-bottom: -1px; }
.nav-tab { cursor: pointer; }
.qtrc-wp-admin-table button {
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}



.qtrc-wp-admin-table .btn-danger {
  background: #b32d2e !important;
  border-color: #7a1b1c !important;
}
.qtrc-wp-admin-table .btn-danger:hover {
  background: #8a2425 !important;
  border-color: #6b1617 !important;
}

button.btn.btn-danger.btn-sm {
    background: #e12727;
}





/* QTRC traffic light actions + consistent sizing */
.qtrc-btn {
  border: 1px solid transparent;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  padding: 5px 10px;
  line-height: 1.2;
  width: 100%;
  /*min-width: 85px;*/
}

/* Green = Approve */
.qtrc-btn-approve {
  background: #2e7d32;
  border-color: #1b5e20;
}
.qtrc-btn-approve:hover {
  background: #256628;
}

/* Orange = Deny */
.qtrc-btn-deny {
  background: #ef6c00;
  border-color: #e65100;
}
.qtrc-btn-deny:hover {
  background: #d66000;
}

/* Grey = Secondary (Resend/Reset) */
.qtrc-btn-secondary {
  background: #50575e;
  border-color: #3c434a;
}
.qtrc-btn-secondary:hover {
  background: #3c434a;
}

/* Red = Delete */
.qtrc-btn-delete {
  background: #b32d2e;
  border-color: #7a1b1c;
}
.qtrc-btn-delete:hover {
  background: #8a2425;
}

/* Make forms in table cells not add weird spacing */
.qtrc-wp-admin-table td form {
  margin: 0;
}

/* Keep action columns tight */
.qtrc-wp-admin-table td {
  vertical-align: top;
}

/* Fixed table layout so colgroup widths are respected */
.qtrc-wp-admin-table.qtrc-fixed {
  table-layout: fixed;
  width: 100%;
}

/* Column width plan: adjust numbers if desired */
.qtrc-wp-admin-table col.col-email   { width: 26%; }
.qtrc-wp-admin-table col.col-domain  { width: 12%; }
.qtrc-wp-admin-table col.col-status  { width: 9%; }
.qtrc-wp-admin-table col.col-approved{ width: 7%; }
.qtrc-wp-admin-table col.col-verified{ width: 8%; }

/* 5 action columns share the remaining width evenly */
.qtrc-wp-admin-table col.col-action  { width: 7.6%; } /* 5 x 7.6 = 38% */

/* Prevent long email/domain from blowing up layout */
.qtrc-wp-admin-table th,
.qtrc-wp-admin-table td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Action cells: keep forms compact */
.qtrc-action-cell form { margin: 0; }

.qtrc-btn-disabled {
  background: #e5e5e5 !important;
  border-color: #c9c9c9 !important;
  color: #666 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}



/* Hide Reset column ONLY for Pending + Rejected tables, but keep column width reserved */
.qtrc-table-pending .qtrc-col-reset,
.qtrc-table-rejected .qtrc-col-reset {
  visibility: hidden;
}




.qtrc-preview-banner{
  background:#fff3cd; border:1px solid #ffecb5; color:#664d03;
  padding:10px 12px; border-radius:6px; margin:12px 0;
}

.qtrc-user-tabs{ display:flex; gap:8px; margin:12px 0; flex-wrap:wrap; }
.qtrc-tab{
  border:1px solid #c3c4c7; background:#f6f7f7; color:#1d2327;
  padding:8px 12px; border-radius:6px; cursor:pointer; font-weight:600;
}
.qtrc-tab.is-active{ background:#ef6c00; border-color:#ef6c00; color:#fff; }
.qtrc-tab--approved.is-active{ background:#2e7d32; border-color:#1b5e20; color:#fff; }
.qtrc-tab--rejected.is-active{ background:#b32d2e; border-color:#7a1b1c; color:#fff; }


/* Responsive: allow horizontal scroll instead of cutting columns */
.qtrc-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Make sure table doesn’t shrink unpredictably */
.qtrc-wp-admin-table {
  min-width: 900px; /* adjust if needed */
}

