/* ============================================
   ROP AI ASSISTANT - MAIN CONTAINER
   ============================================ */

.rop-ai-assistant {
    --rop-ai-scroll-scale: 1;
    --rop-ai-scroll-opacity: 1;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 5000;
    opacity: var(--rop-ai-scroll-opacity);
    transform: scale(var(--rop-ai-scroll-scale));
    transform-origin: right bottom;
    transition: opacity .2s ease, transform .2s ease;
    will-change: opacity, transform;
}

.rop-ai-assistant:hover,
.rop-ai-assistant:focus-within,
.rop-ai-assistant.is-open {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   FLOATING TRIGGER BUTTON
   ============================================ */

.rop-ai-trigger {
    --rop-ai-trigger-scale: 1;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, #d90429, #0b1f3a);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: ropPulse 2s infinite;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rop-ai-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

@keyframes ropPulse {
    0% { transform: scale(var(--rop-ai-trigger-scale)); }
    50% { transform: scale(calc(var(--rop-ai-trigger-scale) * 1.08)); }
    100% { transform: scale(var(--rop-ai-trigger-scale)); }
}

.rop-unread-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #d90429;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 11px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    animation: badgePop 0.3s ease-out;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ============================================
   FULL HEIGHT AI BOX
   ============================================ */

.rop-ai-box{
    position:fixed;

    right:0;
    bottom:0;

    width:420px;
    max-width:100vw;

    height:100vh;
    max-height:100vh;

    display:flex;
    flex-direction:column;

    background:#fff;

    border-radius:0;

    overflow:hidden;

    box-shadow:-8px 0 40px rgba(15,23,42,.18);

    opacity:0;
    visibility:hidden;

    transform:translateX(100%);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index:9999;
}

/* ACTIVE STATE */

.rop-ai-box.active{
    opacity:1;
    visibility:visible;
    transform:translateX(0);
}

/* HEADER */

.rop-ai-header{
    flex-shrink:0;
}

/* BODY */

.rop-ai-body{
    flex:1;
    min-height:0;
    overflow-y:auto;
}

/* FOOTER */

.rop-ai-footer{
    flex-shrink:0;
}

/* MOBILE */

@media(max-width:768px){

    .rop-ai-box{
        width:100vw;
        height:100vh;
        max-height:100vh;

        right:0;
        bottom:0;

        border-radius:0;
    }
}

.rop-ai-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */

.rop-ai-header {
    background: linear-gradient(135deg, #0b1f3a, #1a2f4e);
    padding: 16px 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.rop-ai-agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rop-ai-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #d90429, #ff2d4d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rop-ai-agent-info strong {
    font-size: 1rem;
    display: block;
    font-weight: 700;
}

.rop-ai-agent-info span {
    font-size: 0.7rem;
    opacity: 0.8;
    display: block;
}

.rop-ai-header-actions {
    display: flex;
    gap: 8px;
}

.rop-ai-header button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rop-ai-header button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* ============================================
   BODY - MESSAGES AREA
   ============================================ */

.rop-ai-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.rop-ai-body::-webkit-scrollbar {
    width: 6px;
}

.rop-ai-body::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.rop-ai-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.rop-ai-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ============================================
   MESSAGES
   ============================================ */

.rop-ai-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 22px;
    line-height: 1.5;
    font-weight: 500;
    font-size: 0.92rem;
    animation: fadeInUp 0.3s ease-out;
    word-wrap: break-word;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rop-ai-message.bot {
    background: #fff;
    color: #0f172a;
    border-top-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rop-ai-message.user {
    background: #d90429;
    color: #fff;
    margin-left: auto;
    border-top-right-radius: 6px;
}

/* ============================================
   TYPING INDICATOR
   ============================================ */

.rop-ai-typing {
    padding: 10px 16px;
    background: #fff;
    border-radius: 18px;
    display: none;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.85rem;
    width: fit-content;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rop-dots {
    animation: blink 1.4s infinite;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============================================
   FOOTER - COMPACT VERSION
   ============================================ */

.rop-ai-footer{
    padding:8px 10px 9px;
    border-top:1px solid #e2e8f0;
    background:#fff;
    flex-shrink:0;
}

.rop-ai-input-wrapper{
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:6px;
}

.rop-ai-footer input{
    flex:1;
    min-width:0;
    border:1.5px solid #e2e8f0;
    border-radius:7px;
    padding:0 12px;
    height:38px;
    outline:none;
    font-weight:500;
    font-size:.76rem;
    transition:all .2s ease;
    background:#fff;
}

.rop-ai-footer input:focus{
    border-color:#d90429;
    box-shadow:0 0 0 2px rgba(217,4,41,.08);
}

.rop-ai-footer input:disabled{
    background:#f8fafc;
    cursor:not-allowed;
    opacity:.7;
}

/* send + voice buttons */

.rop-ai-footer button,
#ropAiVoice{
    width:38px;
    height:38px;
    min-width:38px;
    border-radius:7px;
    border:0;
    background:#d90429;
    color:#fff;
    cursor:pointer;
    transition:all .2s ease;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    box-shadow:0 2px 6px rgba(217,4,41,.12);
}

.rop-ai-footer button i,
#ropAiVoice i{
    font-size:.78rem;
}

.rop-ai-footer button:hover:not(:disabled),
#ropAiVoice:hover{
    background:#b80322;
    transform:translateY(-1px);
}

.rop-ai-footer button:disabled{
    opacity:.5;
    cursor:not-allowed;
}

/* ============================================
   MOBILE
   ============================================ */

@media(max-width:480px){

    .rop-ai-footer{
        padding:6px 8px 7px;
    }

    .rop-ai-input-wrapper{
        gap:5px;
        margin-bottom:5px;
    }

    .rop-ai-footer input{
        height:34px;
        padding:0 10px;
        font-size:.7rem;
        border-radius:6px;
    }

    .rop-ai-footer button,
    #ropAiVoice{
        width:34px;
        height:34px;
        min-width:34px;
        border-radius:6px;
    }

    .rop-ai-footer button i,
    #ropAiVoice i{
        font-size:.72rem;
    }
}

/* ============================================
   DESKTOP
   ============================================ */

@media(min-width:769px){

    .rop-ai-footer{
        padding:8px 10px 9px;
    }

    .rop-ai-footer input{
        height:38px;
        font-size:.74rem;
    }

    .rop-ai-footer button,
    #ropAiVoice{
        width:38px;
        height:38px;
    }
}

