/* Floating Phone Number Styles */
.fpn-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.fpn-button {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    min-width: 50px;
    height: 50px;
    overflow: hidden;
}

.fpn-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
    text-decoration: none;
}

.fpn-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.fpn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 8px;
}

.fpn-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .fpn-container {
        bottom: 15px;
        right: 15px;
    }
    
    .fpn-button {
        padding: 10px 14px;
        min-width: 45px;
        height: 45px;
        font-size: 13px;
    }
    
    .fpn-icon {
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }
    
    .fpn-text {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .fpn-container {
        bottom: 10px;
        right: 10px;
    }
    
    .fpn-button {
        padding: 8px 12px;
        min-width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .fpn-icon {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }
    
    .fpn-text {
        max-width: 120px;
    }
}

/* Animation for initial load */
@keyframes fpn-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fpn-container {
    animation: fpn-fade-in 0.5s ease-out;
}

/* Accessibility improvements */
.fpn-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .fpn-button {
        background: #000;
        border: 2px solid #fff;
    }
    
    .fpn-button:hover {
        background: #333;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .fpn-button {
        transition: none;
    }
    
    .fpn-container {
        animation: none;
    }
} 