/* REN Bridal Studio - Native Compact Fixed Appointment CTA Scoped Styles */

.ren-fixed-cta {
    position: fixed;
    left: 50%;
    bottom: 56px;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(10px);
    z-index: 90;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

/* Active visible state toggled by scroll controller */
.ren-fixed-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.ren-fixed-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box;
    min-width: 105px;
    height: 38px;
    padding: 0 16px;
    background-color: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 9999px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.ren-fixed-cta__btn:hover {
    background-color: rgba(0, 0, 0, 0.92);
    border-color: rgba(255, 255, 255, 0.85);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.ren-fixed-cta__btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    background-color: rgba(0, 0, 0, 0.95);
    border-color: #ffffff;
}

.ren-fixed-cta__btn:active {
    transform: translateY(0) scale(0.98);
}

.ren-fixed-cta__icon {
    display: inline-block;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    fill: currentColor;
    vertical-align: middle;
}

.ren-fixed-cta__text {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .ren-fixed-cta {
        bottom: 48px;
        bottom: calc(48px + env(safe-area-inset-bottom, 0px));
    }

    .ren-fixed-cta__btn {
        min-width: 100px;
        height: 36px;
        padding: 0 14px;
        font-size: 11.5px;
        gap: 6px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .ren-fixed-cta,
    .ren-fixed-cta__btn {
        transition: none !important;
        animation: none !important;
    }
}
