/* KWF Pair Learning — Popup vérification de liaison au login */

.kwf-pl-lc-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
}

.kwf-pl-lc-card {
    width: min(480px, 96vw);
    border-radius: 20px;
    background: #ffffff;
    padding: 28px 24px 24px;
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.28);
    text-align: center;
}

.kwf-pl-lc-icon {
    --kwf-pl-symbol-size: 40px;
    --kwf-pl-symbol-background: #e6f7f5;
    color: #0f766e;
    margin-bottom: 10px;
    line-height: 1;
}

.kwf-pl-lc-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.kwf-pl-lc-text {
    margin: 0 0 10px;
    font-size: 14px;
    color: #374151;
    line-height: 1.55;
}

/* Liste des liaisons */

.kwf-pl-lc-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.kwf-pl-lc-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    background: #f1f5f9;
    padding: 10px 14px;
    text-align: left;
}

.kwf-pl-lc-link-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    flex: 1;
}

.kwf-pl-lc-link-group {
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
}

/* Zone d'erreur */

.kwf-pl-lc-error {
    min-height: 16px;
    margin-bottom: 8px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
}

/* Boutons */

.kwf-pl-lc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 14px;
}

.kwf-pl-lc-btn-cancel,
.kwf-pl-lc-btn-confirm {
    border: 0;
    border-radius: 999px;
    min-width: 150px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.kwf-pl-lc-btn-cancel {
    background: #e5e7eb;
    color: #374151;
}

.kwf-pl-lc-btn-cancel:hover {
    background: #d1d5db;
}

.kwf-pl-lc-btn-confirm {
    background: #14b8b1;
    color: #ffffff;
}

.kwf-pl-lc-btn-confirm:hover {
    background: #0d9489;
}

.kwf-pl-lc-btn-confirm:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 400px) {
    .kwf-pl-lc-actions {
        flex-direction: column;
    }
    .kwf-pl-lc-btn-cancel,
    .kwf-pl-lc-btn-confirm {
        width: 100%;
    }
}
