/**
 * YITH Request a Quote Cart Counter - Styles
 */

/* Ensure cart icon is positioned */
#cart-icon,.cart-trigger-icon {
    position: relative;
}

/* Counter container */
.yrcc-inquiry-count {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 1000;
    pointer-events: none; /* Don't interfere with cart icon clicks */
}

/* Counter badge */
.yrcc-count-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    background-color: #e74c3c;
    padding: 3px 5px;
    min-width: 18px;
    height: 18px;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    line-height: 1;
    text-align: center;
}

/* Bounce animation for updates */
@keyframes yrccBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.yrcc-count-badge.yrcc-bounce {
    animation: yrccBounce 0.3s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .yrcc-inquiry-count {
        top: -6px;
        right: -6px;
    }
    
    .yrcc-count-badge {
        padding: 2px 4px;
        min-width: 16px;
        height: 16px;
        font-size: 10px;
    }
}

/* Alternative styles - Uncomment to use */

/* Square badge */
/*
.yrcc-count-badge {
    border-radius: 3px;
}
*/

/* Different color schemes */
/*
.yrcc-count-badge {
    background-color: #3498db; /* Blue 
    background-color: #2ecc71; /* Green 
    background-color: #f39c12; /* Orange 
    background-color: #9b59b6; /* Purple 
}
*/

/* Larger badge */
/*
.yrcc-count-badge {
    min-width: 20px;
    height: 20px;
    font-size: 12px;
    padding: 4px 6px;
}
*/

/* Position variations */
/*
.yrcc-inquiry-count {
    top: -10px;
    right: -10px;
}

.yrcc-inquiry-count {
    top: 0;
    right: 0;
}

.yrcc-inquiry-count {
    bottom: -5px;
    right: -5px;
    top: auto;
}
*/

/* Pulsing effect for new items */
/*
@keyframes yrccPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.yrcc-count-badge.yrcc-bounce {
    animation: yrccBounce 0.3s ease-out, yrccPulse 1s ease-out;
}
*/

/* Dark theme support */
/*
@media (prefers-color-scheme: dark) {
    .yrcc-count-badge {
        background-color: #c0392b;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    }
}
*/

/* High contrast mode */
/*
@media (prefers-contrast: high) {
    .yrcc-count-badge {
        border: 2px solid #ffffff;
    }
}
*/