/* ─── Contenedor principal ─────────────────────────────────── */
.sbm-evidence-wrap {
    max-width: 680px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: sans-serif;
}

/* ─── Tarjeta de evidencia ─────────────────────────────────── */
.sbm-evidence-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 36px 40px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
}

/* ─── Imagen de la insignia ────────────────────────────────── */
.sbm-badge-image { margin-bottom: 20px; }
.sbm-badge-image img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 50%;
    border: 4px solid #f0f0f0;
}

/* ─── Título y descripción ─────────────────────────────────── */
.sbm-badge-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1a1a1a;
}
.sbm-badge-description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ─── Detalles ─────────────────────────────────────────────── */
.sbm-evidence-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    text-align: left;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 28px;
}
.sbm-detail-row { display: flex; flex-direction: column; }
.sbm-detail-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #888; letter-spacing: .05em; }
.sbm-detail-value { font-size: 15px; color: #222; margin-top: 2px; }

/* ─── Verificación ─────────────────────────────────────────── */
.sbm-verify-section { margin-bottom: 28px; }
.sbm-btn-verify {
    display: inline-block;
    padding: 10px 24px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.sbm-btn-verify:hover { background: #005f8d; }
.sbm-btn-verify:disabled { background: #aaa; cursor: not-allowed; }

.sbm-verify-result {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}
.sbm-verify-result.sbm-active  { background: #d4edda; color: #155724; }
.sbm-verify-result.sbm-revoked { background: #f8d7da; color: #721c24; }
.sbm-verify-result.sbm-expired { background: #fff3cd; color: #856404; }
.sbm-verify-result.sbm-error   { background: #f8d7da; color: #721c24; }

/* ─── Botones de compartir ─────────────────────────────────── */
.sbm-share-buttons { margin-top: 8px; }
.sbm-share-title { font-size: 13px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.sbm-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    transition: opacity .2s;
}
.sbm-share-btn:hover { opacity: .88; color: #fff; }
.sbm-share-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.sbm-share-twitter  { background: #000; }
.sbm-share-facebook { background: #1877f2; }

/* ─── Tarjeta revocada ─────────────────────────────────────── */
.sbm-revoked-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 36px 40px;
    text-align: center;
}
.sbm-revoked-msg { color: #721c24; font-size: 16px; }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 480px) {
    .sbm-evidence-card { padding: 24px 20px; }
    .sbm-evidence-details { grid-template-columns: 1fr; }
    .sbm-share-btn { display: flex; margin: 6px 0; }
}


/* ─── LinkedIn button ──────────────────────────────────────── */
.sbm-share-linkedin {
    background: #0a66c2;
    border: none;
    cursor: pointer;
    margin-top: 1em;
}

/* ─── Modal LinkedIn ───────────────────────────────────────── */
.sbm-li-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sbm-li-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}
.sbm-li-box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 8px;
    padding: 32px 28px;
    width: 360px;
    max-width: 92vw;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,.22);
}
.sbm-li-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #555;
}
.sbm-li-close:hover { color: #000; }
.sbm-li-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1a1a1a;
}
.sbm-li-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}
.sbm-li-option-label {
    font-size: 13px;
    color: #444;
    margin: 14px 0 8px;
}
.sbm-li-btn {
    display: block;
    width: 100%;
    padding: 11px 0;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: opacity .2s;
}
.sbm-li-btn:hover { opacity: .88; }
.sbm-li-btn-primary {
    background: #0a66c2;
    color: #fff;
}