/* ============================================
   QUICK ACTIONS + SUGGESTIONS - COMPACT FIX
   ============================================ */

.rop-quick-actions,
.rop-ai-suggestions,
.rop-action-buttons,
.rop-message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin-top: 6px;
}

.rop-quick-action,
.rop-suggestion-chip,
.rop-action-btn {
    width: auto !important;
    height: auto !important;
    min-width: fit-content !important;
    min-height: 26px !important;

    padding: 6px 10px !important;
    border-radius: 8px !important;

    font-size: 0.68rem !important;
    line-height: 1.1 !important;
    font-weight: 700;

    white-space: normal;
    overflow: visible;
    text-overflow: unset;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;

    flex: 1 1 auto;
}

.rop-quick-action {
    background: #d90429;
    color: #fff;
    border: 0;
}

.rop-suggestion-chip {
    background: #fff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.rop-action-btn {
    background: #0b1f3a;
    color: #fff;
    border: 0;
}

.rop-quick-action:hover,
.rop-action-btn:hover {
    background: #b80322;
    transform: translateY(-1px);
}

.rop-suggestion-chip:hover {
    background: #d90429;
    color: #fff;
    border-color: #d90429;
}

/* Keep only input send/voice buttons square */
.rop-ai-input-wrapper button {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 7px !important;
}

/* Mobile */
@media (max-width: 480px) {
    .rop-quick-actions,
    .rop-ai-suggestions,
    .rop-action-buttons,
    .rop-message-actions {
        gap: 5px;
    }

    .rop-quick-action,
    .rop-suggestion-chip,
    .rop-action-btn {
        font-size: 0.62rem !important;
        padding: 5px 8px !important;
        min-height: 24px !important;
        border-radius: 7px !important;
    }

    .rop-ai-input-wrapper button {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
    }
}
/* ============================================
   SUGGESTION CHIPS - ADDITIONAL STYLES
   ============================================ */

.rop-suggestion-chip {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1e293b;
}

.rop-suggestion-chip:hover {
    background: #d90429;
    color: white;
    border-color: #d90429;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 4, 41, 0.2);
}

/* ============================================
   ACTION BUTTONS - ADDITIONAL STYLES
   ============================================ */

.rop-action-btn {
    background: #d90429;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(217,4,41,.14);
}

