/* Swift Identity - theme-aware UI */

#verifications-table td {
    vertical-align: middle;
}

.si-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--app-link-color, #1e3a8a);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-right: 10px;
    flex: 0 0 auto;
}

.si-avatar-lg {
    width: 50px;
    height: 50px;
    font-size: 11px;
    margin-right: 0;
}

@supports (color: color-mix(in srgb, red 10%, transparent)) {
    .si-avatar {
        background: color-mix(in srgb, var(--app-link-color, #1e3a8a) 16%, transparent);
        color: var(--app-link-color, #1e3a8a);
        border: 1px solid color-mix(in srgb, var(--app-link-color, #1e3a8a) 34%, transparent);
    }
}

.si-avatar-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    flex: 0 0 auto;
}

.si-detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.si-detail-header-text {
    flex: 1 1 180px;
    min-width: 0;
}

.si-detail-status {
    margin-left: auto;
    text-align: right;
}

.si-detail-meta {
    font-size: 12px;
    color: var(--app-muted-color, #6b7280);
}

.si-detail-entity {
    font-size: 13px;
    font-weight: 500;
    color: var(--app-link-color, #29689e);
}

.si-detail-card {
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.si-detail-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--app-muted-color, #6b7280);
    margin-bottom: 4px;
}

.si-detail-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--app-text-color, #111827);
    word-break: break-word;
}

.si-detail-value-lg {
    font-size: 16px;
    color: var(--app-link-color, #29689e);
}

.si-detail-photo {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.si-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--app-heading-color, #111827);
}

.si-raw-response {
    max-height: 220px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    padding: 12px;
    margin: 0;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 8px;
    background: rgba(128, 128, 128, 0.08);
    color: var(--app-text-color, #394b5d);
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
}

.si-stakeholder-details > td {
    background: rgba(128, 128, 128, 0.06);
}

#verification-form .select2-container {
    width: 100% !important;
}
