/* Karki Purchase Guide — styles */

/* Floating help button */
.karki-guide-fab {
    position: fixed;
    bottom: 180px;           /* clears WhatsApp / chat widgets that usually sit ~80-120px tall */
    z-index: 99999;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background: #d6336c;
    border: none;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(214, 51, 108, 0.55);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    animation: karkiGuidePulse 1.8s ease-in-out infinite;
}
.karki-guide-fab:hover,
.karki-guide-fab:focus {
    background: #c02560;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    outline: none;
    animation-play-state: paused;
}
.karki-guide-fab--bottom-right { right: 20px; }
.karki-guide-fab--bottom-left  { left: 20px; }

/* Subtle pulse - just a glow ring, no scaling so the button does not visually
   shift surrounding content. */
@keyframes karkiGuidePulse {
    0%   { box-shadow: 0 6px 18px rgba(214, 51, 108, 0.45), 0 0 0 0 rgba(214, 51, 108, 0.45); }
    70%  { box-shadow: 0 6px 18px rgba(214, 51, 108, 0.45), 0 0 0 10px rgba(214, 51, 108, 0); }
    100% { box-shadow: 0 6px 18px rgba(214, 51, 108, 0.45), 0 0 0 0 rgba(214, 51, 108, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .karki-guide-fab { animation: none; }
}

/* Hide floating button below desktop breakpoint (JS also bails out, but this
   is a defensive style in case the markup is rendered before the JS check). */
@media (max-width: 1023px) {
    .karki-guide-fab { display: none; }
}

/* Language selection modal */
.karki-guide-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.karki-guide-modal {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 28px 28px 24px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
}
.karki-guide-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}
.karki-guide-modal__title {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}
.karki-guide-modal__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.karki-guide-modal__btn {

/* Centered message modal (payment notice, completion notice) */
.karki-guide-modal--message {
    max-width: 420px;
    text-align: left;
}
.karki-guide-modal__body {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}
.karki-guide-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.karki-guide-modal__btn--ok {
    background: #d6336c;
    padding: 10px 22px;
}
.karki-guide-modal__btn--ok:hover,
.karki-guide-modal__btn--ok:focus {
    background: #c02560;
}
