/* ==========================================================================
   CSS DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --bg-dark: #050711;
    --bg-card: rgba(11, 14, 28, 0.75);
    --card-border: rgba(212, 175, 55, 0.15);
    --primary-neon: #d4af37; /* Gold */
    --primary-glow: rgba(212, 175, 55, 0.25);
    --secondary-neon: #ffd700; /* Bright gold */
    --secondary-glow: rgba(255, 215, 0, 0.25);
    --danger-neon: #ff0055;
    --danger-glow: rgba(255, 0, 85, 0.25);
    --text-main: #f9fafb;
    --text-muted: rgba(249, 250, 251, 0.65);
    --text-label: rgba(212, 175, 55, 0.5); /* Gold labels */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --glow-grad-1: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 50%);
    --glow-grad-2: radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Dynamic Particle Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: auto; /* Allow mouse interaction */
}

/* Background Logo Watermark */
.bg-logo-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(400px, 80vw);
    height: auto;
    opacity: 0.06;
    z-index: -1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-logo-watermark img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0));
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    animation: slowFloat 8s ease-in-out infinite alternate;
}

@keyframes slowFloat {
    0% { transform: translateY(-8px) scale(0.97); }
    100% { transform: translateY(8px) scale(1.03); }
}

/* Watermark State Modifiers */
.bg-logo-watermark.state-scanning {
    opacity: 0.14;
}
.bg-logo-watermark.state-scanning img {
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
    animation: scanningPulse 1.8s ease-in-out infinite alternate;
}

@keyframes scanningPulse {
    0% { transform: scale(0.96); }
    100% { transform: scale(1.04); }
}

.bg-logo-watermark.state-success {
    opacity: 0.09;
}
.bg-logo-watermark.state-success img {
    filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.8));
    animation: successBloom 4s ease-in-out infinite alternate;
}

@keyframes successBloom {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.08); }
}

.bg-logo-watermark.state-failure {
    opacity: 0.08;
}
.bg-logo-watermark.state-failure img {
    filter: drop-shadow(0 0 50px rgba(255, 0, 85, 0.7));
    animation: failurePulse 3s ease-in-out infinite alternate;
}

@keyframes failurePulse {
    0% { transform: scale(0.98); }
    100% { transform: scale(1.04); }
}

/* Glassmorphic Ambient Orbs (GPU Accelerated) */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
    animation: floatOrb 12s ease-in-out infinite alternate;
    transform: translateZ(0);
    will-change: transform;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    top: 15%;
    left: 10%;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    bottom: 10%;
    right: 10%;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.15); }
}

/* ==========================================================================
   MAIN CONTAINER & SCREEN VISIBILITY LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: 480px;
    padding: 24px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

#search-screen, #scanner-screen, #result-screen {
    width: 100%;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.active {
    display: block !important;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================================================
   1. LANDING / MANUAL SEARCH SCREEN STYLING
   ========================================================================== */
.search-card-wrapper {
    position: relative;
    width: 100%;
}

.search-card-wrapper::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--card-border), var(--primary-neon), var(--card-border));
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

.search-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.search-header {
    margin-bottom: 28px;
}

.search-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.search-header h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.search-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--text-label);
    letter-spacing: 1.5px;
}

.input-group input {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 15px;
    outline: none;
    transition: all 0.25s ease;
}

.input-group input:focus {
    border-color: var(--primary-neon);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
    background: rgba(0, 0, 0, 0.35);
}

.btn-search {
    padding: 14px 20px;
    font-size: 14px;
}

/* ==========================================================================
   2. SCANNING SCREEN STYLING
   ========================================================================== */
.scanner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.security-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--primary-neon);
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.05);
    margin-bottom: 32px;
}

.icon-shield {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.6; filter: drop-shadow(0 0 0px var(--primary-neon)); }
    100% { opacity: 1; filter: drop-shadow(0 0 6px var(--primary-neon)); }
}

.scanner-frame {
    position: relative;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 32px;
}

/* Scanner Brackets (Corners) */
.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--primary-neon);
    border-style: solid;
    border-width: 0;
}

.top-left { top: -2px; left: -2px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 8px; }
.top-right { top: -2px; right: -2px; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 8px; }
.bottom-left { bottom: -2px; left: -2px; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 8px; }
.bottom-right { bottom: -2px; right: -2px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 8px; }

/* Laser Line Sweep */
.laser-line {
    position: absolute;
    left: 2%;
    width: 96%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-neon), transparent);
    box-shadow: 0 0 12px 2px var(--primary-neon);
    animation: laserScan 2.2s infinite ease-in-out;
}

