/**
 * Frontend Google Store Trust Widget CSS
 */

#mtb-google-trust-widget {
    position: fixed !important;
    right: var(--mtb-right, 24px) !important;
    bottom: var(--mtb-bottom, 24px) !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    box-sizing: border-box !important;
    text-transform: none !important;
}

#mtb-google-trust-widget * {
    box-sizing: border-box !important;
    text-transform: none !important;
}

#mtb-google-trust-widget .mtb-pill-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 9999px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    cursor: pointer !important;
    outline: none !important;
    overflow: hidden !important;
    transition: max-width 380ms cubic-bezier(0.2, 0, 0, 1), box-shadow 240ms ease, border-color 240ms ease !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

#mtb-google-trust-widget .mtb-pill-btn:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09), 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

#mtb-google-trust-widget.mtb-expanded .mtb-pill-btn {
    max-width: 260px !important;
}

#mtb-google-trust-widget.mtb-open .mtb-pill-btn {
    max-width: 44px !important;
}

#mtb-google-trust-widget .mtb-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

#mtb-google-trust-widget .mtb-icon-img {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    display: block !important;
    opacity: 1 !important;
    transform: scale(1) rotate(0deg) !important;
    transition: transform 260ms cubic-bezier(0.2, 0, 0, 1), opacity 200ms ease !important;
}

#mtb-google-trust-widget.mtb-open .mtb-icon-img {
    opacity: 0 !important;
    transform: scale(0.6) rotate(-45deg) !important;
}

#mtb-google-trust-widget .mtb-icon-close {
    position: absolute !important;
    width: 18px !important;
    height: 18px !important;
    opacity: 0 !important;
    transform: scale(0.6) rotate(45deg) !important;
    transition: transform 260ms cubic-bezier(0.2, 0, 0, 1), opacity 200ms ease !important;
}

#mtb-google-trust-widget.mtb-open .mtb-icon-close {
    opacity: 1 !important;
    transform: scale(1) rotate(0deg) !important;
}

#mtb-google-trust-widget .mtb-label-wrap {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    padding-right: 16px !important;
    opacity: 0 !important;
    transform: translateX(10px) !important;
    transition: opacity 220ms cubic-bezier(0.2, 0, 0, 1), transform 300ms cubic-bezier(0.2, 0, 0, 1) !important;
    pointer-events: none !important;
}

#mtb-google-trust-widget.mtb-expanded .mtb-label-wrap {
    opacity: 1 !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
    transition-delay: 80ms !important;
}

#mtb-google-trust-widget.mtb-open .mtb-label-wrap {
    opacity: 0 !important;
    transform: translateX(10px) !important;
    pointer-events: none !important;
    transition-delay: 0ms !important;
}

#mtb-google-trust-widget .mtb-quality-text {
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: #3c4043 !important;
    margin-right: 4px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

#mtb-google-trust-widget .mtb-google-brand {
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    transform: translateY(-0.5px) !important;
}

#mtb-google-trust-widget .mtb-google-brand span {
    display: inline-block !important;
    line-height: 1 !important;
}

#mtb-google-trust-widget .mtb-g-blue { color: #4285F4 !important; }
#mtb-google-trust-widget .mtb-g-red { color: #EA4335 !important; }
#mtb-google-trust-widget .mtb-g-yellow { color: #FBBC05 !important; }
#mtb-google-trust-widget .mtb-g-green { color: #34A853 !important; }

#mtb-google-trust-widget .mtb-trust-panel {
    position: absolute !important;
    right: 0 !important;
    bottom: 56px !important;
    width: 330px !important;
    max-width: calc(100vw - 32px) !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) scale(0.98) !important;
    transform-origin: right bottom !important;
    transition: opacity 220ms ease, transform 260ms cubic-bezier(0.2, 0, 0, 1), visibility 0s linear 260ms !important;
    pointer-events: none !important;
    z-index: 100 !important;
    padding: 20px !important;
}

#mtb-google-trust-widget.mtb-open .mtb-trust-panel {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    transition: opacity 220ms ease, transform 260ms cubic-bezier(0.2, 0, 0, 1), visibility 0s linear 0s !important;
    pointer-events: auto !important;
}

#mtb-google-trust-widget .mtb-panel-header {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 12px !important;
}

#mtb-google-trust-widget .mtb-panel-header-icon {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    margin-right: 12px !important;
    margin-top: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#mtb-google-trust-widget .mtb-panel-header-icon img {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    display: block !important;
}

#mtb-google-trust-widget .mtb-panel-title {
    margin: 0 !important;
    padding: 0 !important;
    color: #202124 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

#mtb-google-trust-widget .mtb-panel-title span {
    display: block !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #5f6368 !important;
    line-height: 1.3 !important;
}

#mtb-google-trust-widget .mtb-panel-description {
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    color: #5f6368 !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

#mtb-google-trust-widget .mtb-quality-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 7px 0 !important;
    border: 0 !important;
}

#mtb-google-trust-widget .mtb-quality-left {
    min-width: 0 !important;
    padding-right: 12px !important;
}

#mtb-google-trust-widget .mtb-quality-left strong {
    display: block !important;
    color: #202124 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

#mtb-google-trust-widget .mtb-quality-left span {
    display: block !important;
    color: #5f6368 !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    margin-top: 2px !important;
}

#mtb-google-trust-widget .mtb-quality-status {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    color: #202124 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

#mtb-google-trust-widget .mtb-status-dot {
    width: 8px !important;
    height: 8px !important;
    background-color: #34A853 !important;
    border-radius: 50% !important;
    display: inline-block !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
}

#mtb-google-trust-widget .mtb-panel-links {
    margin-top: 14px !important;
}

#mtb-google-trust-widget .mtb-panel-links a {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1a73e8 !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    border: 0 !important;
    background: transparent !important;
}

#mtb-google-trust-widget .mtb-panel-links a:hover {
    text-decoration: none !important;
    color: #185abc !important;
}

@media (max-width: 600px) {
    #mtb-google-trust-widget {
        --mtb-right: 14px !important;
        --mtb-bottom: 14px !important;
    }

    #mtb-google-trust-widget .mtb-trust-panel {
        width: 310px !important;
        max-width: calc(100vw - 28px) !important;
    }
}
