/* Social Media Widget - Bottom Version */
:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;
}

        .social-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px; /* Increased gap for better spacing */
}

.ai-assistant-icon {
    order: 3; /* Positions below toggle button */
    margin-top: 10px; /* Extra space above the AI icon */
}

/* Keep all other existing CSS the same */
        
        /* Robot Icon */
        .robot-icon {
            width: 40px;
            height: 40px;
            background-color: #2a69ac;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            position: relative;
            overflow: hidden;
            order: 3; /* Positions below + button */
        }
        
        .robot-face {
            width: 24px;
            height: 16px;
            position: relative;
        }
        
        .robot-eye {
            position: absolute;
            width: 5px;
            height: 7px;
            background-color: white;
            border-radius: 50%;
            top: 4px;
            animation: blink 4s infinite;
        }
        
        .robot-eye.left {
            left: 4px;
        }
        
        .robot-eye.right {
            right: 4px;
        }
        
        @keyframes blink {
            0%, 45%, 55%, 100% { height: 7px; }
            48%, 52% { height: 1px; top: 8px; }
        }
        
        /* Toggle Button */
        .social-toggle {
            background-color: black;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            transition: all 0.3s;
            font-size: 20px;
            order: 2; /* Positions above robot */
        }
        
        .social-toggle:hover {
            transform: scale(1.1);
        }
        
        .social-toggle.active {
            transform: rotate(45deg);
        }
        
        /* Social Icons */
        .social-icons {
            display: none;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 10px;
            order: 1; /* Places icons at the top */
            animation: fadeIn 0.3s ease;
        }
        
        .social-icons.active {
            display: flex;
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: relative;
            transition: all 0.3s;
        }
        
        .social-icon:hover {
            transform: translateY(-3px);
        }
        
        .social-icon.facebook { background-color: #3b5998; }
        .social-icon.whatsapp { background-color: #25D366; }
        .social-icon.youtube { background-color: #FF0000; }
        .social-icon.instagram { 
            background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
        }
        
        .social-message {
            position: absolute;
            right: 50px;
            top: 0;
            background-color: black;
            color: white;
            padding: 8px 12px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            font-size: 14px;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .social-icon.active .social-message {
            opacity: 1;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .ad-container iframe {
    border: none;
    max-width: 100%;
  }
  
  @media (max-width: 768px) {
    .ad-container {
      height: auto;
    }
  }
  
  .ad-notice {
  color: var(--light);
  background-color: #212121;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ad-notice.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

#adNotice {
  color: var(--light);
  background-color: #212121;
  font-weight: bold;
  font-size: 14px;
  padding: 10px 20px;
  margin: 10px auto;
  border-radius: 6px;
  max-width: 800px;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.orange-text {
    color: #ff7300;
    font-weight: bold; /* Optional: make the text bold */
}
.red-text {
    color: #ff0a00;
    font-weight: bold; /* Optional: make the text bold */
}

.social-icon.search {
    background-color: #2196F3; /* Blue background */
    color: white;
}

.social-icon.search:hover {
    background-color: #0b7dda; /* Darker blue on hover */
    transform: translateY(-3px);
}

.social-icon.search .social-message {
    background-color: #2196F3; /* Match icon color */
    color: white;
}

.social-icon.search i {
    color: white;
}

/* AI Assistant Icon */
.ai-assistant-icon {
    width: 50px;
    height: 50px;
    background-color: #2a69ac;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    transition: all 0.3s;
}

.ai-head {
    position: relative;
    width: 30px;
    height: 30px;
}

.ai-face {
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.ai-eyes {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 5px;
    position: absolute;
    top: 8px;
}

.ai-eye {
    width: 6px;
    height: 8px;
    background-color: #2a69ac;
    border-radius: 50%;
    animation: ai-blink 4s infinite;
}

.ai-eye.left {
    margin-right: 5px;
}

.ai-eye.right {
    margin-left: 5px;
}

.ai-mouth {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 3px;
    background-color: #2a69ac;
    border-radius: 2px;
}

.ai-antenna {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background-color: #2a69ac;
    border-radius: 2px;
}

@keyframes ai-blink {
    0%, 45%, 55%, 100% { height: 8px; }
    48%, 52% { height: 1px; }
}

.ai-assistant-icon:hover {
    transform: scale(1.1);
    background-color: #1e4e8c;
}