.rop-action-btn:hover {
    background: #b80322;
    transform: translateY(-1px);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.rop-whatsapp-btn {
    width: 100%;
    padding: 14px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rop-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* ============================================
   CONVERSATION DIVIDER
   ============================================ */

.rop-conversation-divider {
    margin: 20px 0;
}

.rop-conversation-divider hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 10px 0;
}

.rop-conversation-divider p {
    text-align: center;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 500;
}

/* ============================================
   LEGACY OPTIONS
   ============================================ */

.rop-ai-options {
    display: grid;
    gap: 10px;
}

.rop-ai-options button {
    border: 0;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-size: 0.9rem;
}

.rop-ai-options button:hover {
    background: #d90429;
    color: white;
    transform: translateX(4px);
}

/* ============================================
   PROPERTY CARDS INSIDE CHAT
   ============================================ */

.rop-ai-property-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    animation: fadeInUp 0.3s ease-out;
}

.rop-ai-property-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    background: #e2e8f0;
}

.rop-ai-property-card-body {
    padding: 14px;
}

.rop-ai-property-card-body strong {
    display: block;
    color: #0f172a;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.rop-ai-property-card-body span {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.rop-ai-property-card-body p {
    color: #475569;
    font-size: 0.78rem;
    margin: 0 0 8px;
}

.rop-ai-property-card-body h4 {
    margin: 0 0 12px;
    color: #d90429;
    font-size: 1rem;
    font-weight: 800;
}

.rop-ai-property-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rop-ai-property-actions a {
    text-decoration: none;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
}

.rop-ai-property-actions a:first-child {
    background: #0b1f3a;
    color: #fff;
}

.rop-ai-property-actions a:last-child {
    background: #25D366;
    color: #fff;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* ============================================
   MOBILE FULLSCREEN FIX
   ============================================ */

@media (max-width: 768px) {

    .rop-ai-assistant {
        position: fixed;
        inset: 0;
        right: auto;
        bottom: auto;
        width: 100vw;
        height: 100dvh;
        pointer-events: none;
        z-index: 9999;
        opacity: 1;
        transform: none;
    }

    .rop-ai-trigger {
        --rop-ai-trigger-scale: var(--rop-ai-scroll-scale);
        position: fixed;
        right: 14px;
        bottom: calc(env(safe-area-inset-bottom) + 14px);
        pointer-events: auto;
        z-index: 10;
        opacity: var(--rop-ai-scroll-opacity);
        transform-origin: right bottom;
        transition: opacity .2s ease, box-shadow .2s ease;
    }

    .rop-ai-assistant:hover .rop-ai-trigger,
    .rop-ai-assistant:focus-within .rop-ai-trigger,
    .rop-ai-assistant.is-open .rop-ai-trigger {
        --rop-ai-trigger-scale: 1;
        opacity: 1;
    }

    .rop-ai-box {
        position: fixed !important;
        inset: 0 !important;

        width: 100vw !important;
        max-width: 100vw !important;

        height: 100dvh !important;
        max-height: 100dvh !important;

        border-radius: 0 !important;

        transform: translateX(100%);
        pointer-events: auto;
        z-index: 10000;
    }

    .rop-ai-box.active {
        transform: translateX(0);
    }

    .rop-ai-header {
        padding-top: calc(env(safe-area-inset-top) + 12px);
    }

    .rop-ai-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
    }

    .rop-ai-footer {
        padding-bottom: calc(env(safe-area-inset-bottom) + 10px);
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .rop-ai-assistant {
        right: 12px;
        bottom: calc(env(safe-area-inset-bottom) + 80px);
    }

    .rop-ai-trigger {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }

    .rop-ai-box {
        width: calc(100vw - 24px);
        right: -6px;
        bottom: 74px;
        height: calc(100vh - 120px);
        max-height: 620px;
        border-radius: 20px;
    }

    .rop-ai-header {
        padding: 14px 16px;
    }

    .rop-ai-body {
        padding: 16px;
        gap: 10px;
    }

    .rop-ai-footer {
        padding: 10px 12px 12px;
    }

    .rop-ai-input-wrapper {
        margin-bottom: 8px;
    }

    .rop-ai-footer input {
        height: 44px;
        font-size: 0.85rem;
        padding: 0 14px;
    }

    .rop-ai-footer button {
        width: 44px;
        height: 44px;
    }

    .rop-ai-message {
        max-width: 92%;
        font-size: 0.85rem;
        padding: 10px 14px;
    }

    .rop-ai-avatar {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .rop-ai-agent-info strong {
        font-size: 0.9rem;
    }

    .rop-ai-agent-info span {
        font-size: 0.65rem;
    }

    .rop-ai-property-card img {
        height: 125px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .rop-ai-box {
        height: calc(100vh - 80px);
        bottom: 70px;
    }

    .rop-ai-body {
        max-height: 200px;
    }
}

@media (min-width: 1440px) {
    .rop-ai-assistant {
        right: calc((100vw - 1400px) / 2 + 24px);
    }

    .rop-ai-box {
        width: 420px;
        height: min(700px, calc(100vh - 120px));
    }
}

/* ============================================
   ACCESSIBILITY & UTILITY
   ============================================ */

.rop-suggestion-chip:focus-visible,
.rop-action-btn:focus-visible,
.rop-ai-trigger:focus-visible,
.rop-ai-footer input:focus-visible {
    outline: 2px solid #d90429;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .rop-ai-message,
    .rop-suggestion-chip,
    .rop-action-btn,
    .rop-ai-trigger {
        animation: none;
        transition: none;
    }

    @keyframes ropPulse {
        0%, 50%, 100% { transform: scale(1); }
    }
}

.rop-ai-match-note {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 6px;
}

.rop-ai-property-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.rop-ai-property-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
}

.rop-ai-property-badge.verified {
    background: #dcfce7;
    color: #166534;
}

.rop-ai-property-badge.featured {
    background: #fff7ed;
    color: #c2410c;
}

.rop-ai-property-badge.match {
    background: #fee2e2;
    color: #b91c1c;
}

.rop-ai-property-desc {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 8px 0 12px;
}

.rop-ai-property-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.rop-ai-property-price-row h4 {
    margin: 0;
}

.rop-ai-negotiable {
    font-size: 0.68rem;
    font-weight: 800;
    color: #166534;
    background: #dcfce7;
    padding: 5px 8px;
    border-radius: 999px;
}
.rop-ai-listing-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rop-ai-listing-wrapper .rop-ai-property-card {
    width: 100%;
}

.rop-ai-reject-btn {
    border: none;
    background: #f1f5f9;
    color: #334155;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.rop-ai-reject-btn:hover {
    background: #fee2e2;
    color: #991b1b;
}

#ropAiVoice {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #eaf2ff;
    color: #1e5eff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}

#ropAiVoice:hover {
    background: #1e5eff;
    color: #fff;
}

#ropAiVoice.listening {
    background: #dc2626;
    color: #fff;
    animation: ropPulseMic 1s infinite;
}

