﻿/* BACKGROUND STABILITY 01
   Reserve root scrollbar space to prevent horizontal shifts.
   No changes to office images, rotation or background scaling.
*/
html {
    scrollbar-gutter: stable;
}
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #F5F5F5;
}

.split-container {
    flex: 1;
    display: flex;
    min-height: calc(100vh - 60px);
}

.left-split {
    width: clamp(260px, calc(233px + 2rem), 40%);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
}

.left-header {
    padding: 1rem;
    background: #263238;
}

.left-graphic {
    background: url('/graphics/GMBA100.png') no-repeat center/cover;
    flex: 1;
}

.left-logo {
    width: 233px;
    height: 83px;
}

.right-content {
    margin-left: clamp(260px, calc(233px + 2rem), 40%);
    width: calc(100% - clamp(260px, calc(233px + 2rem), 40%));
    padding: 2rem;
    background: #EEFFEE url('/graphics/BGXT.png') no-repeat center top;
    background-size: auto;
    color: #1A2528;
    min-height: calc(100vh - 60px);
    overflow-y: auto;
}

.right-nav {
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-button {
    display: inline-block;
    background: #4CAF50;
    color: #fff;
    padding: 0.48rem 1.5rem;
    text-shadow: 0 3px 4px rgba(0, 0, 0, 0.15); /* Subtle text shadow for depth */
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
}

.nav-button:hover {
    color: #FFD800;
}

#login-link.nav-button {
    background: #1976D2;
}

#legal-link.nav-button {
    background: #FF6666;
}

#legal-link.nav-button:hover {
    color: #333333;
}

.cta-button {
    display: inline-block;
    background: #263238;
    color: #fff;
    padding: 0.54rem 1.08rem;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), /* Subtle outer shadow for 3D effect */
    inset 0 20px 30px rgba(255, 255, 255, 0.15); /* Inner highlight for shine */
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.15); /* Subtle text shadow for depth */
    border-radius: 4px;
    font-size: 14px;
}

.cta-button:hover {
    color: #FFD800;
}

#move-in {
    margin-top: 0.4rem;
}

.cta-button2 {
    display: inline-block;
    background: #263238;
    color: #fff;
    padding: 0.58rem 1.5rem;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), /* Subtle outer shadow for 3D effect */
    inset 0 20px 30px rgba(255, 255, 255, 0.15); /* Inner highlight for shine */
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.15); /* Subtle text shadow for depth */
    border-radius: 4px;
    font-size: 14px;
}

body button.cta-button2[type="submit"]:hover {
    color: #00FF00;
}

.text-link {
    font-family: Arial, sans-serif;
    font-size: 1.0rem;
    font-weight: bold;
    color: #5555AA;
    text-decoration: none;
    text-transform: none;
}
.text-link:hover {
    color: #FFD800;
}

.content h2 {
    background: linear-gradient(145deg, #006400, #004d00); /* Deep green gradient for subtle shine */
    color: white; /* White text */
    padding: 9px 14px; /* Comfortable padding for headline */
    border-radius: 7px 7px 0 0; /* Rounded top corners only */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2), /* Subtle outer shadow for 3D effect */
    inset 0 20px 30px rgba(255, 255, 255, 0.15); /* Inner highlight for shine */
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.15); /* Subtle text shadow for depth */
    text-align: center;
    font-size: 1.5rem; /* Standard h2 size, adjustable */
    font-weight: 550; /* Slightly bold for headline prominence */
    max-width: 835px;
    line-height: 1.2; /* Better readability */
    transition: box-shadow 0.2s ease; /* Smooth shadow transition */
    /* text-transform: uppercase; */
}

.content h3 {
    font-size: 1.2rem;
    font-weight: 850;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); /* Subtle text shadow for depth */
    margin: 1rem 0 0.5rem;
    color: #1A2528;
    text-transform: uppercase;
}

.content h5 {
    color: #1A2528;
    text-align: right;
}

.content p {
    margin-top: 0.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #1A2528;
    /* text-align: justify; */
}

.registration-form {
    max-width: 835px;
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row td {
    flex: 1;
    padding: 0.5rem 0;
    text-align: left;
}

.form-row input {
    width: 100%;
    padding: 0.35rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.5;
    min-height: 13.5px; /* ~25.7px total height */
}

.registration-form textarea {
    width: 100%;
    padding: 0.35rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.5;
    height: 37px;
    resize: vertical;
}

.registration-form input[type="text"],
.registration-form input[type="email"] {
    width: 100%;
    padding: 0.35rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.5;
    min-height: 13.5px;
}

.registration-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 13.6px; /* Reduced from 15.6px by 2px */
    color: #1A2528;
    font-weight: normal !important;
    text-align: left;
}

.registration-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    vertical-align: middle;
    display: inline-block; /* Allows checkboxes on same line */
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-left: 0.5rem;
    font-size: 13px; /* Matches form-note */
    color: #0066cc; /* Matches text-link */
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 0.5rem;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px; /* Slightly smaller for tooltip */
    line-height: 1.4;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.form-divider {
    border: 0;
    border-top: 2px solid #5CBF61;
    opacity: 0.3;
    margin: 16px 0px 2px 0px;
    width: 100%;
}

.form-submit {
    margin-top: 1rem;
    text-align: left;
}

.form-submit .cta-button {
    display: inline-block;
    margin-right: 0.2rem;
    margin-bottom: 0.5rem;
}

.form-submit p#form-result {
    font-size: 13px;
    line-height: 1.5;
    color: #1A2528;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    .form-row td {
        width: 100%;
        padding: 0.5rem 9px;
    }
    .registration-form textarea {
        height: 30px;
    }
}

.dashboard-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* Reduced from 1rem to 0.5rem for tighter spacing */
    align-items: center;
}

.dashboard-button-group .cta-button {
    margin: 0.3rem 0.3rem 0.3rem 0.3rem;
}

.dashboard-button-group .tooltip {
    margin-right: 0.5rem; /* Reduced from 1rem to 0.5rem for tighter spacing */
}

.portfolio-form {
    max-width: 835px;
    margin-bottom: 1.5rem;
}

.portfolio-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #EEFFEE;
}

.portfolio-table td.text-column {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #1A2528;
    font-weight: 600;
    padding: 0.75rem 0.9rem;
}

.portfolio-table td.registrant,
.portfolio-table td.status {
    font-weight: 650;
}

.portfolio-table td.domain a.domain-link {
    color: #5555AA;
    font-weight: 600;
    text-decoration: underline;     /* always underlined */
}

.portfolio-table td.domain a.domain-link:hover,
.portfolio-table td.domain a.domain-link:focus {
    color: #FFD800;
}

.portfolio-table td.domain {
    cursor: pointer;
}

.portfolio-table th {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #006400;
    background-color: #C8FFC8;
    padding: 0.5rem 0.75rem;          /* top/bottom 0.5rem — left/right 0.75rem */
    text-align: center !important;
    border: 1px solid #DDEEDD;
}

.portfolio-table td {
    padding: 0.75rem 0.9rem;
    border: 1px solid #b8d0b8;
    font-size: 16px;
    line-height: 1.3;
}

