.abcclaim-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-right: 8px;
    white-space: nowrap;
    vertical-align: middle;
}

/* Keep the claim/reclaim header action visually aligned with HumHub Space header
   buttons such as Join, Follow and Invite. Do not use btn-sm here. */
.profile-header .abcclaim-header-action,
.space-header .abcclaim-header-action,
.controls-header .abcclaim-header-action {
    min-height: 38px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 20px;
}

.abcclaim-header-icon,
.abcclaim-shield {
    display: inline-flex;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.abcclaim-header-icon svg,
.abcclaim-shield {
    width: 18px;
    height: 18px;
}

.abcclaim-header-icon svg path:first-child,
.abcclaim-shield path:first-child {
    fill: currentColor;
}

.abcclaim-header-mark,
.abcclaim-shield-mark {
    fill: #fff;
}

.abcclaim-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    background: rgba(0, 0, 0, .06);
}

.abcclaim-badge-verified {
    color: #18864b;
}

.abcclaim-badge-claim_pending,
.abcclaim-badge-reclaim_pending {
    color: #a66b00;
}

.abcclaim-badge-verification_expired,
.abcclaim-badge-verification_revoked {
    color: #666;
}

.abcclaim-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.abcclaim-stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.abcclaim-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.abcclaim-stat-label {
    color: #6b7280;
    font-size: 13px;
}

.abcclaim-privacy-note {
    padding: 12px;
    border-left: 4px solid #21a9c9;
    background: #f3fbfd;
    margin-bottom: 15px;
}

.abcclaim-header-action-server {
    vertical-align: middle;
}

.controls-header > .abcclaim-header-action {
    margin-left: 0;
    margin-right: 8px;
}

.abcclaim-header-action.disabled {
    pointer-events: auto;
    cursor: default;
}

.abcclaim-header-action-js {
    margin-left: 8px;
    margin-right: 0;
}

.abcclaim-header-fallback {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 5;
}

.profile-header,
.space-header {
    position: relative;
}

@media (max-width: 767px) {
    .abcclaim-header-label {
        display: inline;
    }

    .abcclaim-header-fallback {
        position: static;
        margin-top: 10px;
        text-align: right;
    }
}


.abcclaim-verified-space-button,
.abcclaim-header-action.btn-success {
    background: linear-gradient(180deg, #38d878 0%, #1fad5c 52%, #138847 100%);
    border-color: #128144;
    color: #fff;
    box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 2px 6px rgba(19,136,71,.28);
}

.abcclaim-verified-space-button:hover,
.abcclaim-header-action.btn-success:hover,
.abcclaim-verified-space-button:focus,
.abcclaim-header-action.btn-success:focus {
    color: #fff;
    background: linear-gradient(180deg, #42e384 0%, #20b864 52%, #158f4c 100%);
    border-color: #117b40;
}

.abcclaim-header-icon-verified .abcclaim-header-mark {
    fill: #fff;
}

.abcclaim-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 6px;
    vertical-align: middle;
    border-radius: 999px;
    line-height: 1;
}

.abcclaim-status-icon .abcclaim-header-icon,
.abcclaim-status-icon .abcclaim-header-icon svg {
    width: 18px;
    height: 18px;
}

.abcclaim-status-icon-verified {
    color: #159447;
    background: radial-gradient(circle at 35% 25%, #ecfff3 0%, #bcf3ce 42%, #34c96f 100%);
    box-shadow: 0 1px 4px rgba(21, 148, 71, .35);
}

.abcclaim-status-icon-in_process,
.abcclaim-status-icon-reclaim {
    color: #8a5a20;
    background: radial-gradient(circle at 35% 25%, #fff8e8 0%, #f2d7a6 45%, #b4874f 100%);
    box-shadow: 0 1px 4px rgba(138, 90, 32, .3);
}

.abcclaim-status-icon-rejected {
    color: #b42318;
    background: radial-gradient(circle at 35% 25%, #fff0ed 0%, #f9b7ad 45%, #d92d20 100%);
    box-shadow: 0 1px 4px rgba(180, 35, 24, .3);
}

.abcclaim-status-icon-unclaimed {
    color: #6b7280;
    background: #eef0f2;
}

.abcclaim-card-verified-icon {
    display: inline-flex;
    margin-left: 6px;
    vertical-align: middle;
}

.abcclaim-admin-space-status {
    display: inline-flex;
    margin-right: 8px;
    vertical-align: middle;
}

.abcclaim-admin-space-status-filter-wrap {
    margin-top: 10px;
}

@media (min-width: 992px) {
    .abcclaim-admin-space-status-filter-wrap {
        margin-top: 0;
    }
}
