.verify-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.verify-header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.verify-logo-link,
.logo-link {
    display: inline-flex;
    align-items: center;
    font-size: 0; /* hide stray text/alt rendering */
    line-height: 0;
}

.verify-logo,
.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.verify-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.95rem;
}

.verify-nav a {
    text-decoration: none;
    color: #111827;
    font-weight: 500;
}

.verify-nav a:hover {
    text-decoration: underline;
}

.verify-auth-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.verify-id-login {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
}

.verify-id-login:hover {
    color: #111827;
    border-color: #9ca3af;
}

.verify-auth-badge,
.auth-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    background: #e8f5e8; /* default to authenticated green */
    color: #2d5930;
    border: 1px solid #a8d5aa;
}

.verify-auth-badge.not-authenticated,
.auth-status.unauthenticated {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.verify-auth-badge.admin,
.auth-status.admin {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.auth-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bv-id-display {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: monospace;
    font-size: 0.75rem;
    color: #666;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid #dee2e6;
}

.bv-id-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
}

.copy-icon {
    cursor: pointer;
    width: 14px;
    height: 14px;
    color: #6c757d;
    transition: color 0.2s;
    flex-shrink: 0;
}

.copy-icon:hover {
    color: #007bff;
}

.copy-icon.copied {
    color: #28a745;
}

/* Fallback layout in case Tailwind CDN is unavailable */
.bv-shared-header {
    width: 100%;
}

.bv-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bv-header-inner nav {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
}

.bv-header-inner nav a {
    text-decoration: none;
    color: inherit;
}

/* make sure it DOES NOT stack on normal screens */
@media (min-width: 640px) {
    .verify-header {
        flex-wrap: nowrap;
    }
}

/* it's OK to wrap on tiny screens */
@media (max-width: 639px) {
    .verify-header {
        flex-wrap: wrap;
        row-gap: 12px;
        padding: 14px 20px;
    }

    .verify-header-left {
        gap: 20px;
    }
}

.verify-header-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 0;
}
