/* =========================================================
   Download for WPTravelly – Frontend Styles (NO EFFECTS)
   ========================================================= */

/* ==========================
   Floating Button Base
   ========================== */

.wptdl-floating {
    position: fixed;
    z-index: 9999;
    text-decoration: none;
    background-color: var(--wptdl-bg, #0073aa);
    color: var(--wptdl-color, #ffffff);
}

/* Hover color only (NO animation, NO shadow, NO transform) */
.wptdl-floating:hover,
.wptdl-shortcode-btn:hover {
    background-color: var(--wptdl-hover-bg, var(--wptdl-bg));
    color: var(--wptdl-color); /* 🔥 CRITICAL FIX */
}

/* ==========================
   Floating ICON
   ========================== */

.wptdl-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
}

/* ==========================
   Floating BUTTON
   ========================== */

.wptdl-floating.wptdl-mode-floating {
    padding: 14px 22px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
}

.wptdl-text {
    white-space: nowrap;
}

/* ==========================
   Sticky Positions
   ========================== */

.wptdl-bottom-right { bottom: 20px; right: 20px; }
.wptdl-bottom-left  { bottom: 20px; left: 20px; }
.wptdl-top-right    { top: 20px; right: 20px; }
.wptdl-top-left     { top: 20px; left: 20px; }

.wptdl-top-center,
.wptdl-bottom-center {
    left: 50%;
    transform: translateX(-50%);
}

.wptdl-top-center    { top: 20px; }
.wptdl-bottom-center { bottom: 20px; }

.wptdl-left-middle {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.wptdl-right-middle {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ==========================
   Shortcode Button
   ========================== */

.wptdl-shortcode-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background-color: var(--wptdl-bg, #0073aa);
    color: var(--wptdl-color, #ffffff);
}

/* ==========================
   Mobile Adjustments
   ========================== */

@media (max-width: 480px) {

    .wptdl-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .wptdl-floating.wptdl-mode-floating {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ==========================
   Button Active / Focus Fix
   ========================== */

.wptdl-floating,
.wptdl-floating:active,
.wptdl-floating:focus,
.wptdl-floating:focus-visible,
.wptdl-shortcode-btn,
.wptdl-shortcode-btn:active,
.wptdl-shortcode-btn:focus,
.wptdl-shortcode-btn:focus-visible {
    color: var(--wptdl-color, #ffffff);
    outline: none;
}
