﻿/* ── Info banner ───────────────────────────────── */
.inlx-banner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.4;
}

.inlx-banner--warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.inlx-banner-icon {
    font-weight: 700;
    line-height: 1.2;
}

/* ── Status name ───────────────────────────────── */
.inlx-status-name {
    padding: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: 0.01em;
}

/* ── Profile resolution banner ─────────────────── */
.inlx-status {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    animation: inlx-fade-in 0.18s ease-out;
}

.inlx-status--found {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.inlx-status--missing {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.inlx-status-icon {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
}

/* ── Gated detail section ──────────────────────── */
.inlx-detail-section {
    position: relative;
    transition: opacity 0.2s ease;
}

.inlx-detail-section--locked {
    opacity: 0.72;
}

    .inlx-detail-section--locked .inlx-fieldset {
        filter: grayscale(0.3);
    }

/* ── Fieldset ──────────────────────────────────── */
.inlx-fieldset {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px 18px;
    margin: 0;
    background: #ffffff;
}

    .inlx-fieldset:disabled {
        background: #f9fafb;
        border-color: #eef0f3;
        cursor: not-allowed;
        pointer-events: none;
    }

        .inlx-fieldset:disabled * {
            cursor: not-allowed;
        }

.inlx-legend {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    padding: 0 6px;
}

/* ── Lock hint ─────────────────────────────────── */
.inlx-lock-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 12px;
    color: #6b7280;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
}

/* ── Actions ───────────────────────────────────── */
.inlx-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

/* ── Animation ─────────────────────────────────── */
@keyframes inlx-fade-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
