:root {
      --wa-primary: #25D366;
      --wa-dark: #075E54;
      --wa-bg: #EFEAE2;
      --wa-card: #FFFFFF;
      --wa-text: #1F2937;
      --wa-muted: #6B7280;
    }

    /* Widget Ana Kapsayıcı */
    .hizli-iletisim-wrapper {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 99999;
      font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    /* Yüzen Tetikleyici Buton */
    .hi-trigger-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 12px 20px;
      cursor: pointer;
      box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      position: relative;
      overflow: hidden;
    }

    .hi-trigger-btn:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
    }

    .hi-trigger-btn svg {
      width: 26px;
      height: 26px;
      fill: #fff;
      flex-shrink: 0;
    }

    .hi-trigger-text {
      font-weight: 600;
      font-size: 14px;
      letter-spacing: 0.3px;
      white-space: nowrap;
    }

    /* Bildirim Noktası Animasyonu */
    .hi-badge {
      position: absolute;
      top: 10px;
      left: 38px;
      width: 10px;
      height: 10px;
      background-color: #ff3b30;
      border: 2px solid #fff;
      border-radius: 50%;
      animation: pulseBadge 2s infinite;
    }

    @keyframes pulseBadge {
      0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
      70% { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); }
      100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
    }

    /* Sohbet Penceresi */
    .hi-chat-box {
      position: absolute;
      bottom: 72px;
      right: 0;
      width: 340px;
      max-width: calc(100vw - 48px);
      background: var(--wa-card);
      border-radius: 20px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px) scale(0.95);
      transform-origin: bottom right;
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hi-chat-box.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    /* Üst Başlık (Header) */
    .hi-header {
      background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
      color: #fff;
      padding: 18px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .hi-header-info {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .hi-avatar {
      width: 42px;
      height: 42px;
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(5px);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .hi-avatar svg {
      width: 24px;
      height: 24px;
      fill: #fff;
    }

    .hi-online-dot {
      position: absolute;
      bottom: 1px;
      right: 1px;
      width: 10px;
      height: 10px;
      background: #25D366;
      border: 2px solid #075E54;
      border-radius: 50%;
    }

    .hi-title-group h4 {
      margin: 0;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.2px;
    }

    .hi-title-group span {
      font-size: 11px;
      opacity: 0.85;
      display: block;
      margin-top: 2px;
    }

    .hi-close-btn {
      background: rgba(255, 255, 255, 0.12);
      border: none;
      color: #fff;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      transition: background 0.2s;
    }

    .hi-close-btn:hover {
      background: rgba(255, 255, 255, 0.25);
    }

    /* Sohbet Gövdesi */
    .hi-body {
      padding: 20px;
      background-color: var(--wa-bg);
      background-image: radial-gradient(#d1ccc2 1px, transparent 1px);
      background-size: 16px 16px;
      min-height: 140px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .hi-welcome-msg {
      background: #fff;
      color: var(--wa-text);
      padding: 12px 15px;
      border-radius: 0 16px 16px 16px;
      font-size: 13px;
      line-height: 1.5;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
      position: relative;
      max-width: 88%;
      animation: msgPop 0.4s ease forwards;
    }

    .hi-msg-time {
      display: block;
      text-align: right;
      font-size: 10px;
      color: var(--wa-muted);
      margin-top: 4px;
    }

    /* Hızlı Seçim Etiketleri */
    .hi-quick-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 4px;
    }

    .hi-tag {
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid #d1d5db;
      color: #374151;
      font-size: 11px;
      font-weight: 500;
      padding: 5px 10px;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .hi-tag:hover {
      background: #25D366;
      color: #fff;
      border-color: #25D366;
    }

    /* Mesaj Yazma ve Gönderme Alanı */
    .hi-footer {
      padding: 12px 14px;
      background: #F0F2F5;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .hi-input {
      flex: 1;
      border: none;
      background: #fff;
      padding: 11px 15px;
      border-radius: 24px;
      font-size: 13px;
      font-family: inherit;
      color: var(--wa-text);
      outline: none;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      transition: box-shadow 0.2s;
    }

    .hi-input:focus {
      box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.35);
    }

    .hi-send-btn {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: none;
      background: var(--wa-primary);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: transform 0.2s, background 0.2s;
      box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
    }

    .hi-send-btn:hover {
      background: #1ebe5d;
      transform: scale(1.06);
    }

    .hi-send-btn svg {
      width: 18px;
      height: 18px;
      fill: #fff;
      margin-left: 2px;
    }

    @keyframes msgPop {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }