.server-health {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 30px;
    width: 100%;
}
.snofort-server {
    box-sizing: border-box;
    background: #eee;
    padding: 5px;
    border: 5px solid #eee;
    cursor: pointer;
}
.server-selected {
    border-color: #aaa;
}
.snofort-trend {
    width: 12px;
    color: #aaaaaa44;
    display: inline-block;
}
.snofort-server-name {
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
}
.snofort-cols {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}
.snofort-col {
    box-sizing: border-box;
}
table.snofort-table-ip-sites tr {
    height: 30px;
    text-align: left;
}
.ip-traffic-overview,
.domain-info-box {
    background: #eee;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}
.ip-traffic-overview p,
.domain-info-box p {
    margin-bottom: 5px;
}
.ip-label {
    font-weight: bold;
}
.ip-flagged {
    font-weight: bold;
    color: #ff0000;
}
.ip-link {
    display: inline-block;
    color: #fff;
    padding: 7px 24px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #0081a6;
    transition: all .2s ease-in-out;
    position: absolute;
    right: 15px;
    bottom: 15px;
}
.ip-link:hover {
    filter: brightness(1.2);
}
.ip-link a,
.ip-link a:hover {
    color: #fff;
    text-decoration: none;
}
.divider-line {
    width: 100%;
    border-bottom: 1px solid #fff;
    margin: 15px 0;
}
.action-line {
    line-height: 36px;
}
.domain-button {
    display: block;
    color: #fff;
    padding: 7px 24px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #0081a6;
    transition: all .2s ease-in-out;
    float: right;

}
.domain-button:hover {
    filter: brightness(1.2);
}
.domain-button a,
.domain-button a:hover {
    color: #fff;
    text-decoration: none;
}

.ip-blocked,
.subnet-blocked {
    background: #ff0000;
    color: #ffffff;
}
.ip-blocked .traffic-block-ip,
.subnet-blocked .traffic-block-ip {
    display: none;
}
.traffic-unblock-ip,
.traffic-unblock-subnet {
    display: none;
    background: #000;
    color: #fff;
}
.ip-blocked .traffic-unblock-ip,
.subnet-blocked .traffic-unblock-subnet {
    display: block;
}
table tr.ip-banned {
    background: #ff0000;
    color: #fff;
}
.order-container.airesults-container {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    display: block;
}
.airesults-container p {
    font-size: 18px;
    line-height: 24px;
    padding-bottom: 15px;
}
.order-header.ai-header {
    text-align: center;
}
.ai-row-active {
    background: #ffbc64
}
canvas.all-servers-traffic {
    margin-top: 50px;
    width: 100%;
    height: 500px;
}
.snofort-header {
    text-align: center;
    color: #fff;
    font-size: 20px;
    padding: 6px 0 0 0;
}
.snofort-load { 
    font-size: 40px; 
    padding-bottom:15px; 
    color: #fff;
    text-align: center;
}
.snofort-load .heartbeat_label_load {
    margin-top: -3px;
}
.snofort-server-name {
    cursor: pointer;
    border: 3px solid #000;
}
.full-screen .brokaw {
    background: #36A2EB;
    border-color: #1F87CF;
    --alert-color: #1F87CF;
}

.full-screen .cronkite {
    background: #FF6384;
    border-color: #E04B6A;
    --alert-color: #E04B6A;
}

.full-screen .gross {
    background: #4BC0C0;
    border-color: #36A5A5;
    --alert-color: #36A5A5;
}

.full-screen .koppel {
    background: #FF9F40;
    border-color: #E58628;
    --alert-color: #E58628;
}

.full-screen .murrow {
    background: #9966FF;
    border-color: #7D4DE6;
    --alert-color: #7D4DE6;
}

.full-screen .walters {
    background: #FFCD56;
    border-color: #E0B23E;
    --alert-color: #E0B23E;
}

.full-screen .wells {
    background: #C9CBCF;
    border-color: #AEB1B6;
    --alert-color: #AEB1B6;
}

.full-screen[data-selected="brokaw"] .brokaw {
    border-color: #000;
}
.full-screen[data-selected="cronkite"] .cronkite {
    border-color: #000;
}
.full-screen[data-selected="gross"] .gross {
    border-color: #000;
}
.full-screen[data-selected="koppel"] .koppel {
    border-color: #000;
}
.full-screen[data-selected="murrow"] .murrow {
    border-color: #000;
}
.full-screen[data-selected="walters"] .walters {
    border-color: #000;
}
.full-screen[data-selected="wells"] .wells {
    border-color: #000;
}

#controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap; /* safe on narrow screens */
}

#controls button {
    background: #0b3a6f;          /* deep blue */
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.15s ease;
}

#controls button:hover {
    background: #0e4a8a;          /* subtle hover */
}

#controls button:focus-visible {
    outline: 2px solid #6fa8dc;
    outline-offset: 2px;
}

#controls button.time-active {
    background: #1e6bb8; /* rich but friendly blue */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

#controls button.time-active:hover {
    background: #1e6bb8; /* no hover change when active */
}
#toggleViews, 
#toggleLoad {
    width: 130px;
}
.snofort-graph-area {
    height: 700px;
    display: block;
    width: 100%;
}
#snofort-graph-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 20px;
    bottom: -60px;
    background: #ffffffdd;
    display: none;
    padding: 20px;
    border: 3px solid #767676;
}
#snofort-graph-overlay .snofort-ip-row,
#snofort-graph-overlay .snofort-site-row {
    height: 30px;
}
#snofort-graph-overlay .snofort-cols {
    margin-top: 10px;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: #666;
    transition: all .2s ease-in-out;
}

