/* Click-to-Call Helper Styles */

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-left: 4px solid #28a745;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 16px 20px;
    min-width: 300px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-content i {
    font-size: 24px;
}

.toast-message {
    flex: 1;
}

.toast-message strong {
    display: block;
    margin-bottom: 4px;
    color: #212529;
}

.toast-message .text-muted {
    color: #6c757d !important;
    font-size: 0.875rem;
}

/* Enhanced tel: link styling */
a[href^="tel:"] {
    transition: all 0.2s ease;
    position: relative;
}

a[href^="tel:"]:hover {
    transform: translateX(2px);
}

a[href^="tel:"]:active {
    transform: scale(0.95);
}

/* Success state animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

a[href^="tel:"].copied {
    animation: pulse 0.3s ease;
}

/* Loading state for call buttons */
.call-btn-loading {
    pointer-events: none;
    opacity: 0.6;
}

.call-btn-loading::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

/* Print styles - hide toast notifications when printing */
@media print {
    .toast-notification {
        display: none !important;
    }
}
