/* ========================================
   VENTUS BADGE - "Made by Ventus" Signature
   Style-isolated component for client websites
   
   Universal dark pill design — works on any
   background color without theme switching.
   
   Uses high-specificity selectors + resets to
   prevent host site CSS from overriding styles.
   ======================================== */

/* Reset inherited styles and apply badge design */
a.ventus-badge[href] {
    all: initial;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    background: rgba(10, 10, 10, 0.9);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1;
}

a.ventus-badge[href]:hover {
    background: rgba(10, 10, 10, 0.95);
    color: #fff;
    border-color: rgba(0, 243, 255, 0.3);
    text-decoration: none;
}

a.ventus-badge[href]:visited,
a.ventus-badge[href]:active,
a.ventus-badge[href]:focus {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    outline: none;
}

/* Icon-only variant (just logo, no text) */
a.ventus-badge[href].icon-only {
    padding: 6px;
    border-radius: 50%;
}

a.ventus-badge[href].icon-only img.ventus-badge-icon {
    height: 16px;
}

/* Medium size */
a.ventus-badge[href].medium {
    padding: 8px 16px;
    font-size: 12px;
    gap: 8px;
}

/* Small size */
a.ventus-badge[href].small {
    padding: 4px 10px;
    font-size: 10px;
    gap: 4px;
}

a.ventus-badge[href].small .ventus-badge-text {
    display: none;
}

/* Logo/Icon — high specificity to beat Tailwind/normalize resets */
a.ventus-badge[href] img.ventus-badge-icon {
    all: initial;
    width: auto;
    height: 14px;
    object-fit: contain;
    display: inline-block;
    border: none;
    margin: 0;
    padding: 0;
    max-width: none;
}

a.ventus-badge[href].small img.ventus-badge-icon {
    height: 10px;
}

a.ventus-badge[href].medium img.ventus-badge-icon {
    height: 18px;
}

/* Text — prevent host resets */
a.ventus-badge[href] .ventus-badge-text {
    all: initial;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    display: inline;
}

/* Responsive: icon-only on mobile */
@media (max-width: 640px) {
    a.ventus-badge[href] .ventus-badge-text {
        display: none;
    }

    a.ventus-badge[href] {
        /* Compact pill on mobile (text hidden), NOT a circle. The Ventus logo
           is landscape, so border-radius:50% on the wide box rendered as a
           squished ellipse. Keep the pill radius for a consistent shape. */
        padding: 6px 10px;
        border-radius: 20px;
    }
}