/* BH Lobbyregister Transparenz-Check v1.0 */

.bh-lr-wrap {
    --bh-blue: #2664EC;
    --bh-blue-light: #e8eefb;
    --bh-blue-dark: #1a4abf;
    --bh-text: #1a1a2e;
    --bh-text-sec: #5a5a72;
    --bh-text-hint: #8e8ea0;
    --bh-bg: #ffffff;
    --bh-bg-sec: #f6f7f9;
    --bh-border: rgba(0,0,0,0.1);
    --bh-border-hover: rgba(0,0,0,0.2);
    --bh-radius: 10px;
    --bh-radius-sm: 6px;
    --bh-shadow: 0 1px 3px rgba(0,0,0,0.06);
    --bh-teal: #0F6E56;
    --bh-teal-light: #e1f5ee;
    --bh-amber: #854F0B;
    --bh-amber-light: #faeeda;
    --bh-red: #A32D2D;
    --bh-red-light: #fcebeb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--bh-text);
    line-height: 1.65;
    max-width: 780px;
    margin: 0 auto;
}

/* Search */
.bh-lr-search-wrap {
    position: relative;
    margin-bottom: 1.5rem;
}
.bh-lr-search-wrap input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border: 1px solid var(--bh-border);
    border-radius: var(--bh-radius);
    font-size: 16px;
    background: var(--bh-bg);
    color: var(--bh-text);
    outline: none;
    transition: border-color .25s, box-shadow .25s;
    box-shadow: var(--bh-shadow);
}
.bh-lr-search-wrap input:focus {
    border-color: var(--bh-blue);
    box-shadow: 0 0 0 3px rgba(38,100,236,0.12);
}
.bh-lr-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--bh-text-hint);
    pointer-events: none;
}

/* Suggestions dropdown */
.bh-lr-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bh-bg);
    border: 1px solid var(--bh-border);
    border-radius: var(--bh-radius-sm);
    z-index: 50;
    display: none;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.bh-lr-suggestions.show { display: block; }
.bh-lr-sug-item {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .15s;
    border-bottom: 1px solid var(--bh-border);
}
.bh-lr-sug-item:last-child { border-bottom: none; }
.bh-lr-sug-item:hover { background: var(--bh-bg-sec); }
.bh-lr-sug-item .bh-lr-reg { font-size: 12px; color: var(--bh-text-hint); font-family: monospace; }

/* Loading */
.bh-lr-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px;
    justify-content: center;
    color: var(--bh-text-sec);
    font-size: 14px;
}
.bh-lr-spinner {
    width: 20px; height: 20px;
    border: 2px solid var(--bh-border);
    border-top-color: var(--bh-blue);
    border-radius: 50%;
    animation: bh-lr-spin .7s linear infinite;
}
@keyframes bh-lr-spin { to { transform: rotate(360deg); } }

/* Dossier */
.bh-lr-dossier { animation: bh-lr-fadeIn .4s ease; }
@keyframes bh-lr-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.bh-lr-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--bh-border);
}
.bh-lr-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    flex-shrink: 0;
}
.bh-lr-org-name { font-size: 22px; font-weight: 600; line-height: 1.3; }
.bh-lr-org-meta { font-size: 13px; color: var(--bh-text-sec); margin-top: 2px; }
.bh-lr-org-meta a { color: var(--bh-blue); text-decoration: none; }
.bh-lr-org-meta a:hover { text-decoration: underline; }

/* Metric cards */
.bh-lr-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 1.75rem;
}
.bh-lr-metric {
    background: var(--bh-bg-sec);
    border-radius: var(--bh-radius-sm);
    padding: 16px;
    border: 1px solid transparent;
    transition: border-color .2s;
}
.bh-lr-metric:hover { border-color: var(--bh-border-hover); }
.bh-lr-metric-label {
    font-size: 11px;
    color: var(--bh-text-hint);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 6px;
    font-weight: 500;
}
.bh-lr-metric-value { font-size: 22px; font-weight: 600; line-height: 1.2; }
.bh-lr-metric-sub { font-size: 12px; color: var(--bh-text-hint); margin-top: 4px; }

