/* ========================================
   BUSINESS VERIFICATION & TRUST BADGES
   ======================================== */

/* Verification Badges Container */
.verification-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Individual Verification Badge */
.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(16, 172, 132, 0.15);
    border: 1px solid rgba(16, 172, 132, 0.3);
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #10ac84;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.verification-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.verification-badge:hover::before {
    left: 100%;
}

.verification-badge:hover {
    background: rgba(16, 172, 132, 0.25);
    border-color: rgba(16, 172, 132, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 172, 132, 0.3);
}

.verification-badge i {
    font-size: 0.7rem;
    color: #10ac84;
}

/* Verification Badge Variants */
.verification-badge.trade-license {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
}

.verification-badge.trade-license i {
    color: var(--color-gold);
}

.verification-badge.trade-license:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.verification-badge.phone-verified,
.verification-badge.email-verified {
    background: rgba(46, 204, 113, 0.15);
    border-color: rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.verification-badge.phone-verified i,
.verification-badge.email-verified i {
    color: #2ecc71;
}

.verification-badge.phone-verified:hover,
.verification-badge.email-verified:hover {
    background: rgba(46, 204, 113, 0.25);
    border-color: rgba(46, 204, 113, 0.5);
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.verification-badge.address-verified {
    background: rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
    color: #3498db;
}

.verification-badge.address-verified i {
    color: #3498db;
}

.verification-badge.address-verified:hover {
    background: rgba(52, 152, 219, 0.25);
    border-color: rgba(52, 152, 219, 0.5);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.verification-badge.gov-certified {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(142, 68, 173, 0.15));
    border: 1px solid rgba(155, 89, 182, 0.4);
    color: #9b59b6;
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.2);
}

.verification-badge.gov-certified i {
    color: #9b59b6;
}

.verification-badge.gov-certified:hover {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.3), rgba(142, 68, 173, 0.3));
    border-color: rgba(155, 89, 182, 0.6);
    box-shadow: 0 2px 12px rgba(155, 89, 182, 0.4);
}

/* Premium "Verified Business" Badge */
.verified-business-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: linear-gradient(135deg, rgba(16, 172, 132, 0.2), rgba(46, 204, 113, 0.2));
    border: 1px solid rgba(16, 172, 132, 0.4);
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #10ac84;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 172, 132, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

.verified-business-badge i {
    font-size: 0.8rem;
    color: #10ac84;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(16, 172, 132, 0.2);
    }

    50% {
        box-shadow: 0 4px 16px rgba(16, 172, 132, 0.4);
    }
}

/* Verification Summary Section */
.verification-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.verification-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verification-count i {
    color: var(--color-gold);
    font-size: 0.7rem;
}

.verification-count .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 0.7rem;
}

/* Tooltip for badges */
.verification-badge[data-tooltip] {
    position: relative;
    cursor: help;
}

.verification-badge[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    font-size: 0.65rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.verification-badge[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .verification-badges-container {
        gap: 4px;
    }

    .verification-badge {
        font-size: 0.6rem;
        padding: 3px 6px;
    }

    .verification-badge i {
        font-size: 0.65rem;
    }

    .verified-business-badge {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
}

/* Compact View for smaller cards */
.compact-badges .verification-badge {
    font-size: 0.6rem;
    padding: 3px 6px;
    gap: 3px;
}

.compact-badges .verification-badge i {
    font-size: 0.65rem;
}


/* ========================================
   SINGLE UNIFIED BADGE DESIGN (BEST UI)
   ======================================== */

.unified-badge-container {
    display: flex;
    align-items: center;
}

.unified-verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50rem;
    /* Pill shape */
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: help;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.unified-verification-badge i {
    font-size: 0.9rem;
}

.unified-verification-badge:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Variants */

/* Basic Verified (Phone/Email/Address) - Emerald Green */
.unified-verification-badge.basic-verified {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15), rgba(46, 204, 113, 0.25));
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #2ecc71;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.15);
}

.unified-verification-badge.basic-verified:hover {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.25), rgba(46, 204, 113, 0.35));
    border-color: #2ecc71;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.25);
}

