.whatsapp-floating-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1040;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #25d366;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
    transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-floating-button.is-hidden-for-inline {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.92);
}

.whatsapp-floating-button:hover,
.whatsapp-floating-button:focus-visible {
    color: #fff;
    background: #1fb85a;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.2);
}

.whatsapp-floating-button i {
    font-size: 1.7rem;
    line-height: 1;
}

.whatsapp-lead-modal .modal-content {
    border: 1px solid #e8edf4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.2);
}

.whatsapp-lead-modal .modal-header {
    padding: 1.2rem 1.35rem;
    color: #1e293b;
    background: #fff;
    border-bottom: 1px solid #edf1f6;
}

.whatsapp-lead-modal .modal-title {
    font-weight: 700;
}

.whatsapp-lead-modal .modal-body {
    padding: 1.35rem;
}

.whatsapp-lead-intro {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
}

.whatsapp-question-label {
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 600;
}

.whatsapp-question-number {
    display: inline;
    margin-right: 0.25rem;
    color: #94a3b8;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 700;
}

.whatsapp-lead-form .form-control {
    min-height: 44px;
    border-color: #e4eaf2;
    border-radius: 10px;
    background: #f8fafc;
}

.whatsapp-lead-form .form-control:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
}

.whatsapp-stepper-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.whatsapp-stepper-dots {
    display: flex;
    gap: 0.35rem;
}

.whatsapp-stepper-dot {
    width: 20px;
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    transition: width 180ms ease, background 180ms ease;
}

.whatsapp-stepper-dot.is-active {
    width: 30px;
    background: #2563eb;
}

.whatsapp-stepper-dot.is-complete {
    background: #93c5fd;
}

.whatsapp-question-step[hidden] {
    display: none !important;
}

.whatsapp-question-step {
    animation: whatsappStepIn 180ms ease;
}

.whatsapp-step-question {
    margin-bottom: 0.85rem;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.whatsapp-choice-list {
    display: grid;
    gap: 0.55rem;
}

.whatsapp-choice {
    width: 100%;
    min-height: 46px;
    padding: 0.7rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #334155;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.whatsapp-choice:hover,
.whatsapp-choice:focus-visible {
    border-color: #93c5fd;
    color: #1d4ed8;
    background: #f8fbff;
    outline: 0;
}

.whatsapp-choice:active {
    transform: scale(0.99);
}

.whatsapp-choice.is-selected {
    border-color: #2563eb;
    color: #1d4ed8;
    background: #eff6ff;
}

.whatsapp-choice i {
    color: #94a3b8;
    font-size: 0.8rem;
}

.whatsapp-choice.is-selected i {
    color: #2563eb;
}

.whatsapp-step-back {
    margin-top: 0.75rem;
    padding: 0.2rem 0;
    border: 0;
    color: #64748b;
    background: transparent;
    font-size: 0.82rem;
    font-weight: 600;
}

.whatsapp-step-back:hover {
    color: #2563eb;
}

@keyframes whatsappStepIn {
    from { opacity: 0; transform: translateX(6px); }
    to { opacity: 1; transform: translateX(0); }
}

.whatsapp-submit-button {
    margin-top: 0.85rem;
    min-height: 48px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: #2563eb;
    font-weight: 700;
}

.whatsapp-submit-button:hover:not(:disabled) {
    color: #fff;
    background: #1d4ed8;
}

.whatsapp-submit-button:disabled {
    color: #64748b;
    background: #e2e8f0;
    opacity: 1;
    cursor: not-allowed;
}

.whatsapp-direct-contact {
    min-height: 48px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: #2563eb;
    font-weight: 700;
}

.whatsapp-direct-contact:hover,
.whatsapp-direct-contact:focus-visible {
    color: #fff;
    background: #1d4ed8;
}

.whatsapp-form-status {
    min-height: 1.35rem;
    margin-top: 0.7rem;
    font-size: 0.84rem;
}

.whatsapp-form-status.is-error { color: #b91c1c; }
.whatsapp-form-status.is-success { color: #15803d; }

.whatsapp-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.property-whatsapp-card {
    margin-top: 0.5rem;
    padding: 1.25rem;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm, 0 4px 18px rgba(15, 23, 42, 0.06));
}

.property-whatsapp-card__title {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.4rem;
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.35;
}

.property-whatsapp-card__title i {
    flex: 0 0 auto;
    margin-top: 0.12rem;
    color: #2563eb;
    font-size: 1.2rem;
}

.property-listing-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid #e8edf4;
    color: #6b7280;
    font-size: 0.875rem;
}

.property-listing-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 767.98px) {
    .whatsapp-floating-button {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-lead-modal .modal-dialog {
        margin: 0.75rem;
    }
}