@keyframes laserScan {
    0% { top: 5%; }
    50% { top: 92%; }
    100% { top: 5%; }
}

.scanner-logo-img {
    width: 130px;
    height: auto;
    opacity: 0.25;
    animation: logoPulse 2.5s infinite ease-in-out;
}

@keyframes logoPulse {
    0% { opacity: 0.25; transform: scale(0.98); filter: drop-shadow(0 0 0px transparent); }
    50% { opacity: 0.75; transform: scale(1.03); filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.45)); }
    100% { opacity: 0.25; transform: scale(0.98); filter: drop-shadow(0 0 0px transparent); }
}

.org-logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

/* Loading Status Console */
.status-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mono-text {
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.status-box h2 {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 16px;
    font-weight: 500;
}

.progress-bar {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
    box-shadow: 0 0 8px var(--primary-glow);
    border-radius: 100px;
    transition: width 0.3s ease;
}

.console-logs {
    width: 100%;
    max-width: 300px;
    min-height: 50px;
    text-align: left;
    font-size: 11px;
    line-height: 1.8;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 8px;
    opacity: 0.8;
}

.log-line {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 1.5px solid transparent;
}

.log-line::before {
    content: "> ";
    color: var(--secondary-neon);
}

/* ==========================================================================
   3. RESULT CARD SCREEN STYLING (GLASSMORPHISM)
   ========================================================================== */
.card-glow-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
}

.card-glow-wrapper::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--card-border), var(--primary-neon), var(--card-border), var(--secondary-neon));
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0.6;
    animation: borderGradientFlow 8s infinite ease alternate;
    pointer-events: none;
}

@keyframes borderGradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.verification-card {
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 15px 35px -5px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 255, 170, 0.03),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Hex Matrix Background Pattern */
.verification-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.015;
    background-image: radial-gradient(circle, var(--text-main) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* Ribbon Badge Verification Header Seal */
.verification-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 
        0 4px 20px rgba(212, 175, 55, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-neon);
    color: #030712;
    box-shadow: 0 0 15px var(--primary-glow);
}

.icon-check {
    width: 20px;
    height: 20px;
    stroke-width: 3.5;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: drawCheck 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.4s;
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.badge-text h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-neon);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.badge-text p {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 1px;
}

/* Card Branding Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 18px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.org-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.org-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-main);
}

/* Live Activity Status Dot */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 100px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-neon);
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid var(--primary-neon);
    animation: dotPulse 1.8s infinite ease-out;
}

@keyframes dotPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

.status-label {
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--primary-neon);
    font-weight: 500;
}

/* Metadata Structures */
.card-body {
    position: relative;
    z-index: 1;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

/* Target name-group explicitly to generate prominent layout focus */
.name-group {
    margin-bottom: 24px;
}

.name-group .info-value {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--text-label);
    letter-spacing: 1.5px;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
}

.text-medium {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}

.text-mono {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--secondary-neon);
}

/* Dynamic State Variable Captures */
.status-highlight {
    font-weight: 600;
    color: var(--secondary-neon);
    text-shadow: 0 0 8px var(--secondary-glow);
}

.status-active {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-neon);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Cryptographic Footer Details */
.card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.crypto-details {
    margin-bottom: 20px;
}

.hash-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 10px 14px;
    border-radius: 8px;
}

.hash-label {
    font-size: 9px;
    font-family: var(--font-mono);
    color: var(--text-label);
    letter-spacing: 1px;
}

.hash-value {
    font-size: 11px;
    color: var(--text-muted);
    word-break: break-all;
    user-select: all;
    cursor: copy;
}

.hash-value:hover {
    color: var(--text-main);
}

/* Control Interfaces / Buttons */
.footer-actions {
    display: flex;
    gap: 12px;
}

.btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.btn-icon {
    width: 15px;
    height: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    color: #030712;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-secondary:active { transform: translateY(0); }

/* Status Notification Subtitles */
.success-message {
    text-align: center;
    margin-top: 16px;
    animation: fadeIn 0.8s ease forwards;
}

.success-message p {
    font-size: 12px;
    color: var(--text-muted);
}

.success-message strong {
    color: var(--primary-neon);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   4. FAILURE CARD STYLING (RED DANGER THEME)
   ========================================================================== */
.failed-glow::after {
    background: linear-gradient(135deg, var(--card-border), var(--danger-neon), var(--card-border)) !important;
    opacity: 0.55;
    animation: borderGradientFlow 6s infinite ease alternate;
}

.failed-card {
    border-color: rgba(255, 0, 85, 0.15) !important;
}

.failed-badge {
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.1) 0%, rgba(255, 0, 85, 0.03) 100%) !important;
    border-color: rgba(255, 0, 85, 0.2) !important;
    box-shadow: 0 4px 20px rgba(255, 0, 85, 0.08) !important;
}

