/* ============================================================
   Nina Monaco — Two-Button Floating Bar
   Book Online · WhatsApp
   ============================================================ */

#nmc-chat-widget,
#nmc-chat-widget * {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

#nmc-chat-widget {
    position: fixed;
    top: auto;
    left: auto;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 2147483647;
}

#nmc-chat-widget > * { pointer-events: auto; }

/* ============================================================
   FLOATING BAR
   ============================================================ */
#nmc-floating-bar {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 40vw;
    max-width: calc(100vw - 16px);
    z-index: 2147483647;
    pointer-events: auto;
    animation: nmc-rise 0.5s ease both;
}

@keyframes nmc-rise {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

.nmc-glass-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    min-width: 0;
    padding: 6px;
    background: rgba(20, 18, 16, 0.72);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* ============================================================
   BUTTONS — magnetic, equal width, side by side
   ============================================================ */
.nmc-book-btn,
.nmc-wa-btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: clamp(12px, 0.95vw, 14px);
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
    --mx: 0px;
    --my: 0px;
    --lift: 0px;
    transform: translate3d(var(--mx), calc(var(--my) + var(--lift)), 0);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
    overflow: hidden;
}

.nmc-book-btn.nmc-magnetic-active,
.nmc-wa-btn.nmc-magnetic-active {
    transition: transform 0.08s linear, background 0.2s ease, box-shadow 0.2s ease;
}

.nmc-book-btn:hover,
.nmc-wa-btn:hover { --lift: -2px; }

.nmc-book-btn:active,
.nmc-wa-btn:active {
    --lift: 0px;
    transform: translate3d(var(--mx), var(--my), 0) scale(0.97);
}

.nmc-book-btn > svg,
.nmc-wa-btn > svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
}

.nmc-lbl {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Book button */
.nmc-book-btn {
    color: #ffffff !important;
    background: rgba(15, 13, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.nmc-book-btn:hover {
    background: #000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* WhatsApp button */
.nmc-wa-btn {
    color: #ffffff !important;
    background: linear-gradient(180deg, #2ee06e 0%, #25D366 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.nmc-wa-btn:hover {
    background: linear-gradient(180deg, #29c963 0%, #20b85f 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
    #nmc-floating-bar { width: 60vw; }
}

@media (max-width: 768px) {
    #nmc-floating-bar {
        bottom: 14px;
        width: 94vw;
        max-width: 94vw;
    }
    .nmc-glass-row {
        padding: 5px;
        gap: 5px;
        border-radius: 16px;
    }
    .nmc-book-btn,
    .nmc-wa-btn {
        padding: 12px 10px;
        font-size: 13px;
        gap: 6px;
        border-radius: 11px;
    }
    .nmc-book-btn > svg,
    .nmc-wa-btn > svg { width: 15px; height: 15px; }
}

@media (max-width: 480px) {
    #nmc-floating-bar {
        bottom: 12px;
        width: 96vw;
        max-width: 96vw;
    }
    .nmc-glass-row {
        padding: 4px;
        gap: 4px;
        border-radius: 14px;
    }
    .nmc-book-btn,
    .nmc-wa-btn {
        padding: 11px 8px;
        font-size: 12.5px;
        gap: 5px;
        border-radius: 10px;
    }
    .nmc-book-btn > svg,
    .nmc-wa-btn > svg { width: 14px; height: 14px; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .nmc-book-btn,
    .nmc-wa-btn {
        transform: none !important;
        transition: background 0.2s ease, box-shadow 0.2s ease !important;
    }
}