.portfolio-table th.check-column,
.portfolio-table td.check-column {
    width: 64px;                /* tight but comfortable for 18×18 checkbox + padding */
    min-width: 64px;
    max-width: 64px;
    padding: 0;                 /* remove any side padding – checkbox centers naturally */
    text-align: center !important;
}

.portfolio-table th.status,
.portfolio-table td.status {
    width: 110px;               /* fits "Standard" + left/right padding comfortably */
    min-width: 100px;
    max-width: 130px;           /* prevents unnecessary growth */
}

.portfolio-table .text-column.registrant,
.portfolio-table .text-column.domain,
.portfolio-table .text-column.status {
    text-align: left;
    padding-left: 10px;           /* ← same value as the others */
}

.portfolio-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    display: block;
    margin: 0 auto;
}

.form-submit {
    margin-top: 1rem;
    text-align: left;
}

.form-submit .cta-button {
    display: inline-block;
    margin-right: 0.2rem;
    margin-bottom: 0.5rem;
}

.form-submit p#form-result {
    font-size: 13px;
    line-height: 1.5;
    color: #1A2528;
}

.registration-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 13.6px; /* Reduced from 15.6px by 2px */
    color: #1A2528;
    font-weight: normal !important;
    text-align: left;
}

.registration-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    vertical-align: middle;
    display: inline-block; /* Allows checkboxes on same line */
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-left: 0.5rem;
    font-size: 13px; /* Matches form-note */
    color: #0066cc; /* Matches text-link */
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 0.5rem;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px; /* Slightly smaller for tooltip */
    line-height: 1.4;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 0.13em;
    margin-left: 0.4em;
    vertical-align: 3px;
    background: linear-gradient(145deg, #3ca0e6, #2c82c9);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.2), /* highlight */
        0 2px 4px rgba(0, 0, 0, 0.2); /* shadow */

}

.icon.check2 {
    background: #3c3;
}

.icon.check {
    background: #beb;
}

.icon.warning {
    background: #fc6;
}

.icon.question {
    background: #bbe;
}

.icon.blocked {
    background: #f66;
}

.icon.taken {
    background: #3ad;
}

.icon.illegal {
    background: #f66;
}

.category-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.category-list li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.info-table {
    width: auto;
    max-width: 835px;
    border-collapse: collapse;
    border-right: 1px solid #DDEEDD;
    border-top: 0px solid #cceecc;
    border-bottom: 2px solid #5CBF61;
    background: #E8FFE8;
}

.info-table td {
    padding: 0.5rem 9px 0.5rem 0;
}

.info-table td:nth-child(2) {
    text-align: right;
    width: auto;
}

.info-table p {
    margin-top: 0.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #1A2528;
}

.categories-line {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-item {
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #EEFFEE;
    padding: 2rem;
    border-radius: 4px;
    width: 30%;
    max-width: 400px;
    min-width: 280px;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #263238;
}

.close-popup:hover {
    color: #FFD800;
}

.popup-content h3 {
    margin-bottom: 1.5rem;
    color: #1A2528;
    padding-left: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.message-list {
    margin-top: 0.5em;
    padding-left: 1.2em;
}

.message-list li {
    margin-bottom: 0.3em;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

.login-form label {
    font-size: 0.875rem; /* Reduced from 1.0rem (16px) to 0.875rem (14px) */
    color: #1A2528;
    font-weight: normal !important;
}

.login-form input[type="text"],
.login-form input[type="email"] {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 1px;
    font-size: 1.0rem;
}

.login-form input[type="checkbox"] {
    margin-right: 0.26rem;
    width: 16px;
    height: 16px;
}

.login-form button.cta-button {
    max-width: 150px;
}

.login-form #login-result {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: #1A2528;
}

.whois-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 835px;
}

.whois-form input {
    padding: 0.75rem;
    margin: 0 2px 0 0; 
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 65%;
}

.whois-form button.cta-button {
    max-width: 100%;
}

footer {
    background: #263238;
    color: #fff;
    padding: 1rem;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
        min-height: auto;
    }

    .left-split, .right-content {
        width: 100%;
        position: static;
        margin-left: 0;
    }

    .left-logo {
        max-width: 233px;
        height: auto;
    }

    .popup-content {
        width: 80%;
        min-width: 250px;
    }

    .login-form button.cta-button,
    .whois-form button.cta-button {
        max-width: 100%;
    }

    .right-content {
        background: #EEFFEE;
    }

    .whois-form input {
        width: 100%;
        margin: 0 0 0.5rem 0;
    }
}

.details-table {
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 835px;
    table-layout: fixed;
    border-spacing: 0;
    background-color: #EEFFEE;
    padding: 12px;
}

.details-table td {
    text-align: left;
    vertical-align: top;
    padding: 10px 14px;
    overflow-wrap: anywhere;
}

.details-table td:first-child:not(:last-child) { width: 34%; }

.pay-status {
    background-color: #DDFFDD;
}

/* Style for disabled Delete button to appear shaded out */
#delete-button:disabled {
    opacity: 0.6; /* Slightly faded to indicate disabled state */
    background: #6c757d; /* Gray background to contrast with active dark green (#263238) */
    cursor: not-allowed; /* Cursor indicates non-clickable */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reduced shadow for flatter appearance */
    text-shadow: none; /* Remove text shadow for less prominence */
}

#modify-button:disabled {
    opacity: 0.6; /* Slightly faded to indicate disabled state */
    background: #6c757d; /* Gray background to contrast with active dark green (#263238) */
    cursor: not-allowed; /* Cursor indicates non-clickable */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reduced shadow for flatter appearance */
    text-shadow: none; /* Remove text shadow for less prominence */
}

/* ============================================================= */
/* PROFILE PAGE ONLY — TEXT MATCHES NORMAL PARAGRAPH <p> STYLE  */
/* ============================================================= */

.profile-form input[type="text"],
.profile-form input[type="email"] {
    width: 100%;
    padding: 0.35rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.5;
}

.profile-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 13.6px;
    color: #1A2528;
    font-weight: normal;
    text-align: left;
}

.profile-form input[type="file"] {
    width: 100%;
    padding: 0.45rem;
    margin-top: 0.25rem;
    font-size: 14.5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

/* ← THIS IS THE KEY: make table text match normal <p> text → 1.1rem */
#documents-table td {
    font-size: 1.1rem !important;   /* ← same as .content p */
    color: #1A2528;
    padding: 0.75rem;
    line-height: 1.8;
}

#documents-table td:nth-child(2),
#documents-table td:nth-child(3) {
    text-align: center;
}

