/**
 * Floating quick-action buttons (WhatsApp/Call) + business-open status dot
 * External stylesheet for resources/views/web/layouts/master.blade.php
 */

.floating-quick-actions {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.quick-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    color: #ffffff !important;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
}
.quick-action-btn .quick-action-label {
    display: none;
    font-size: 14px;
    font-weight: 600;
    margin-left: 8px;
    padding-right: 14px;
}
.quick-action-btn:hover {
    width: auto;
    padding: 0 16px;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}
.quick-action-btn:hover .quick-action-label {
    display: inline;
}
.quick-action-btn.whatsapp-action {
    background: linear-gradient(135deg, #25D366, #128C7E);
}
.quick-action-btn.call-action {
    background: linear-gradient(135deg, #e62e2d, #b31b1b);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}
.status-dot.open {
    background-color: #22c55e !important;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    animation: pulse-green 2s infinite;
}
.status-dot.closed {
    background-color: #ef4444 !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    animation: pulse-red 2s infinite;
}
.status-open-text {
    color: #4ade80 !important;
}
.status-closed-text {
    color: #f87171 !important;
}
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@media (max-width: 768px) {
    .floating-quick-actions {
        bottom: 20px;
        left: 15px;
    }
    .quick-action-btn {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }
}