.failed-icon {
    background: var(--danger-neon) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.3) !important;
}

.icon-cross {
    width: 18px;
    height: 18px;
    stroke-width: 3.5;
}

.text-failed {
    color: var(--danger-neon) !important;
    text-shadow: 0 0 8px rgba(255, 0, 85, 0.2) !important;
}

.failed-indicator {
    border-color: rgba(255, 0, 85, 0.1) !important;
}

.failed-dot {
    background-color: var(--danger-neon) !important;
}

.failed-dot::after {
    border-color: var(--danger-neon) !important;
}

.failed-label {
    color: var(--danger-neon) !important;
}

.failed-alert-message {
    background: rgba(255, 0, 85, 0.04);
    border: 1px solid rgba(255, 0, 85, 0.12);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.failed-alert-message h4 {
    color: var(--danger-neon);
    font-size: 12px;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.failed-alert-message p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-neon), #c4003f);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.15);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.25);
}

/* ==========================================================================
   5. RESPONSIVE DESIGN RULES
   ========================================================================== */
@media (max-width: 440px) {
    .container {
        padding: 16px;
    }
    
    .verification-card {
        padding: 20px;
        border-radius: 20px;
    }
    
    .card-glow-wrapper::after {
        border-radius: 20px;
    }
    
    .name-group .info-value {
        font-size: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .footer-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* ==========================================================================
   6. PRINT MEDIA STYLES (CLEAN ENTITY PDF SERIALIZATION)
   ========================================================================== */
@media print {
    body {
        background: #ffffff !important;
        color: #111827 !important;
        font-size: 12pt !important;
        display: block !important;
    }
    
    /* Suppress dynamic background canvas, banners, triggers and watermarks completely */
    #bg-canvas, 
    #bg-watermark,
    .bg-logo-watermark,
    .glow-orb, 
    .footer-actions, 
    .success-message, 
    .status-indicator,
    .security-banner,
    #search-screen {
        display: none !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        min-height: auto !important;
    }
    
    .card-glow-wrapper {
        margin: 0 !important;
    }
    
    .card-glow-wrapper::after {
        display: none !important;
    }
    
    .verification-card {
        background: #ffffff !important;
        color: #111827 !important;
        border: 2px solid #e5e7eb !important;
        box-shadow: none !important;
        padding: 24px !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 12px !important;
    }
    
    .verification-card::before {
        display: none !important;
    }
    
    .verification-badge {
        background: #f9fafb !important;
        border: 1px solid #e5e7eb !important;
        box-shadow: none !important;
        color: #111827 !important;
    }
    
    .badge-icon {
        background: #111827 !important;
        color: #ffffff !important;
        box-shadow: none !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .badge-text h3 {
        color: #111827 !important;
        text-shadow: none !important;
    }
    
    .org-brand {
        color: #111827 !important;
    }
    
    .org-name {
        color: #111827 !important;
    }
    
    .name-group .info-value {
        color: #000000 !important;
        text-shadow: none !important;
        font-size: 20pt !important;
    }
    
    label {
        color: #6b7280 !important;
    }
    
    .info-value {
        color: #111827 !important;
    }
    
    .text-mono {
        color: #111827 !important;
    }
    
    .status-highlight {
        color: #111827 !important;
        text-shadow: none !important;
    }

    .status-active {
        color: #10b981 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .card-footer {
        border-top: 1px solid #e5e7eb !important;
    }
    
    .hash-row {
        background: #f9fafb !important;
        border: 1px solid #e5e7eb !important;
    }
    
    .hash-value {
        color: #4b5563 !important;
    }
    
    /* Failure Card specific print overrides */
    .failed-card {
        border: 2px solid #ef4444 !important;
    }
    .failed-badge {
        background: #fef2f2 !important;
        border: 1px solid #fee2e2 !important;
        box-shadow: none !important;
        color: #991b1b !important;
    }
    .text-failed {
        color: #991b1b !important;
        text-shadow: none !important;
    }
    .failed-icon {
        background: #ef4444 !important;
        color: #ffffff !important;
        box-shadow: none !important;
    }
    .failed-label {
        color: #991b1b !important;
    }
    .failed-dot {
        background-color: #ef4444 !important;
    }
}