/* Download button — clean and consistent */
.download-btn {
    background: #263238;
    color: white;
    padding: 0.45rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.download-btn:hover {
    background: #1976D2;
    color: #FFD800;
}

.no-documents-msg {
    text-align: center;
    padding: 20px;
    color: #777;
    font-style: italic;
    font-size: 1.1rem;
}

.profile-form input:disabled {
    background: #f5f5f5;
    color: #666;
    cursor: not-allowed;
}

.admin-table {
display: none;
  width: 100%;
  border: 0px solid #000;
  border-collapse: collapse;
  background-color: #D7FFD7; /* lime green */
}

.admin-table td {
  border: 0px solid #000;
  padding: 0.5rem;
  text-align: center;
}

.admin-table p,
.admin-table select {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  font-family: inherit;
}

.admin-table select {
  width: 100%;
}

/* ============================================================= */
/* ACCOUNTS PAGE GRID LAYOUT                                     */
/* ============================================================= */

.accounts-form {
    max-width: 835px;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem 1rem;
    width: 100%;
    max-width: 835px;
    padding: 0.8rem 9px 1rem 0;
}

.accounts-grid > .account-field {
    grid-column: span 2;
}

.accounts-grid > .account-field.account-half {
    grid-column: span 3;
}

.accounts-span-all {
    grid-column: 1 / -1;
    min-width: 0;
}

.accounts-intro {
    padding-bottom: 0.25rem;
}

.accounts-intro p,
.accounts-grid .form-note,
.accounts-grid .account-actions p {
    margin: 0;
}

.account-section-heading h3,
.account-section h3 {
    margin-bottom: 0.45rem;
}

.account-section > .form-note {
    margin-bottom: 1rem;
}

.account-field {
    min-width: 0;
    text-align: left;
}

.account-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    min-width: 0;
}


.account-inline-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-inline-control input {
    flex: 1 1 auto;
    min-width: 0;
}

.account-inline-button {
    flex: 0 0 auto;
    padding: 7px 14px;
    white-space: nowrap;
}

.account-code-field {
    width: 100%;
    font-family: monospace;
}

.account-ip-list {
    min-height: 38px;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.account-help {
    display: block;
    margin-top: 0.3rem;
    color: #666;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
    text-align: left;
}

.account-actions .cta-button {
    margin: 0;
}

.account-table-wrap {
    width: 100%;
    margin-top: 1rem;
    overflow-x: auto;
}

.account-empty-message {
    display: none;
    margin-top: 12px;
}

.account-number-column {
    width: 80px;
}

.account-role-column {
    width: 160px;
}

.account-date-column {
    width: 150px;
}

.account-action-column {
    width: 120px;
}

#save-button:disabled,
#cancel-button:disabled,
#save-button:disabled:hover,
#cancel-button:disabled:hover {
    background: #d3d3d3 !important;
    border-color: #b8b8b8 !important;
    color: #777 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: none;
}

.epp-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.epp-capability {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid #9db5aa;
    border-radius: 4px;
    background: #eef5f1;
    color: #1a4638;
    font-size: 0.9rem;
}

.epp-capability.pending {
    border-color: #c8c8c8;
    background: #e3e3e3;
    color: #777;
    cursor: default;
    pointer-events: none;
}

.account-display-field {
    background: #f0f0f0 !important;
    color: #555;
    cursor: default;
}

.account-field-note {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.25;
    color: #5f696c;
    text-align: left;
}

@media (max-width: 1100px) {
    .accounts-grid > .account-field {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .accounts-grid {
        grid-template-columns: 1fr;
        padding-right: 9px;
    }

    .accounts-grid > .account-field,
    .accounts-grid > .account-field.account-half,
    .accounts-span-all {
        grid-column: 1 / -1;
    }


    .account-two-column {
        grid-template-columns: 1fr;
    }

    .account-inline-control {
        align-items: stretch;
    }
}

/* ============================================================= */
/* RESOURCES PAGE */
/* ============================================================= */

.resources-page {
    width: 100%;
    max-width: 835px;
    margin: 0;
}

.resource-intro {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    background: rgba(232, 255, 232, 0.94);
    border: 1px solid #c9e5c9;
    border-left: 5px solid #006400;
    border-radius: 4px;
    box-shadow: 0 2px 7px rgba(38, 50, 56, 0.09);
}

.resources-page .resource-intro h3,
.resources-page .resource-status-card h3,
.resources-page .registrar-section-heading h3 {
    margin: 0;
}

.resources-page .resource-intro p {
    margin-top: 0.65rem;
    font-size: 1rem;
    line-height: 1.65;
}

.resource-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.8rem;
}

.resource-status-group {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-width: 0;
}

.resource-status-title {
    align-items: center;
    margin-bottom: 0.7rem;
}

.resources-page .resource-status-title h3 {
    color: #00006b;
}

.resource-status-title .icon {
    font-size: 0.8rem;
    vertical-align: 1px;
}

.resource-status-card {
    min-width: 0;
    min-height: 145px;
    padding: 1rem;
    border: 1px solid #cfe3cf;
    border-top: 4px solid #4caf50;
    border-radius: 5px;
    background: rgba(248, 255, 248, 0.93);
    box-shadow: 0 2px 7px rgba(38, 50, 56, 0.09);
}

.resources-page .resource-status-card p {
    margin-top: 0;
    font-size: 0.98rem;
    line-height: 1.55;
}

.resource-service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.85rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid #b7d4e8;
    border-radius: 4px;
    background: #e4f4ff;
    text-decoration: none;
}

.resource-service-link:hover,
.resource-service-link:focus {
    border-color: #77ad7a;
    background: #d8efff;
}

.resource-service-link img {
    display: block;
    max-width: 118px;
    height: auto;
}

.registrar-section {
    margin-top: 1.35rem;
}

.registrar-section--local {
    margin-top: 0;
}

.registrar-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid #5cbf61;
}

.resources-page .registrar-section-heading h3 {
    color: #00006b;
}

.resources-page .registrar-section-heading p {
    max-width: 470px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: right;
    color: #465257;
}

.registrar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    list-style: none;
}

.registrar-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name country"
        "contact country";
    align-items: center;
    column-gap: 0.75rem;
    min-width: 0;
    min-height: 78px;
    padding: 0.8rem 0.9rem;
    border: 1px solid #cfe3cf;
    border-radius: 5px;
    background: rgba(248, 255, 248, 0.93);
    box-shadow: 0 1px 4px rgba(38, 50, 56, 0.08);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.registrar-card:hover {
    border-color: #78b77b;
    box-shadow: 0 3px 9px rgba(38, 50, 56, 0.13);
    transform: translateY(-1px);
}

.registrar-name {
    grid-area: name;
    min-width: 0;
    color: #3f4f9a;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.registrar-name:hover {
    color: #006400;
    text-decoration: underline;
}

.registrar-contact {
    grid-area: contact;
    min-width: 0;
    margin-top: 0.25rem;
    color: #39464b;
    font-size: 0.86rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.registrar-country {
    grid-area: country;
    align-self: center;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: #e3eee3;
    color: #314435;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.resources-actions {
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
}

@media (max-width: 980px) {
    .resource-status-grid,
    .registrar-grid {
        grid-template-columns: 1fr;
    }

    .registrar-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .resources-page .registrar-section-heading p {
        max-width: none;
        text-align: left;
    }
}

@media (max-width: 520px) {
    .registrar-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "name"
            "contact"
            "country";
    }

    .registrar-country {
        justify-self: start;
        margin-top: 0.55rem;
    }
}

/* Resources status-card alignment and country flags */
.resource-status-card--manual {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
}

.resource-status-card--manual .resource-service-link {
    align-self: start;
    justify-self: start;
    margin-top: 0;
    padding: 0.55rem 0.65rem;
}