/* Sections */
.bh-lr-section { margin-bottom: 1.75rem; }
.bh-lr-section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--bh-text-hint);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 10px;
}

/* Description */
.bh-lr-desc {
    font-size: 14px;
    color: var(--bh-text-sec);
    line-height: 1.7;
    padding: 16px 20px;
    background: var(--bh-bg-sec);
    border-radius: var(--bh-radius-sm);
    border-left: 3px solid var(--bh-blue);
}

/* Tags */
.bh-lr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bh-lr-tag {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--bh-border);
    color: var(--bh-text-sec);
    background: var(--bh-bg);
    transition: all .2s;
    white-space: nowrap;
}
.bh-lr-tag.highlight {
    background: var(--bh-blue-light);
    color: var(--bh-blue-dark);
    border-color: rgba(38,100,236,0.2);
    font-weight: 500;
}

/* Persons */
.bh-lr-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bh-border);
}
.bh-lr-person:last-child { border-bottom: none; }
.bh-lr-person-dot {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
.bh-lr-person-name { font-size: 14px; font-weight: 500; }
.bh-lr-person-role { font-size: 12px; color: var(--bh-text-sec); }
.bh-lr-badge-revolving {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--bh-amber-light);
    color: var(--bh-amber);
    margin-left: auto;
    flex-shrink: 0;
    font-weight: 500;
}

/* Regelungsvorhaben */
.bh-lr-rv {
    background: var(--bh-bg-sec);
    border-radius: var(--bh-radius-sm);
    padding: 14px 18px;
    margin-bottom: 8px;
    border-left: 3px solid var(--bh-teal);
}
.bh-lr-rv-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.bh-lr-rv-detail { font-size: 13px; color: var(--bh-text-sec); }

/* Stellungnahmen */
.bh-lr-sn {
    background: var(--bh-bg-sec);
    border-radius: var(--bh-radius-sm);
    padding: 14px 18px;
    margin-bottom: 8px;
}
.bh-lr-sn-title { font-size: 14px; font-weight: 500; }

/* Source */
.bh-lr-source {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bh-border);
    color: var(--bh-text-hint);
    font-size: 12px;
}
.bh-lr-source a { color: var(--bh-text-hint); text-decoration: underline; }

/* CTA */
.bh-lr-cta {
    margin-top: 2rem;
    padding: 28px 24px;
    border-radius: var(--bh-radius);
    background: linear-gradient(135deg, var(--bh-blue-light), #f0f4ff);
    border: 1px solid rgba(38,100,236,0.15);
    text-align: center;
}
.bh-lr-cta p {
    font-size: 15px;
    color: var(--bh-text-sec);
    margin: 0 0 16px 0;
}
.bh-lr-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--bh-radius-sm);
    cursor: pointer;
    transition: all .2s;
    background: var(--bh-blue);
    color: #fff;
    text-decoration: none;
    border: none;
}
.bh-lr-cta-btn:hover {
    background: var(--bh-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(38,100,236,0.3);
    color: #fff;
}

/* Link to register */
.bh-lr-register-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--bh-blue);
    text-decoration: none;
    margin-top: 1rem;
    padding: 8px 16px;
    border: 1px solid rgba(38,100,236,0.2);
    border-radius: var(--bh-radius-sm);
    transition: background .2s;
}
.bh-lr-register-link:hover { background: var(--bh-blue-light); }

/* Error */
.bh-lr-error {
    padding: 16px 20px;
    background: var(--bh-red-light);
    color: var(--bh-red);
    border-radius: var(--bh-radius-sm);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 540px) {
    .bh-lr-metrics { grid-template-columns: 1fr 1fr; }
    .bh-lr-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .bh-lr-org-name { font-size: 18px; }
    .bh-lr-metric-value { font-size: 18px; }
    .bh-lr-cta { padding: 20px 16px; }
}
