/* Theo Properties RC1.0.15.123 — Referral Share Actions Premium Icon Polish Lock
   Presentation-only patch for mobile/tablet referral sharing controls.
   No referral, attribution, sharing, Supabase, redemption or routing logic changed. */

@media (max-width:1180px){
  #ref32-modal-root .ref32-share-card .ref32-linkbox{
    gap:10px!important;
    padding:8px!important;
    border-color:#d5e2ea!important;
    border-radius:16px!important;
    background:linear-gradient(180deg,#f9fbfc 0%,#f5f9fb 100%)!important;
    box-shadow:inset 0 1px 2px rgba(15,48,70,.025),0 5px 14px rgba(15,48,70,.025)!important;
  }

  #ref32-modal-root .ref32-share-card .ref32-linkbox input{
    min-height:48px!important;
    padding:11px 13px!important;
    color:#183c53!important;
    font-weight:680!important;
    letter-spacing:-.01em;
  }

  #ref32-modal-root .ref32-share-card .ref32-linkbox [data-ref32-copy],
  #ref32-modal-root .ref32-share-card .ref32-actions .ref32-btn{
    position:relative;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    min-height:50px!important;
    padding:12px 18px!important;
    border-radius:13px!important;
    font-size:14px!important;
    font-weight:800!important;
    letter-spacing:-.01em;
    text-decoration:none!important;
  }

  #ref32-modal-root .ref32-share-card .ref32-linkbox [data-ref32-copy]::before,
  #ref32-modal-root .ref32-share-card .ref32-actions .ref32-btn::before{
    content:"";
    flex:0 0 20px;
    width:20px;
    height:20px;
    background:currentColor;
    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;
    -webkit-mask-position:center;
    mask-position:center;
    -webkit-mask-size:contain;
    mask-size:contain;
  }

  /* Copy icon — two overlapping documents */
  #ref32-modal-root .ref32-share-card .ref32-linkbox [data-ref32-copy]::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8 2a2 2 0 0 0-2 2v2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2h2a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8Zm10 16v2H4V8h2v8a2 2 0 0 0 2 2h10ZM8 16V4h12v12H8Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8 2a2 2 0 0 0-2 2v2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2h2a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8Zm10 16v2H4V8h2v8a2 2 0 0 0 2 2h10ZM8 16V4h12v12H8Z'/%3E%3C/svg%3E");
  }

  /* WhatsApp brand glyph */
  #ref32-modal-root .ref32-share-card .ref32-actions a[href^="https://wa.me/"]::before{
    width:22px;
    height:22px;
    flex-basis:22px;
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12.04 2a9.85 9.85 0 0 0-8.43 14.95L2 22l5.2-1.56A9.94 9.94 0 1 0 12.04 2Zm0 17.8a7.8 7.8 0 0 1-3.97-1.09l-.29-.17-3.08.93.94-2.99-.19-.31A7.77 7.77 0 1 1 12.04 19.8Zm4.29-5.84c-.23-.12-1.38-.68-1.59-.76-.22-.08-.38-.12-.54.12-.16.23-.62.76-.76.92-.14.16-.28.18-.51.06-.24-.12-1-.37-1.9-1.18-.7-.63-1.18-1.4-1.32-1.64-.14-.23-.02-.36.1-.47.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.3-.74-1.78-.2-.47-.4-.4-.54-.41h-.46c-.16 0-.42.06-.64.3-.22.23-.84.82-.84 2s.86 2.32.98 2.48c.12.16 1.69 2.58 4.1 3.62.57.25 1.02.4 1.37.51.58.18 1.1.16 1.51.1.46-.07 1.38-.57 1.58-1.12.2-.55.2-1.02.14-1.12-.06-.1-.22-.16-.45-.28Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12.04 2a9.85 9.85 0 0 0-8.43 14.95L2 22l5.2-1.56A9.94 9.94 0 1 0 12.04 2Zm0 17.8a7.8 7.8 0 0 1-3.97-1.09l-.29-.17-3.08.93.94-2.99-.19-.31A7.77 7.77 0 1 1 12.04 19.8Zm4.29-5.84c-.23-.12-1.38-.68-1.59-.76-.22-.08-.38-.12-.54.12-.16.23-.62.76-.76.92-.14.16-.28.18-.51.06-.24-.12-1-.37-1.9-1.18-.7-.63-1.18-1.4-1.32-1.64-.14-.23-.02-.36.1-.47.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.3-.74-1.78-.2-.47-.4-.4-.54-.41h-.46c-.16 0-.42.06-.64.3-.22.23-.84.82-.84 2s.86 2.32.98 2.48c.12.16 1.69 2.58 4.1 3.62.57.25 1.02.4 1.37.51.58.18 1.1.16 1.51.1.46-.07 1.38-.57 1.58-1.12.2-.55.2-1.02.14-1.12-.06-.1-.22-.16-.45-.28Z'/%3E%3C/svg%3E");
  }

  /* Native share icon */
  #ref32-modal-root .ref32-share-card .ref32-actions [data-ref32-native-share]::before{
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18 16c-.79 0-1.5.31-2.04.81L8.91 12.7c.06-.23.09-.46.09-.7s-.03-.47-.09-.7l6.97-4.07A2.99 2.99 0 1 0 15 5c0 .24.03.47.09.7L8.12 9.77a3 3 0 1 0 0 4.46l7.04 4.11c-.05.21-.08.43-.08.66a3 3 0 1 0 3-3Z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18 16c-.79 0-1.5.31-2.04.81L8.91 12.7c.06-.23.09-.46.09-.7s-.03-.47-.09-.7l6.97-4.07A2.99 2.99 0 1 0 15 5c0 .24.03.47.09.7L8.12 9.77a3 3 0 1 0 0 4.46l7.04 4.11c-.05.21-.08.43-.08.66a3 3 0 1 0 3-3Z'/%3E%3C/svg%3E");
  }

  #ref32-modal-root .ref32-share-card .ref32-linkbox [data-ref32-copy]{
    border-color:#cadbe5!important;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdfe 100%)!important;
    color:#163a51!important;
    box-shadow:0 5px 14px rgba(15,48,70,.045)!important;
  }

  #ref32-modal-root .ref32-share-card .ref32-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;
    gap:10px!important;
    margin-top:2px!important;
  }

  #ref32-modal-root .ref32-share-card .ref32-actions a[href^="https://wa.me/"]{
    border-color:#17835e!important;
    background:linear-gradient(135deg,#24a875 0%,#187f5d 100%)!important;
    color:#fff!important;
    box-shadow:0 9px 20px rgba(26,132,95,.18)!important;
  }

  #ref32-modal-root .ref32-share-card .ref32-actions [data-ref32-native-share]{
    border-color:#cbdce6!important;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdfe 100%)!important;
    color:#173b52!important;
    box-shadow:0 5px 14px rgba(15,48,70,.045)!important;
  }

  #ref32-modal-root .ref32-share-card>p:last-child{
    margin-top:14px!important;
    padding-top:13px!important;
    border-top:1px solid #e1ebf0!important;
  }

  #ref32-modal-root .ref32-share-card>p:last-child small{
    display:block;
    color:#6d8493!important;
    font-size:11.5px!important;
    line-height:1.55!important;
  }

  #ref32-modal-root .ref32-share-card>p:last-child strong{
    color:#234c64!important;
    font-weight:800!important;
  }
}

@media (max-width:700px){
  #ref32-modal-root .ref32-share-card .ref32-linkbox{
    display:flex!important;
    flex-direction:column!important;
  }

  #ref32-modal-root .ref32-share-card .ref32-linkbox [data-ref32-copy]{
    width:100%!important;
  }

  #ref32-modal-root .ref32-share-card .ref32-actions{
    grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
  }

  #ref32-modal-root .ref32-share-card .ref32-actions .ref32-btn{
    min-width:0!important;
    padding-inline:12px!important;
    font-size:13.5px!important;
  }

  #ref32-modal-root .ref32-share-card .ref32-actions a[href^="https://wa.me/"]::before{
    width:21px;
    height:21px;
    flex-basis:21px;
  }
}

@media (max-width:390px){
  #ref32-modal-root .ref32-share-card .ref32-actions{
    grid-template-columns:1fr!important;
  }
}