.resource-status-card--manual .resource-service-link img {
    width: 100%;
    max-width: 105px;
}

.resource-status-card--manual p,
.resource-status-card--open p {
    margin: 0;
}

.resource-status-card--open {
    align-self: stretch;
}

.registrar-country {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.registrar-country::before {
    content: "";
    flex: 0 0 auto;
    width: 16px;
    height: 11px;
    border: 1px solid rgba(38, 50, 56, 0.24);
    border-radius: 1px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 1px 1px rgba(38, 50, 56, 0.08);
}

.registrar-country[data-country-code="gm"]::before {
    background-image: url("/graphics/flags/gm.svg");
}

.registrar-country[data-country-code="us"]::before {
    background-image: url("/graphics/flags/us.svg");
}

.registrar-country[data-country-code="gb"]::before {
    background-image: url("/graphics/flags/gb.svg");
}

.registrar-country[data-country-code="jp"]::before {
    background-image: url("/graphics/flags/jp.svg");
}

.registrar-country[data-country-code="fr"]::before {
    background-image: url("/graphics/flags/fr.svg");
}

.registrar-country[data-country-code="de"]::before {
    background-image: url("/graphics/flags/de.svg");
}

.registrar-country[data-country-code="nl"]::before {
    background-image: url("/graphics/flags/nl.svg");
}

.registrar-country[data-country-code="sa"]::before {
    background-image: url("/graphics/flags/south-america.svg");
}

@media (max-width: 520px) {
    .resource-status-card--manual {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 0.8rem;
    }
}

/* ============================================================= */
/* SEARCH ERROR POPUP                                            */
/* ============================================================= */

.error-popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(180, 0, 0, 0.95);
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 9999;
}

.error-popup.show {
    opacity: 1;
}

.messageboard-table {
    margin-top: 5rem;
}

/* ============================================================= */
/* PUBLIC NIC2 PAGES - CONSISTENCY STANDARD */
/* Resources typography is the visual reference.                */
/* Scoped to public pages only; REG/admin are not affected.      */
/* ============================================================= */

body.public-page .content:not(.resources-page) p {
    font-size: 1rem;
    line-height: 1.65;
}

/* Ordinary public CTA buttons share the same normal dimensions.
   Special button families keep their own existing rules:
   nav-button, cta-button2, resource-service-link, etc. */
body.public-page .cta-button {
    min-height: 34px;
    padding: 0.54rem 1.08rem;
    line-height: 1.2;
    vertical-align: middle;
}
/* Keep registrar context aligned with the standard content width. */
.registrar-context {
    box-sizing: border-box;
    width: 100%;
    max-width: 835px;
}

/* Portal shared UI rules. Keep page HTML free of formatting. */
.registrar-context {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #9fc99f;
    border-radius: 4px;
    background: #cfeccf;
}

.registrar-context label {
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
}

.registrar-context select,
.account-audience-control select {
    min-width: 250px;
    min-height: 36px;
    padding: 0.35rem 0.5rem;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #fff;
    font-size: 15px;
}

.registration-form input[type="tel"] {
    width: 100%;
    min-height: 13.5px;
    padding: 0.35rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.5;
}

.tooltip.tooltip-help {
    width: 1.5em;
    height: 1.5em;
    margin-left: 0.4em;
    border-radius: 50%;
    background: #bfe8bf;
    color: #1a4d1a;
    font-weight: 700;
    line-height: 1.5em;
    text-align: center;
    vertical-align: 2px;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 2px 4px rgba(0,0,0,0.15);
}

.form-clear {
    text-align: right;
}

#receipt-email-option {
    margin-bottom: 1.25rem;
}

.domain-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    max-width: 835px;
    margin-top: 1rem;
}

#accounts-form #registrar-shortname[readonly],
#accounts-form #country[readonly] {
    border-color: #c9c9c9;
    background: #f0f0f0;
    color: #555;
    cursor: default;
}

.account-save-section {
    margin-top: 0.25rem;
    padding-bottom: 0.5rem;
}

.account-audience-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.8rem;
}

.account-audience-control label {
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 620px) {
    .registrar-context,
    .account-audience-control {
        align-items: stretch;
        flex-direction: column;
    }

    .registrar-context select,
    .account-audience-control select {
        width: 100%;
        min-width: 0;
    }
}


/* Registration owner-change warnings: hidden until registrar country is known. */
.registration-form .owner-change-warning {
    display: none;
}

.registration-form .owner-change-warning.is-visible {
    display: inline-block;
}

