/* =======================================================================
   LUVEEDU VERIFIED BADGE - verified.css (v1)
   Blue-gradient verified check with a shine sweep.

   USAGE
   -----
   <link rel="stylesheet" href="https://files.luveedu.com/ui-library/css/v1/verified.css">
   <span class="luv-verified" title="Verified" aria-label="Verified">
     <span class="luv-verified-core">
       <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5"
            stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>
     </span>
   </span>

   Size modifiers: .luv-verified-sm (12px) | default (16px) | .luv-verified-lg (22px)
   ======================================================================= */

.luv-verified {
    position: relative;
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    vertical-align: middle;
    flex-shrink: 0;
    line-height: 0;
}

.luv-verified-sm { width: 12px; height: 12px; }
.luv-verified-lg { width: 22px; height: 22px; }

/* Slightly smaller badge in the sidebar footer user card */
.lv-sidebar-user-name .luv-verified { width: 13px; height: 13px; }

/* Gradient core with the check mark */
.luv-verified-core {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.30), 0 2px 6px rgba(37, 99, 235, 0.40);
}

.luv-verified-core svg {
    width: 62%;
    height: 62%;
    display: block;
    position: relative;
    z-index: 2;
}

/* Shine sweep across the core */
.luv-verified-core::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.9) 50%, transparent 70%);
    transform: translateX(-130%);
    animation: luv-verified-shine 2.6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes luv-verified-shine {
    0%, 55%   { transform: translateX(-130%); }
    80%, 100% { transform: translateX(130%); }
}

/* Inline placement helper: name + badge on one line */
.luv-name-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
