/**
 * Copyright © Toweringmedia. All rights reserved.
 *
 * Wayfair Continuable pills for Hyvä login/register.
 * Loaded via Magento layout so icon SVGs and #dadce0 borders work without a
 * theme Tailwind rebuild (compat module CSS may not be in styles.css yet).
 */

/* Divider→first button gap (template mb-5 is often purged from theme CSS) */
.tm-social-login [role="separator"] {
    margin-bottom: 1.5rem;
}

.tm-social-login .tm-social-login-btn {
    border-color: #dadce0 !important;
    color: #3c4043 !important;
    background-color: #fff !important;
    box-shadow: none !important;
}

.tm-social-login .tm-social-login-btn:hover {
    border-color: #c6c9ce !important;
    background-color: #f8f9fa !important;
    color: #3c4043 !important;
}

.tm-social-login .tm-social-login-icon,
.tm-social-login .tm-social-login-svg {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    vertical-align: middle;
}

.tm-social-login .tm-social-login-icon {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.tm-social-login .tm-social-login-icon-google {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") !important;
}

.tm-social-login .tm-social-login-icon-facebook {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231877F2'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E") !important;
}

.tm-social-login .tm-social-login-icon-apple {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M17.05 20.28c-.98.95-2.05.88-3.08.4-1.09-.5-2.08-.48-3.24 0-1.44.62-2.2.44-3.06-.4C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/%3E%3C/svg%3E") !important;
}

/* Wayfair visual + near-invisible GIS renderButton hit-target overlay */
.tm-social-login .tm-google-gis-wrapper {
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.tm-social-login .tm-google-gis-visual {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 20px !important;
    box-sizing: border-box;
    pointer-events: none;
}

.tm-social-login .tm-google-gis-hitbox {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    opacity: 0.01 !important;
    overflow: hidden !important;
}

.tm-social-login .tm-google-gis-hitbox > div {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.tm-social-login .tm-google-gis-hitbox iframe {
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
}