.modal-close:hover {
    color: #000;
}
.load-alert {
    position: relative;
    z-index: 1;
}


.load-alert {
    position: relative;
    z-index: 1;
}

.load-alert::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--alert-color) 70%, transparent);
    animation: loadPulse 3.2s ease-in-out infinite;
}

@keyframes loadPulse {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--alert-color) 70%, transparent);
        opacity: 0.85;
    }

    50% {
        box-shadow:
            0 0 0 6px color-mix(in srgb, var(--alert-color) 45%, transparent),
            0 0 0 10px color-mix(in srgb, var(--alert-color) 25%, transparent);
        opacity: 1;
    }

    100% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--alert-color) 70%, transparent);
        opacity: 0.85;
    }
}

.load-alert.load-severe::after {
    animation-duration: 1.6s;
}
.ip-report-container {
	display: flex;
	height: 100vh; /* lock layout to viewport */
    padding-top: 20px;
}

.ip-left-panel {
	flex: 0 0 450px; /* or whatever width */
	position: sticky;
	top: 0;
	align-self: flex-start;
    margin-top: 0;
}

.ip-right-panel {
	flex: 1;
	overflow-y: auto;
	height: 100vh;
    margin-top: 0;
}
.nav-buttons {
    display: block;
    float: left;
    margin-top: -5px;
}

.nav-btn {
    display: none;
    float: left;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid #ccd0d4;
    background: #ffffff;
    color: #1d2327;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.nav-btn i {
    font-size: 13px;
}

.nav-btn:hover {
    background: #f6f7f7;
    border-color: #8c8f94;
}

.nav-back {
    margin-right: 15px;
}
.nav-next {
    margin-left: 15px;
}
.snofort-title {
    padding-top: 5px;
    float: left;
}
.nav-next span {
    padding-right: 5px;
}
.nav-back span {
    padding-left: 5px;
}

.log-analysis-report {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.log-analysis-report table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 15px;
}

.log-analysis-report th,
.log-analysis-report td {
  border: 1px solid #ddd;
  padding: 6px 8px;
}
.log-analysis-report td {
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}
.log-analysis-report th {
  background: #f4f6f8;
  text-align: left;
}

.log-analysis-report h2,
.login-report h2 {
    margin-bottom: 0px;
    text-align: center;
    background: #f4f6f8;
    padding: 9px;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.log-analysis-report h3 {
  margin-top: 20px;
}

.log-analysis-report .two-col,
.cf-tools-content .two-col {
    display: flex;
    gap: 30px;
}
.domain-info-box-label {
    text-align: left;
    font-size: 16px;
    padding-top: 6px;
}

.log-analysis-report .two-col .col,
.cf-tools-content .two-col .col {
    flex: 1;
}

.log-analysis-report table {
    width: 100%;
    border-collapse: collapse;
}

.log-analysis-report th,
.log-analysis-report td {
    padding: 6px 8px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.log-analysis-report .url-cell {
    word-break: break-all;
    overflow-wrap: anywhere;
}
/* Signal severity styling */

.signal-high {
    background-color: #ffe5e5;
}

.signal-medium {
    background-color: #fff6e0;
}

.signal-high td:first-child {
    font-weight: 600;
}

.signal-medium td:first-child {
    font-weight: 600;
}

.signal-high td {
    color: #b00020;
}

.signal-medium td {
    color: #c77700;
}
.url-cell {
    word-break: break-all;
    overflow-wrap: anywhere;
}
.cf-tools-content {
    display: none;
}
.cf-tools-header {
    position: relative;
    background: #eee;
    padding: 15px;
    position: relative;
}
.cf-tools-header p {
    margin-bottom: 0px;
}
.cf-info-toggle {
    position: absolute;
    right: 20px;
    top: 12px;
    font-size: 20px;
    cursor: pointer;
}
.cf-tools-content {
    background: #eee;
    padding: 15px;
    margin-top: 1px;
}
.cf-tools-spacer {
    display: block;
    height: 15px;
}
.cf-link {
    padding-left: 6px;
}
.cf-deployed {
    padding-right: 15px;
    padding-top: 6px;
    font-size: 16px;
    text-align: right;
    font-weight: bold;
}
.cf-input-wrap {
    position: relative;
}
.cf-input-toggle {
    position: absolute;
    right: 10px;
    top: 0px;
    font-size: 20px;
    cursor: pointer;
}
.cf-input-row {
    padding-top: 10px;
    display: none;
}
.watchlist-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
}
#snofort-graph-overlay .snofort-cols {
    display: flex;
    gap: 20px;
    height: 100%;
}

#snofort-graph-overlay .snofort-col {
    flex: 1;
    overflow-y: auto;
    max-height: calc(100% - 51px);
}
#snofort-graph-overlay .snofort-table-ips thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}
#snofort-graph-overlay .snofort-table-ips {
    width: 100%;
    border-collapse: collapse;
}
.login-report h2 {
    position: sticky;
    top: 0;
    z-index: 2;
}
/* .snofort-login-cols {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
} */

/* Two column layout */
.snofort-login-cols {
    display: flex;
    gap: 20px;
    height: 100%;
    margin-top: 30px;
    gap: 30px;
    width: 100%;
}

/* Each column */
.snofort-login-cols .snofort-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* IMPORTANT for flex scrolling */
}


.table-scroll {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.table-scroll table {
    width: 100%;
    border-collapse: collapse;
    max-height: 80%;
}

.table-scroll thead {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}
.full-screen.logins-screen {
    overflow-y: hidden;
}