:root {
    --navy-950: #031b33;
    --navy-900: #062a4f;
    --navy-800: #0a3b68;
    --blue-600: #0b6fc2;
    --blue-500: #1597e5;
    --cyan-400: #54bff5;
    --brand-red: #0b6fc2;
    --brand-red-dark: #07569a;
    --brand-blue: #0b6fc2;
    --brand-blue-light: #54bff5;
    --shadow: 0 24px 70px rgba(3, 27, 51, 0.14), 0 3px 12px rgba(3, 27, 51, 0.08);
}

body {
    background-color: #f4f8fc;
}

.app-body,
.login-body {
    background: #f4f8fc;
}

.brand-panel {
    background:
        radial-gradient(circle at 55% 48%, rgba(84, 191, 245, 0.34), transparent 42%),
        linear-gradient(135deg, #031b33 0%, #062a4f 48%, #0a3b68 76%, #031b33 100%);
}

.topbar {
    background: linear-gradient(100deg, #031b33 0%, #062a4f 64%, #0a3b68 100%);
    border-top-color: #54bff5;
    box-shadow: 0 2px 14px rgba(3, 27, 51, 0.22);
}

.brand-mark {
    border-color: #54bff5;
    box-shadow: inset 6px 0 0 -4px #54bff5, inset -6px 0 0 -4px #54bff5;
}

.eyebrow,
.eyebrow.dark {
    color: #0b6fc2;
}

.brand-panel .eyebrow {
    color: #7fd3fb;
}

.security-icon {
    color: #031b33;
    background: #54bff5;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #1597e5;
    box-shadow: 0 0 0 4px rgba(21, 151, 229, 0.14);
}

button[type="submit"] {
    background: #0b6fc2;
    box-shadow: 0 8px 20px rgba(11, 111, 194, 0.20);
}

button[type="submit"]:hover {
    background: #07569a;
    box-shadow: 0 10px 24px rgba(11, 111, 194, 0.26);
}

.logout-button {
    border-color: #1597e5 !important;
    background: #0b6fc2 !important;
}

.tool-card-link:hover,
.category-card:hover,
.category-tool-card:hover {
    border-color: rgba(21, 151, 229, 0.55);
}

.tool-icon,
.category-icon,
.category-tool-icon {
    background: #062a4f;
    border-color: #54bff5;
}

.status-badge:not(.danger):not(.error):not(.warning):not(.neutral) {
    color: #07569a;
    background: #e8f5fd;
}

.back-link,
.tool-external-link,
.login-help-row a,
.login-footer a {
    color: #0b6fc2;
}

.activity-indicator,
.profile-activity-status.success {
    background: #1597e5;
}

.profile-initials {
    background: #e8f5fd;
    color: #07569a;
}

::selection {
    color: #ffffff;
    background: #0b6fc2;
}

/* Keep arbitrary diagnostic data inside its owning panel. */
.dashboard,
.ptr-layout,
.form-card,
.result-card,
.dns-section,
.ns-section,
.ns-row,
.dns-record-row,
.compact-list,
.compact-list > div,
.profile-card,
.activity-item,
.category-card,
.category-tool-card,
.tool-card,
.tool-content,
.category-tool-content,
.activity-content,
.profile-activity-main {
    min-width: 0;
    max-width: 100%;
}

/* DNS records, keys, fingerprints, URLs and hashes often have no spaces. */
.form-card p,
.result-card p,
.dns-section p,
.ns-section p,
.ns-row span,
.ns-row strong,
.dns-record-row span,
.dns-record-row strong,
.dns-record-row code,
.compact-list dt,
.compact-list dd,
.profile-card p,
.activity-content,
.profile-activity-main,
.tool-content p,
.category-tool-content p,
code,
pre {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

code,
pre {
    white-space: pre-wrap;
}

pre {
    overflow-x: auto;
}