@keyframes ropPulseMic {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .45); }
    70% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ============================================
   HOMEPAGE AYANDA INVITE
   ============================================ */

.rop-ai-home-invite {
    position: fixed;
    right: 24px;
    bottom: 112px;
    z-index: 4999;
    width: min(380px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.96)),
        #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
    color: #0f172a;
    transform: translateY(0);
    opacity: 1;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.rop-ai-home-invite.is-pending {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
}

.rop-ai-home-invite.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}

.rop-ai-home-invite-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
}

.rop-ai-home-invite-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.rop-ai-home-invite-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #d90429, #0b1f3a);
    box-shadow: 0 12px 26px rgba(217, 4, 41, .28);
}

.rop-ai-home-invite-copy {
    padding-right: 28px;
}

.rop-ai-home-invite-copy strong {
    display: block;
    font-size: .96rem;
    line-height: 1.2;
    margin-bottom: 5px;
    letter-spacing: 0;
}

.rop-ai-home-invite-copy span {
    display: block;
    color: #475569;
    font-size: .78rem;
    line-height: 1.45;
}

.rop-ai-home-invite-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    margin-top: 2px;
}

.rop-ai-home-invite-actions button {
    height: 40px;
    border-radius: 10px;
    border: 0;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.rop-ai-home-invite-actions button:hover {
    transform: translateY(-1px);
}

.rop-ai-home-invite-primary {
    flex: 1;
    background: #0b1f3a;
    color: #fff;
    box-shadow: 0 10px 22px rgba(11, 31, 58, .18);
}

.rop-ai-home-invite-secondary {
    padding: 0 16px;
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 768px) {
    .rop-ai-home-invite {
        right: 12px;
        left: 12px;
        bottom: 92px;
        width: auto;
        padding: 14px;
        grid-template-columns: 42px 1fr;
    }

    .rop-ai-home-invite-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .rop-ai-home-invite-actions {
        flex-wrap: wrap;
    }

    .rop-ai-home-invite-actions button {
        flex: 1 1 130px;
    }
}