/* Licensed (Trade License) - Gold Premium */
.unified-verification-badge.license-verified-premium {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.25));
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #D4AF37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.unified-verification-badge.license-verified-premium:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.35));
    border-color: #f1c40f;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    color: #f1c40f;
}

/* Gov Certified - Royal Purple/Gold */
.unified-verification-badge.gov-verified-premium {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(155, 89, 182, 0.5);
    color: #bf7aff;
    /* Lighter purple */
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.2);
}

.unified-verification-badge.gov-verified-premium:hover {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.3), rgba(212, 175, 55, 0.2));
    border-color: #d2a1ff;
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.35);
    color: #d2a1ff;
}

/* Count Pill inside badge */
.badge-count-pill {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 0.65rem;
    margin-left: 4px;
    font-weight: 800;
}

/* Tooltip logic delegated to Bootstrap 5 */

/* ==================================================
   NEW SIDE-BY-SIDE DESIGN (BADGE + STRENGTH)
   ================================================== */
.trust-indicators-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* Sep line kept subtle */
}

/* Profile Strength - HOLOGRAPHIC DESIGN */
.profile-strength-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Standardized gap */
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    /* MATCH BADGE PADDING EXACTLY */
    border-radius: 50rem;
    border: none;
    /* No Line */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    min-height: 38px;
    /* Force Equal Height */
}

/* Glowing background effect */
.profile-strength-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--score-color);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.profile-strength-pill:hover::before {
    opacity: 0.2;
}

.profile-strength-pie {
    width: 20px;
    /* Reduced from 24px */
    height: 20px;
    border-radius: 50%;
    /* Conic Gradient for the chart */
    background: conic-gradient(var(--score-color) var(--score-pct), rgba(255, 255, 255, 0.05) 0);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--score-glow);
    /* Neon Glow */
    z-index: 1;
}

/* Inner cut-out to make it a ring */
.profile-strength-pie::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #050505;
    /* Darker center */
    border-radius: 50%;
    position: absolute;
}

/* The Score Text */
.strength-text {
    font-size: 0.8rem;
    /* Match Badge Font Size */
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
    /* Match Badge Spacing */
    text-shadow: 0 0 8px var(--score-glow);
    z-index: 1;
    position: relative;
}

/* ========================================
   SINGLE UNIFIED BADGE DESIGN (BEST UI)
   ======================================== */

.unified-badge-container {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.unified-verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50rem;
    /* Pill shape */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: help;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.unified-verification-badge i {
    font-size: 0.85rem;
}

.unified-verification-badge:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Variants */

/* Basic Verified (Phone/Email/Address) - Emerald Green */
.unified-verification-badge.basic-verified {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15), rgba(46, 204, 113, 0.25));
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #2ecc71;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.15);
}

.unified-verification-badge.basic-verified:hover {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.25), rgba(46, 204, 113, 0.35));
    border-color: #2ecc71;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.25);
}

/* Licensed (Trade License) - Gold Premium */
.unified-verification-badge.license-verified-premium {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.25));
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #D4AF37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.unified-verification-badge.license-verified-premium:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.35));
    border-color: #f1c40f;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    color: #f1c40f;
}

/* Gov Certified - Royal Purple/Gold */
.unified-verification-badge.gov-verified-premium {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(155, 89, 182, 0.5);
    color: #bf7aff;
    /* Lighter purple */
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.2);
}

.unified-verification-badge.gov-verified-premium:hover {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.3), rgba(212, 175, 55, 0.2));
    border-color: #d2a1ff;
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.35);
    color: #d2a1ff;
}

/* Count Pill inside badge */
.badge-count-pill {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 0.65rem;
    margin-left: 4px;
    font-weight: 800;
}

/* Tooltip Logic (Enhanced) */
.unified-verification-badge[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    width: max-content;
    max-width: 250px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-transform: none;
    /* Keep natural case for list */
    line-height: 1.4;
}

.unified-verification-badge[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 100%;
    /* Arrow position */
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 1000;
}

.unified-verification-badge:hover::before,
.unified-verification-badge:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}