/* Domain Chatbot Styles */
.chatbot-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
}

.chatbot-btn {
    display: flex;
    align-items: center;
    background: #3498db;
    color: white;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    padding: 10px 20px 10px 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.chatbot-btn:hover {
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    transform: translateY(-5px);
}

.chatbot-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 22px;
}

.chatbot-btn:hover .chatbot-icon {
    animation: bounce 0.7s ease infinite alternate;
}

.chatbot-text {
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chatbot-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    animation: chatbot-pulse 1.5s infinite;
    z-index: 1;
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.chatbot-header-title i {
    margin-right: 10px;
    font-size: 20px;
}

.chatbot-close {
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.chatbot-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.chatbot-messages {
    display: flex;
    flex-direction: column;
}

.chatbot-message {
    max-width: 80%;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.bot-message {
    align-self: flex-start;
    background: #e9ecef;
    color: #333;
    border-bottom-left-radius: 0;
}

.user-message {
    align-self: flex-end;
    background: #3498db;
    color: white;
    border-bottom-right-radius: 0;
}

.chatbot-category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.chatbot-category-button {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatbot-category-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.chatbot-domain-list {
    margin-top: 10px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chatbot-domain-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.chatbot-domain-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.chatbot-domain-item.premium-domain {
    border: 1px solid #ffc107;
    background-color: #fffbf0;
}

.chatbot-domain-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    padding: 2px 10px;
    font-size: 10px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chatbot-domain-badge.premium {
    background: #ffc107;
    color: #333;
}

.chatbot-domain-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.chatbot-domain-price {
    color: #28a745;
    font-weight: 600;
    font-size: 14px;
}

.chatbot-more-button {
    padding: 10px;
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    margin-top: 5px;
    cursor: pointer;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    transition: all 0.2s ease;
}

.chatbot-more-button:hover {
    background: #e9ecef;
    color: #495057;
}

.chatbot-footer {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-top: 1px solid #dee2e6;
}

.chatbot-input {
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.chatbot-input:focus {
    border-color: #3498db;
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.chatbot-send:hover {
    background: #2980b9;
    transform: scale(1.05);
}

/* Typing Animation */
.typing-indicator {
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #adb5bd;
    margin-right: 4px;
    animation: typing 1s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
    margin-right: 0;
}

@keyframes typing {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes chatbot-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .chatbot-button {
        bottom: 80px;
        right: 20px;
        z-index: 1010;
        display: flex !important;
    }

    .chatbot-btn {
        padding: 8px 15px 8px 8px;
        display: flex !important;
    }

    .chatbot-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .chatbot-text {
        font-size: 12px;
        display: block !important;
    }

    .chatbot-container {
        bottom: 140px;
        right: 10px;
        width: calc(100% - 20px);
        height: 450px;
        max-height: 60vh;
    }
} 