/* NICGM Invoice SQLite v1 */
.invoice-create-area{display:flex;align-items:center;gap:.75rem;margin:14px 0 18px}.invoice-page-width,.invoice-sheet{box-sizing:border-box;width:100%;max-width:835px}.invoice-guidance{margin:0 0 1rem}.invoice-guidance p{margin:.35rem 0}.invoice-sheet{padding:1.2rem;border:1px solid #c8d8c8;background:#fff}.invoice-header{display:flex;justify-content:space-between;gap:1rem}.invoice-logo{display:block;max-width:260px;height:auto}.invoice-document-type{font-weight:700}.invoice-meta{min-width:245px}.invoice-meta-row{display:flex;justify-content:space-between;gap:1rem;margin:.2rem 0}.invoice-bill-to{margin:1rem 0}.invoice-bill-to p,.invoice-payment p{margin:.15rem 0}.invoice-lines-table{width:100%;border-collapse:collapse}.invoice-lines-table th,.invoice-lines-table td{padding:.45rem;border-bottom:1px solid #ddd;text-align:left}.invoice-lines-table th:last-child,.invoice-lines-table td:last-child,.invoice-amount-cell{text-align:right}.invoice-totals{margin:1rem 0 1rem auto;max-width:310px}.invoice-total-row{display:flex;justify-content:space-between;padding:.2rem 0}.invoice-grand-total{border-top:1px solid #555;font-weight:700;padding-top:.45rem}.invoice-payment{margin-top:1rem;padding-top:1rem;border-top:1px solid #ddd}.invoice-actions{display:flex;align-items:center;gap:.75rem;margin-top:1rem;flex-wrap:wrap}.invoice-replacement-note{font-weight:600}.invoice-error{color:#a40000}.invoice-success-overlay{position:fixed;inset:0;z-index:1400;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(20,35,28,.42)}.invoice-success-card{width:100%;max-width:520px;padding:24px 26px;border:1px solid #b9c9b9;border-radius:8px;background:#f7fff7;box-shadow:0 10px 32px rgba(0,0,0,.28)}.invoice-success-card h3{margin:0 0 10px}.invoice-success-actions{margin-top:18px;text-align:right}body.invoice-flow-page{transition:opacity 2.2s ease}body.invoice-flow-page.invoice-page-fade-out{opacity:0}@media(max-width:760px){.invoice-header{flex-direction:column}.invoice-meta{min-width:0}.invoice-lines-table{font-size:.85rem}.invoice-success-overlay{padding:16px}}
/* END NICGM Invoice SQLite v1 */

/* BEGIN NICGM PRIMARY DESIGN 2026-09-26
   Current design is CSS-native and applies during the first render.
   nicgm-design.js now only rotates the office background image.
*/
@media screen {
 body, body * {
   font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
 }
 body .right-content {
   color: #293735;
   background-color: #f2f8f0;
   background-image: linear-gradient(rgba(242,248,240,.72),rgba(242,248,240,.72)), var(--nicgm-office-image, url('/graphics/office/office-01.jpg'));
   background-repeat: no-repeat;
   background-position: right top;
   background-size: auto, auto 1100px;
 }
 body .right-nav { gap: 6px; }
 body .right-nav .nav-button {
   background: #527b5c; color: #fff; padding: 5px 9px;
   font-size: 14px; line-height: 20px; border-radius: 4px;
   text-transform: none; text-shadow: none; box-shadow: none;
 }
 body .right-nav .nav-button:hover,
 body .right-nav .nav-button[aria-current="page"] { background: #37674c; color: #fff; }
 body #login-link.nav-button { background: #426d8b; }
 body #login-link.nav-button:hover { background: #345a74; }
 body .cta-button {
   padding: 5px 9px; min-height: 30px; font-size: 14px; line-height: 20px;
   background: #34483f; color: #fff; border-radius: 4px;
   box-shadow: none; text-shadow: none; text-transform: none;
 }
 body .cta-button:hover { background: #263b31; color: #fff; }
 body .nav-button:focus-visible,
 body .cta-button:focus-visible { outline: 2px solid #426d8b; outline-offset: 3px; }
 body .content h2 {
   background: #37674c; color: #fff; font-weight: 700;
   box-shadow: none; text-shadow: none; border-radius: 4px 4px 0 0;
 }
 body .content h3 { color: #294d38; font-weight: 700; text-shadow: none; }
 body .info-table {
   width: 100%; background: #eef5ec; border-color: #cad9c8;
   border-bottom-color: #76947b;
 }
 body.nicgm-home .info-table td { padding: 9px 12px; }
 body.nicgm-home .info-table p { color: #293735; line-height: 1.65; font-size: 16px; }
 body .right-nav .nav-button::before {
   content: ""; display: inline-block; width: 15px; height: 15px;
   margin-right: 6px; vertical-align: -2px; background-color: currentColor;
   -webkit-mask: var(--nicgm-icon) center / contain no-repeat;
   mask: var(--nicgm-icon) center / contain no-repeat;
 }
 body.nicgm-home .info-table .icon {
   display: inline-block; width: 19px; height: 19px; margin-right: 7px;
   vertical-align: -3px; font-size: 0; border: 0; border-radius: 0;
   color: transparent; background: #527b5c; box-shadow: none;
   -webkit-mask: var(--nicgm-icon) center / contain no-repeat;
   mask: var(--nicgm-icon) center / contain no-repeat;
 }
 body .right-nav .nav-button[href$="index.html"] { --nicgm-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207M5%209v12h5v-7h4v7h5V9%22%2F%3E%3C%2Fsvg%3E"); }
 body .right-nav .nav-button[href$="search.html"] { --nicgm-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210.5%22%20cy%3D%2210.5%22%20r%3D%226.5%22%2F%3E%3Cpath%20d%3D%22m16%2016%205%205%22%2F%3E%3C%2Fsvg%3E"); }
 body .right-nav .nav-button[href$="policies.html"] { --nicgm-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%204%206v6c0%205%208%209%208%209s8-4%208-9V6Z%22%2F%3E%3Cpath%20d%3D%22m8%2012%203%203%205-6%22%2F%3E%3C%2Fsvg%3E"); }
 body .right-nav .nav-button[href$="resources.html"] { --nicgm-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H5v18h14V8Z%20M14%203v5h5%20M8%2012h8%20M8%2016h8%22%2F%3E%3C%2Fsvg%3E"); }
 body .right-nav .nav-button[href$="faq.html"] { --nicgm-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M9%209a3%203%200%200%201%206%200c0%202-3%202-3%205M12%2017v.1%22%2F%3E%3C%2Fsvg%3E"); }
 body #login-link { --nicgm-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203h6v18h-6M3%2012h12m-4-4%204%204-4%204%22%2F%3E%3C%2Fsvg%3E"); }
 body .right-nav .nav-button:not([href$="index.html"]):not([href$="search.html"]):not([href$="policies.html"]):not([href$="resources.html"]):not([href$="faq.html"]):not(#login-link)::before { content: none; }
 body.nicgm-home .info-table tr:nth-child(1) .icon { --nicgm-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22m7%2012%203%203%207-7%22%2F%3E%3C%2Fsvg%3E"); }
 body.nicgm-home .info-table tr:nth-child(2) .icon { --nicgm-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2212%22%20rx%3D%224%22%20ry%3D%229%22%2F%3E%3Cpath%20d%3D%22M3%2012h18%22%2F%3E%3C%2Fsvg%3E"); }
 body.nicgm-home .info-table tr:nth-child(3) .icon { --nicgm-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%204%206v6c0%205%208%209%208%209s8-4%208-9V6Z%22%2F%3E%3Cpath%20d%3D%22m8%2012%203%203%205-6%22%2F%3E%3C%2Fsvg%3E"); }
 body.nicgm-home .info-table tr:nth-child(4) .icon { --nicgm-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M9%209a3%203%200%200%201%206%200c0%202-3%202-3%205M12%2017v.1%22%2F%3E%3C%2Fsvg%3E"); }
}



@media screen {
  /* Slightly larger top navigation while keeping the approved palette. */
  body .right-nav {
    gap: 7px;
  }
  body .right-nav .nav-button {
    padding: 7px 12px;
    min-height: 34px;
    font-size: 15px;
    line-height: 20px;
  }
  body .right-nav .nav-button::before {
    width: 16px;
    height: 16px;
    margin-right: 7px;
    vertical-align: -3px;
  }

  /* Main action buttons: neutral grey-green rather than near-black, and a little larger. */
  /* NIC2 BUTTON STANDARD 01 */
body .cta-button,
  body .cta-button2 {
    
    
    
    
    background: #4d5956;
    color: #fff;
    border-radius: 4px;
    box-shadow: none;
    text-shadow: none;

    /* Unified anchor/button dimensions */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    min-height: 34px;
    padding: 7px 12px;
    border: 0;

    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;

    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;

    -webkit-appearance: none;
    appearance: none;
}
  body .cta-button:hover,
  body .cta-button2:hover {
    background: #3e4a47;
    color: #fff;
  }

  /* Pull the office scene inward so it sits behind the main content area, as in the design reference. */
  body .right-content {
    background-position: 0 0, right clamp(230px, 28vw, 460px) top;
  }

 /* ============================================================= */
/* INDEX PAGE                                                     */
/* Change only --index-main-text-size to adjust main text size.   */
/* ============================================================= */

body.public-page.nicgm-home {
    --index-main-text-size: 17.5px;
    --index-icon-size: 25px;
}

/* Main Index information table */
body.public-page.nicgm-home .content .info-table {
    border-right: 0;
}

/* Main Index text - this rule deliberately overrides the
   generic public-page typography rule. */
body.public-page.nicgm-home .content .info-table p {
    margin: 0;
    color: #293735;
    font-size: var(--index-main-text-size);
    line-height: 1.55;
}

/* Row spacing */
body.public-page.nicgm-home .content .info-table td {
    padding: 13px 12px;
}

/* Icons are sized independently from the text */
body.public-page.nicgm-home .content .info-table .icon {
    display: inline-block;
    width: var(--index-icon-size);
    height: var(--index-icon-size);
    margin: 0 0 0 0;
    vertical-align: middle;
    position: relative;
    top: -1px;

    font-size: 0;
    border: 0;
    border-radius: 0;
    color: transparent;
    background: #527b5c;
    box-shadow: none;

    -webkit-mask: var(--nicgm-icon) center / contain no-repeat;
    mask: var(--nicgm-icon) center / contain no-repeat;
}

/* Server status */
body.public-page.nicgm-home .messageboard-table {
    width: auto;
    min-width: 330px;
    max-width: 360px;
    margin-top: 5rem;
    padding: 10px 14px;

    border: 1px solid #cbd8cc;
    border-radius: 3px;
    background: rgba(247,250,246,.90);
    box-shadow: 0 3px 10px rgba(35,52,45,.10);
}

body.public-page.nicgm-home .messageboard-table td {
    padding: 8px 10px;
}

body.public-page.nicgm-home .messageboard-table p {
    margin: 0;
    color: #293735;
    font-size: 16px;
    line-height: 1.45;
}

  /* Portfolio: replace the legacy bright-green table with the new sage/neutral design. */
  body .portfolio-table {
    background: rgba(248,251,247,.92);
    border: 1px solid #c9d6ca;
  }
  body .portfolio-table th {
    color: #294d38;
    background: #dce9dc;
    border-color: #c4d2c5;
  }
  body .portfolio-table td,
  body .portfolio-table td.text-column {
    color: #293735;
    background: rgba(248,251,247,.88);
    border-color: #cbd7cc;
  }
  body .portfolio-table tr:nth-child(even) td,
  body .portfolio-table tr:nth-child(even) td.text-column {
    background: rgba(239,245,238,.92);
  }
  body .portfolio-table th.sortable-header:hover,
  body .portfolio-table th.sortable-header:focus {
    background: #cfdfd1;
  }
  body .portfolio-table tr.is-deleted td,
  body .portfolio-table tr.deleted td {
    background: rgba(238,240,238,.88);
  }
}

@media screen and (max-width: 900px) {
  body .right-content {
    background-position: 0 0, right 80px top;
  }
}
/* END NICGM PRIMARY DESIGN 2026-09-26 */

/* BEGIN NICGM AUTH VISIBILITY FIX3 2026-09-26
   Hidden must remain hidden even when shared button CSS declares display.
   Registrar edit actions stay visually hidden until login bootstrap confirms authentication. */
html [hidden] {
    display: none !important;
}

html:not(.nic-session-authenticated) #edit-button,
html:not(.nic-session-authenticated) #edit-domain,
html:not(.nic-session-authenticated) #move-in,
html:not(.nic-session-authenticated) [data-auth-action="edit"],
html:not(.nic-session-authenticated) a[href*="/REG/registration.html?edit=" i],
html:not(.nic-session-authenticated) a[href*="/REG/registration.html" i][href*="edit=" i],
html:not(.nic-session-authenticated) button[name="edit" i],
html:not(.nic-session-authenticated) input[name="edit" i],
html:not(.nic-session-authenticated) .registrar-edit,
html:not(.nic-session-authenticated) .edit-domain {
    visibility: hidden !important;
    pointer-events: none !important;
}
/* END NICGM AUTH VISIBILITY FIX3 2026-09-26 */

/* BEGIN NICGM WHOIS STATUS + DNS INDEX FIX4v2 2026-09-26 */
/* WHOIS header badge refined by FIX5. */
.whois-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    padding: 4px 9px 4px 5px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 5px;
    background: #fff;
    color: #293735;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-shadow: none;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
    white-space: nowrap;
}

.whois-status-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    margin: 0;
    border-radius: 50%;
    color: #263238;
    font-size: 17px;
    font-weight: 900;
    line-height: 27px;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(255,255,255,.34), 0 1px 3px rgba(0,0,0,.18);
}

.whois-status-dot.status-open { background: #beb; }
.whois-status-dot.status-reserved { background: #fc6; }
.whois-status-dot.status-blocked { background: #f66; }
.whois-status-dot.status-registered { background: #3ad; }

.whois-status-text {
    color: #293735;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-transform: lowercase;
}

.dns-status-table {
    width: auto;
    min-width: 250px;
    border-collapse: collapse;
    background: transparent;
}

.dns-status-table td {
    padding: 4px 8px 4px 0;
    border: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #293735;
}

.dns-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    border-radius: 50%;
    vertical-align: 0;
    background: #9aa19d;
}

.dns-status-dot.online { background: #4f9a5a; }
.dns-status-dot.offline { background: #c75454; }
/* END NICGM WHOIS STATUS + DNS INDEX FIX4v2 2026-09-26 */

/* ============================================================= */
/* WHOIS EMPTY RESULT TABLE                                      */
/* ============================================================= */
#read-domain-table:empty {
    display: none;
}

/* BEGIN NICGM RESOURCES COMPACT FIX9
   Quiet, compact Resources layout.
   Resources only. No backend behaviour.
*/

.resources-page {
    width: 100%;
    max-width: 835px;
    margin: 0;
}

/* Registration notes: no large coloured card */
.resources-page .resource-intro {
    margin: 0.65rem 0 0.55rem;
    padding: 0.15rem 0 0.7rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #cdd6cf;
    border-radius: 0;
    box-shadow: none;
}

.resources-page .resource-intro h3 {
    margin: 0 0 0.35rem;
    color: #294d38;
    font-size: 1rem;
    font-weight: 700;
    text-transform: none;
    text-shadow: none;
}

.resources-page .resource-intro p {
    margin: 0.25rem 0;
    color: #394640;
    font-size: 0.94rem;
    line-height: 1.45;
}

/* Status guidance: compact and neutral */
.resources-page .resource-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0.65rem 0 1rem;
}

.resources-page .resource-status-group {
    display: block;
    min-width: 0;
}

.resources-page .resource-status-title {
    margin: 0 0 0.3rem;
    padding: 0;
    border: 0;
}

.resources-page .resource-status-title h3 {
    margin: 0;
    color: #294d38;
    font-size: 0.94rem;
    font-weight: 700;
    text-transform: none;
    text-shadow: none;
}

.resources-page .resource-status-title .icon {
    width: 1.25em;
    height: 1.25em;
    line-height: 1.25em;
    margin-left: 0.2rem;
    font-size: 0.72rem;
    vertical-align: 1px;
    box-shadow: none;
    filter: saturate(0.6);
}

.resources-page .resource-status-card {
    min-width: 0;
    min-height: 0;
    padding: 0.55rem 0.65rem;
    border: 1px solid #d5ddd6;
    border-top: 1px solid #d5ddd6;
    border-radius: 4px;
    background: rgba(255,255,255,0.58);
    box-shadow: none;
}

.resources-page .resource-status-card p {
    margin: 0;
    color: #3c4842;
    font-size: 0.9rem;
    line-height: 1.4;
}

.resources-page .resource-status-card--manual {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
}

.resources-page .resource-service-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.resources-page .resource-service-link:hover,
.resources-page .resource-service-link:focus {
    border: 0;
    background: transparent;
}

.resources-page .resource-service-link img,
.resources-page .resource-status-card--manual .resource-service-link img {
    display: block;
    width: auto;
    max-width: 82px;
    height: auto;
}

/* Registrar sections */
.resources-page .registrar-section {
    margin-top: 0.9rem;
}

.resources-page .registrar-section--local {
    margin-top: 0;
}

.resources-page .registrar-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #bdc9c0;
}

.resources-page .registrar-section-heading h3 {
    margin: 0;
    color: #294d38;
    font-size: 1rem;
    font-weight: 700;
    text-transform: none;
    text-shadow: none;
}

.resources-page .registrar-section-heading p {
    margin: 0;
    color: #68736d;
    font-size: 0.82rem;
    line-height: 1.3;
}

/* Registrar list: smaller, flatter and quieter */
.resources-page .registrar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.resources-page .registrar-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name country"
        "contact country";
    align-items: center;
    column-gap: 0.6rem;
    min-width: 0;
    min-height: 0;
    padding: 0.48rem 0.58rem;
    border: 1px solid #d9e0da;
    border-radius: 3px;
    background: rgba(255,255,255,0.54);
    box-shadow: none;
    transform: none;
    transition: border-color 0.12s ease,
                background-color 0.12s ease;
}

.resources-page .registrar-card:hover {
    border-color: #aebdb2;
    background: rgba(255,255,255,0.75);
    box-shadow: none;
    transform: none;
}

.resources-page .registrar-name {
    grid-area: name;
    min-width: 0;
    color: #315c47;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.resources-page .registrar-name:hover,
.resources-page .registrar-name:focus {
    color: #183d2d;
    text-decoration: underline;
}

.resources-page .registrar-contact {
    grid-area: contact;
    min-width: 0;
    margin-top: 0.14rem;
    color: #606b65;
    font-size: 0.78rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.resources-page .registrar-country {
    grid-area: country;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #68736d;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: right;
    white-space: nowrap;
}

.resources-page .registrar-country::before {
    width: 14px;
    height: 9px;
    border-color: rgba(38,50,56,0.18);
    box-shadow: none;
}

.resources-page .resources-actions {
    margin-top: 1rem;
    padding-bottom: 0.35rem;
}

@media (max-width: 980px) {
    .resources-page .resource-status-grid,
    .resources-page .registrar-grid {
        grid-template-columns: 1fr;
    }

    .resources-page .registrar-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.2rem;
    }
}

@media (max-width: 520px) {
    .resources-page .resource-status-card--manual {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 0.55rem;
    }

    .resources-page .resource-service-link img,
    .resources-page .resource-status-card--manual .resource-service-link img {
        max-width: 70px;
    }

    .resources-page .registrar-card {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "name country"
            "contact country";
    }

    .resources-page .registrar-country {
        margin-top: 0;
        justify-self: end;
    }
}

/* END NICGM RESOURCES COMPACT FIX9 */
/* BEGIN NICGM LOGIN UI 04.1 */
#login-popup.popup-overlay {
    background: rgba(25, 38, 31, 0.56);
    padding: 20px;
}
#login-popup .popup-content {
    width: min(92vw, 390px);
    max-width: 390px;
    min-width: 0;
    padding: 0 24px 24px;
    overflow: hidden;
    background: #f7fbf6;
    border: 1px solid #c6d4c7;
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(20, 42, 30, 0.24);
}
#login-popup .popup-content h3 {
    margin: 0 -24px 20px;
    padding: 14px 52px 14px 24px;
    background: #37674c;
    color: #fff;
    border-radius: 5px 5px 0 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .01em;
}
#login-popup .close-popup {
    top: 9px;
    right: 15px;
    color: #fff;
    line-height: 28px;
}
#login-popup .close-popup:hover { color: #e7f3e9; }
#login-popup .login-form {
    gap: 8px;
    max-width: none;
}
#login-popup .login-form label {
    margin-top: 4px;
    color: #293735;
    font-size: 13px;
    font-weight: 600 !important;
}
#login-popup .login-form input[type="text"],
#login-popup .login-form input[type="email"] {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #b8c8bb;
    border-radius: 4px;
    background: #fff;
    color: #24342c;
    font-size: 15px;
    box-shadow: inset 0 1px 2px rgba(20, 42, 30, 0.04);
}
#login-popup .login-form input[type="text"]:focus,
#login-popup .login-form input[type="email"]:focus {
    border-color: #426d8b;
    outline: 2px solid rgba(66, 109, 139, 0.18);
    outline-offset: 1px;
}
#login-popup .login-form .cta-button {
    width: 100%;
    max-width: none;
    margin-top: 10px;
    padding: 8px 12px;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}
/* LOGIN CODE SPINNER 01 */

/* Request progress on the active code button. */
#login-popup .nic-login-sending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: progress;
}

/* Circular progress indicator. */
#login-popup .nic-login-sending::before {
    content: "";
    display: inline-block;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: nic-login-spin .65s linear infinite;
}

@keyframes nic-login-spin {
    to { transform: rotate(360deg); }
}
#login-popup .login-resend-link {
    align-self: flex-start;
    margin: 1px 0 0;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: #426d8b;
    font: 600 13px/1.35 "Segoe UI", system-ui, -apple-system, sans-serif;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
#login-popup .login-resend-link:hover { color: #294d38; }
#login-popup .login-resend-link:focus-visible {
    outline: 2px solid #426d8b;
    outline-offset: 3px;
}
#login-popup #login-result {
    min-height: 1.25em;
    margin-top: 4px;
    color: #405149;
    font-size: 13px;
    line-height: 1.4;
}
@media (max-width: 520px) {
    #login-popup.popup-overlay { padding: 12px; }
    #login-popup .popup-content { width: 100%; padding: 0 18px 20px; }
    #login-popup .popup-content h3 { margin-left: -18px; margin-right: -18px; padding-left: 18px; }
}
/* END NICGM LOGIN UI 04.1 */

/* BUTTON ICONS 03 / STATUS PANELS 01 */

/* Shared action icons */
body .nicgm-icon-search::before,
body .nicgm-icon-start::after,
body #dns074-toggle::before,
body #domain-actions a.cta-button[href="/search.html"]::before,
body #whois08-toggle::before,
body #domain-edit-action::before,
body #back-portfolio::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-right: 7px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: var(--nicgm-action-icon) center / contain no-repeat;
    mask: var(--nicgm-action-icon) center / contain no-repeat;
}

/* GET STARTED: double arrow after text */
body .nicgm-icon-start::after {
    width: 19px;
    min-width: 19px;
    margin-right: 0;
    margin-left: 7px;
}

body .nicgm-icon-start {
    --nicgm-action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012h8m-2-6%206%206-6%206m6-12%206%206-6%206%22%2F%3E%3C%2Fsvg%3E");
}

/* Search buttons */
body .nicgm-icon-search,
body #domain-actions a.cta-button[href="/search.html"] {
    --nicgm-action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210.5%22%20cy%3D%2210.5%22%20r%3D%226.5%22%2F%3E%3Cpath%20d%3D%22m16%2016%205%205%22%2F%3E%3C%2Fsvg%3E");
}

/* DNS buttons: down arrow / close X */
body #dns074-toggle[aria-expanded="false"],
body #whois08-toggle[aria-expanded="false"] {
    --nicgm-action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204v16m-6-6%206%206%206-6%22%2F%3E%3C%2Fsvg%3E");
}

