/* WP All In Tool v3.2.0 Public UI — strictly scoped under .wpait-* (zero global pollution) */

/* Effect Canvas (scoped ONLY to WP All In Tool overlay canvas) */
.wpait-effect-canvas {
    display: block;
    position: fixed;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 9990;
    pointer-events: none;
}

/* Social Login Buttons on wp-login.php */
.wpait-social-login {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    gap: 8px;
    margin: 14px 0;
}

.wpait-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease;
}

.wpait-social-btn:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.wpait-social-btn img {
    width: 18px !important;
    height: 18px !important;
    display: block;
}

/* Mobile Bottom Navigation Bar */
.wpait-mobile-nav {
    display: none;
}

@media screen and (max-width: 960px) {
    .wpait-mobile-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9995;
        width: 100%;
        align-items: center;
        justify-content: center;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
    }

    .wpait-mobile-nav ul {
        list-style: none;
        display: flex;
        width: 100%;
        justify-content: space-around;
        align-items: center;
        margin: 0;
        padding: 0 8px;
        gap: 6px;
    }

    .wpait-mobile-nav li {
        flex: 1 1 0;
        text-align: center;
        padding: 4px 6px;
        margin: 0;
    }

    .wpait-mobile-nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-decoration: none;
        font-weight: 600;
        line-height: 1.2;
    }
}

/* Floating Chat Widget */
.wpait-chat-widget {
    position: fixed;
    bottom: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.wpait-chat-left {
    left: 20px;
    align-items: flex-start;
}

.wpait-chat-right {
    right: 20px;
    align-items: flex-end;
}

.wpait-chat-fab {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.38);
    transition: transform 0.2s ease;
}

.wpait-chat-fab:hover {
    transform: scale(1.06);
}

.wpait-chat-fab img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
}

.wpait-chat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpait-chat-list[hidden] {
    display: none !important;
}

.wpait-chat-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.16);
    border: 1px solid #e2e8f0;
    transition: transform 0.15s ease;
}

.wpait-chat-item:hover {
    transform: translateY(-2px);
}

.wpait-chat-item img {
    width: 22px;
    height: 22px;
    display: block;
}

/* Waiting Download Shortcode Buttons */
.wpait-download-wrap {
    display: inline-block;
    margin: 8px 0;
}

.wpait-dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    background: #0284c7;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.wpait-dl-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.wpait-dl-style-2 { background: #16a34a; border-radius: 999px; }
.wpait-dl-style-3 { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.wpait-dl-style-4 { background: #0f172a; border: 2px solid #38bdf8; }
.wpait-dl-style-5 { background: linear-gradient(135deg, #f97316, #ef4444); box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35); }
.wpait-dl-style-6 { background: transparent; color: #0284c7; border: 2px solid #0284c7; }
