/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
*/

.contact-widget-container {
      position: fixed;
      bottom: 100px;
      right: 20px;
      display: flex;
      align-items: center;
      z-index: 9999;
    }
    /* MARQUEE */
    .callout-marquee {
      width: 220px;
      overflow: hidden;
      background: #f0f0f0;
      border-radius: 4px;
      padding: 5px;
      margin-right: 10px;
    }
    .marquee-text {
      display: inline-block;
      white-space: nowrap;
      animation: marquee 10s linear infinite;
    }
    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    /* CHAT WIDGET */
    .chat-widget { position: relative; }
    .chat-widget-toggle {
      width: 60px; height: 60px;
      background-color: #25d366;
      border-radius: 50%;
      box-shadow: 0 4px 6px rgba(0,0,0,0.3);
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      animation: pulse 2s infinite;
    }
    .chat-widget-toggle:hover {
      transform: scale(1.2);
      transition: transform 0.2s ease;
    }
    .chat-widget-toggle img { width: 28px; height: 28px; }
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.15); }
      100% { transform: scale(1); }
    }
    .chat-widget-content {
      position: absolute;
      bottom: 70px; right: 0;
      width: 350px;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      overflow: hidden;
      opacity: 0; visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
    }
    .chat-widget.open .chat-widget-content {
      opacity: 1; visibility: visible; transform: translateY(0);
    }
    .chat-header {
      background-color: #25d366;
      color: #fff;
      padding: 16px;
      font-size: 14px;
      line-height: 1.4;
    }
    .chat-body { padding: 16px; background: #fff; }
    .chat-notice { font-size: 12px; color: #888; margin-bottom: 12px; }
    .chat-member {
      display: flex; align-items: center;
      margin-bottom: 12px;
      text-decoration: none; color: inherit;
      padding: 4px; border-radius: 8px;
      transition: background-color 0.2s ease;
    }
    .chat-member:hover { background-color: #f9f9f9; }
    .chat-member-avatar {
      width: 40px; height: 40px;
      border-radius: 50%; object-fit: cover;
    }
    .chat-member-info { flex-grow: 1; margin-left: 8px; }
    .chat-member-name {
      margin: 0; font-weight: 600; font-size: 14px;
    }
    .chat-member-position {
      margin: 0; font-size: 12px; color: #666;
    }
    .chat-member-action { width: 24px; height: 24px; margin-left: 8px; }
    .dotted-line { border-top: 1px dashed #ccc; margin: 8px 0; }