/**
 * WordPress WhatsApp Tracker - Frontend Styles
 *
 * Styles for [whatsapp_tracking_button] shortcode and button variations.
 */

.wp-wa-tracker-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    padding: 11px 22px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    cursor: pointer;
    vertical-align: middle;
}

.wp-wa-tracker-btn .wp-wa-icon {
    flex-shrink: 0;
    display: block;
    width: 20px;
    height: 20px;
}

.wp-wa-tracker-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    opacity: 0.95;
}

.wp-wa-tracker-btn:active {
    transform: translateY(0);
}

/* Modern Style */
.wp-wa-tracker-btn.wp-wa-style-modern {
    background-color: #25D366;
    color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Pill Style */
.wp-wa-tracker-btn.wp-wa-style-pill {
    background-color: #25D366;
    color: #ffffff !important;
    border-radius: 50px;
    padding: 12px 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Minimal Outline Style */
.wp-wa-tracker-btn.wp-wa-style-minimal {
    background-color: transparent !important;
    border: 2px solid #25D366;
    color: #25D366 !important;
}

.wp-wa-tracker-btn.wp-wa-style-minimal:hover {
    background-color: #25D366 !important;
    color: #ffffff !important;
}

/* Floating Style */
.wp-wa-tracker-btn.wp-wa-style-floating {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    border-radius: 50px;
    padding: 14px 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    animation: wpWaPulse 2.5s infinite;
}

@keyframes wpWaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