body #dns074-toggle[aria-expanded="true"],
body #whois08-toggle[aria-expanded="true"] {
    --nicgm-action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%206%206%2018M6%206l12%2012%22%2F%3E%3C%2Fsvg%3E");
}

/* Private WHOIS action buttons */
body #domain-edit-action {
    --nicgm-action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020h9M16.5%203.5a2.1%202.1%200%200%201%203%203L9%2017l-4%201%201-4Z%22%2F%3E%3C%2Fsvg%3E");
}

body #back-portfolio {
    --nicgm-action-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2012H5m6-6-6%206%206%206%22%2F%3E%3C%2Fsvg%3E");
}

/* WHOIS VISUAL CLEANUP 01 */

/* WHOIS: quiet result surface. Title bar remains unchanged. */
body #read-domain-table:not(:empty),
body #read-domain-table:not(:empty) tr,
body #read-domain-table:not(:empty) th,
body #read-domain-table:not(:empty) td {
    background: #f7faf7 !important;
}

body #read-domain-table:not(:empty) {
    margin-top: 0;
}

/* Keep status available to JS, without visible spacing. */
body #read-domain-status:has(+ #read-domain-table:not(:empty)) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0 !important;
}

/* GET STARTED: text-only green hover, matching SEARCH. */
body .nicgm-icon-start:hover,
body .nicgm-icon-start:focus-visible {
    color: #00ff00 !important;
}

