/* Verification Badge Styles */

.verification-badge {
    font-size: 0.75rem;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border-radius: 50%;
    width: 1.7rem;
    height: 1.7rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: absolute;
    /* Sit فوق محيط صورة البروفايل (avatar-wrap now overflow:visible; avatar is clipped by avatar-clip) */
    top: -4px;
    right: -4px;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.9);
    pointer-events: none;
    /* Ensure no text is visible */
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
    /* Ensure badge stands out as verification, not a flag */
    background-clip: padding-box;
}

.verification-badge:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.verification-badge i {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1;
    /* Reset text-indent for icon */
    text-indent: 0;
    display: block;
    color: white;
    font-weight: 700;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Badge color variants - Enhanced green design for verification */
.verification-badge.bg-success {
    background: #10b981 !important;
    /* Solid vibrant green - more green, cleaner look, clearly a verification badge */
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    /* Thin white border - minimal white, maximum green visibility */
    /* Add subtle inner glow for depth */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 0 0 0.5px rgba(16, 185, 129, 0.3) !important;
}

.verification-badge.bg-info {
    background: #06b6d4 !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.verification-badge.bg-info i {
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.verification-badge.bg-primary {
    background: #3b82f6 !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.verification-badge.bg-primary i {
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.verification-badge.bg-warning {
    background: #f59e0b !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.verification-badge.bg-warning i {
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Dark mode support */
[data-theme="dark"] .verification-badge {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 0 0 0.5px rgba(16, 185, 129, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="dark"] .verification-badge.bg-success {
    background: #10b981 !important;
    /* Keep vibrant green in dark mode for visibility */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 0 0 0.5px rgba(16, 185, 129, 0.4) !important;
}

[data-theme="dark"] .verification-badge:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6), 
                0 0 0 0.5px rgba(16, 185, 129, 0.5) !important;
}

/* Enhanced visibility for verification badge - ensure checkmark is clearly visible */
.verification-badge.bg-success i {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

