 :root {
      --primary-color: #0f0;
      --secondary-color: #f44336;
      --bg-color: #000;
      --card-bg: #111;
      --text-color: #0f0;
    }
    
    * {
      box-sizing: border-box;
    }
    
    body {
      background: var(--bg-color);
      color: var(--text-color);
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      display: flex;
      flex-direction: column;
      height: 100vh;
      margin: 0;
      padding: 20px 25px;
      user-select: none;
    }
    
	
    /* Fixed Action Buttons */
    .fixed-actions {
      position: fixed;
      right: 20px;
      bottom: 20px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      z-index: 1000;
    }
    
    .action-btn {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    
    .action-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    }
    
    .action-btn.primary {
      background: var(--primary-color);
      color: #000;
    }
    
    .action-btn.secondary {
      background: var(--secondary-color);
      color: white;
    }
    
	.action-btn span {
    display: none; /* Varsayılan olarak gizli */
    position: absolute;
    top: -35px;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .action-btn:hover span {
    display: block;
    opacity: 1;
  }
  
    /* Tag List */
 #tag-list {
  display: flex;
  flex-wrap: wrap;       /* Alt satıra geçsin */
  gap: 10px;
  
  margin-bottom: 15px;
  max-height: 105px;     /* Maksimum yükseklik */
  overflow-y: auto;      
  scrollbar-width: thin; 
}

/* Chrome/Safari scrollbar */
#tag-list::-webkit-scrollbar {
  width: 6px; 
}
#tag-list::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 3px;
}
#tag-list::-webkit-scrollbar-track {
  background: transparent;
}

    
    .tag {
	margin-bottom:1.5px;
	margin-top:1.5px;
	margin-left:2px;
      display: flex;
      align-items: center;
      background: #222;
      color: var(--secondary-color);
      border-radius: 15px;
      padding: 3px 10px;
      font-weight: bold;
      font-size: 0.7rem;
      user-select: none;
      box-shadow: 0 0 8px var(--secondary-color);
      cursor: pointer;
      white-space: nowrap;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    .tag .close-btn {
      margin-left: 8px;
      cursor: pointer;
      font-weight: normal;
      font-size: 1.2rem;
      line-height: 1;
      user-select: none;
      color: var(--secondary-color);
    }
    
    .tag .close-btn:hover {
      color: #ff7961;
    }
    
    /* Search Container */
    #search-container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-bottom: 15px;
    }
    
    #search {
      flex-grow: 1;
      font-size: 1.1rem;
      padding: 10px 15px;
      height: 40px;
      border: none;
      border-radius: 24px;
      box-shadow: 0 2px 6px rgba(0, 255, 0, 0.3);
      background: var(--card-bg);
      color: var(--text-color);
      outline: none;
      transition: box-shadow 0.3s ease, background-color 0.3s ease;
      background-image: url("data:image/svg+xml;utf8,<svg fill='lime' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M21.53 20.47l-5.15-5.15A7.92 7.92 0 0016 9a8 8 0 10-8 8 7.92 7.92 0 006.32-3.62l5.15 5.15a.75.75 0 001.06-1.06zM4 9a5 5 0 115 5 5 5 0 01-5-5z'/></svg>");
      background-repeat: no-repeat;
      background-position: right 20px center;
      background-size: 24px 24px;
      min-width: 200px;
    }
    
    #search::placeholder {
      color: #4caf50aa;
      font-weight: 500;
    }
    
    #search:focus {
      box-shadow: 0 4px 12px rgba(0, 255, 0, 0.7);
      background: #161616;
    }
    
    /* Chat Container */
    #chat {
      flex: 1;
      overflow-y: auto;
      padding: 10px 5px;
      white-space: pre-wrap;
      word-wrap: break-word;
      margin-bottom: 20px;
      background: transparent;
      font-size: 1rem;
      line-height: 1.5;
      letter-spacing: 0.04em;
      scrollbar-width: thin;
      scrollbar-color: var(--primary-color) transparent;
    }
    
    #chat::-webkit-scrollbar {
      width: 8px;
    }
    
    #chat::-webkit-scrollbar-track {
      background: transparent;
    }
    
    #chat::-webkit-scrollbar-thumb {
      background-color: var(--primary-color);
      border-radius: 10px;
    }
    
    /* Message Cards */
    .message-card {
      background: var(--card-bg);
      border: 1px solid var(--primary-color);
      border-radius: 10px;
      padding: 15px;
      margin-bottom: 15px;
      box-shadow: 0 4px 8px rgba(0, 255, 0, 0.2);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    
    .message-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgba(0, 255, 0, 0.3);
    }
    
    .message-content {
      margin-bottom: 10px;
    }
    
    .phone-number {
      color: var(--primary-color);
      font-weight: bold;
      text-decoration: none;
      cursor: pointer;
      margin-right: 10px;
    }
    
    .phone-number:hover {
      text-decoration: underline;
    }
    
    .action-icons {
      display: flex;
      gap: 10px;
      margin-top: 10px;
    }
    
    .action-icon {
      cursor: pointer;
      font-size: 1.1rem;
      transition: transform 0.2s;
    }
    
    .action-icon:hover {
      transform: scale(1.2);
    }
    
    .call-icon {
      color: #4CAF50;
    }
    
    .block-icon {
      color: var(--secondary-color);
    }
    
    /* Bottom Controls */
    .bottom-controls {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0;
    }
    
    /* Highlight */
    .highlight {
      background-color: var(--secondary-color);
      color: #fff;
      font-weight: bold;
      padding: 0 3px;
      border-radius: 3px;
    }
    
    /* Responsive */
    @media (max-width: 600px) {
      body {
        padding: 15px 10px;
      }
      
      #search-container {
        gap: 8px;
      }
      
      #search {
        min-width: 150px;
      }
      
      .fixed-actions {
        right: 10px;
        bottom: 10px;
      }
      
      .action-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
      }
    }