/* EVA2-UI-FIX4 BEGIN: scoped WHOIS layout; existing STYLE.CSS only. */
#eva-option[hidden], #eva-status[hidden], #eva-actions[hidden] { display: none !important; }
#eva-option {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 650px;
    margin: 14px 0 4px;
    padding: 0;
    clear: both;
    float: none !important;
    position: static !important;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    cursor: pointer;
}
#eva-checkbox {
    appearance: auto !important;
    display: block !important;
    position: static !important;
    float: none !important;
    flex: 0 0 18px;
    box-sizing: border-box;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle;
    accent-color: #355f49;
}
#eva-option .eva-label { min-width: 0; flex: 1 1 auto; white-space: normal; }
#eva-option .eva-label small { font-size: .9em; color: #495b51; }
#eva-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 10px 0 7px;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
}
#eva-status .eva-spinner {
    display: none;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    border: 2px solid #b7c7bd;
    border-top-color: #355f49;
    border-radius: 50%;
}
#eva-status.eva-is-running .eva-spinner {
    display: inline-block;
    animation: nicgm-eva-rotate .8s linear infinite;
}
#eva-actions { margin: 8px 0 0; }
@keyframes nicgm-eva-rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    #eva-status.eva-is-running .eva-spinner { animation: none; border-style: dotted; }
}
/* EVA2-UI-FIX4 END */

/* NICGM UX FIX6 BEGIN */

/* WHOIS input: slightly larger */
body.public-page .whois-form input[name="dname"] {
    font-size: 16px !important;
    min-height: 39px;
}

/* DNS buttons: bone-white and navy, including CLOSE states */
#dns074-toggle,
#whois08-toggle {
    background: #f8f6ee !important;
    color: #193955 !important;
    border: 2px solid #8498a8 !important;
    font-weight: 700 !important;
}

#dns074-toggle:hover,
#whois08-toggle:hover {
    background: #fffdf6 !important;
    color: #193955 !important;
}

/* Law-Doc paragraph symbol */
.nicgm-law-symbol {
    display: inline-block;
    margin-right: .35em;
    font-size: 1.12em;
    font-weight: 700;
    line-height: 1;
}

/* Move-in occupies Portfolio slot in registered WHOIS */
#domain-actions .nicgm-movein-button {
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
    margin-left: 8px;
}

/* NICGM UX FIX6 END */


/* EVA-USAGE-VIEW-01 BEGIN: primary STYLE.CSS only */

html body table#users-table.portfolio-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
}

/* Structural column widths */

html body #users-table col.users-col-name {
    width: 40% !important;
}
html body #users-table col.users-col-eva {
    width: 10% !important;
}
html body #users-table col.users-col-email {
    width: 35% !important;
}
html body #users-table col.users-col-status {
    width: 15% !important;
}

/* All cells: consistent breathing room */

html body #users-table th,
html body #users-table td {
    box-sizing: border-box !important;
    min-width: 0 !important;
    padding: 7px 8px !important;
    vertical-align: middle !important;
}

/* Lock actual cell widths */

html body table#users-table.portfolio-table th:nth-child(1),
html body table#users-table.portfolio-table td:nth-child(1) {
    width: 40% !important;
}

html body table#users-table.portfolio-table th:nth-child(2),
html body table#users-table.portfolio-table td:nth-child(2) {
    width: 10% !important;
    text-align: center !important;
    font-variant-numeric: tabular-nums;
}

html body table#users-table.portfolio-table th:nth-child(3),
html body table#users-table.portfolio-table td:nth-child(3) {
    width: 35% !important;
    overflow-wrap: anywhere;
}

html body table#users-table.portfolio-table th:nth-child(4),
html body table#users-table.portfolio-table td:nth-child(4) {
    width: 15% !important;
}

/* Status selector stays within its cell */

html body #users-table td:nth-child(4) select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

/* Hide EVA until the authenticated registrar classification has been loaded. */
html body #users-table[hidden],
html body .users-permission[hidden] { display: none !important; }

/* Gambian/local Web: three actual columns, no empty EVA cell or gap. */
html body #users-table.users-no-eva col.users-col-name { width: 40% !important; }
html body #users-table.users-no-eva col.users-col-email { width: 45% !important; }
html body #users-table.users-no-eva col.users-col-status { width: 15% !important; }
html body table#users-table.portfolio-table.users-no-eva th:nth-child(1),
html body table#users-table.portfolio-table.users-no-eva td:nth-child(1) { width: 40% !important; }
html body table#users-table.portfolio-table.users-no-eva th:nth-child(2),
html body table#users-table.portfolio-table.users-no-eva td:nth-child(2) {
    width: 45% !important; text-align: left !important; overflow-wrap: anywhere;
}
html body table#users-table.portfolio-table.users-no-eva th:nth-child(3),
html body table#users-table.portfolio-table.users-no-eva td:nth-child(3) { width: 15% !important; }

/* EVA-USAGE-VIEW-01 END */


/* EVA-REVIEW-UX-01 BEGIN - scoped WHOIS input only. */
html body .whois-form input[type="text"][name="dname"] {
    height: 38px !important;
    min-height: 0 !important;
    padding: 5px 11px !important;
    line-height: 22px !important;
    box-sizing: border-box !important;
    vertical-align: middle;
}
/* EVA-REVIEW-UX-01 END */
