﻿.demo-content {
    max-width: 800px;
    margin: 0 auto;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

    .demo-content h1 {
        font-size: 2.5em;
        margin-bottom: 20px;
    }

    .demo-content p {
        font-size: 1.2em;
        opacity: 0.9;
    }
.empty-message,
.ai-message:empty,
deep-chat .ai-message:has(span:only-child) {
    display: none !important;
}
/* Chat Butonu */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: auto;
    height: 50px;
    color:#fff;
    border-radius: 15px;
    background: #0072a7;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    padding:15px 20px;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
}
.chat-button i{margin-right:10px; font-size:20px;}
    .chat-button:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    }

    .chat-button svg {
        width: 28px;
        height: 28px;
        fill: white;
        transition: transform 0.3s ease;
    }

    .chat-button.active svg {
        transform: rotate(180deg);
    }
.input-button{padding-bottom:10px !important;}
/* Chat Balonu Bildirim */
.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Chat Penceresi */
.chat-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 10001;
    animation: slideUp 0.3s ease;
}

    .chat-container.show {
        display: flex;
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Başlığı */
.chat-header {
    background: #0072a7;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    overflow:hidden;
}
    .chat-avatar img{width:100%;}

    .chat-header-text h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }

.chat-status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.close-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 24px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

    .close-button:hover {
        background: rgba(255, 255, 255, 0.2);
    }

/* Chat İçeriği */
.chat-content {
    flex: 1;
    overflow: hidden;
}

/* Mobil Uyumluluk */
@media (max-width: 480px) {
    .chat-container {
        width: calc(100vw - 40px);
        height: calc(80vh - 140px);
        right: 20px;
        bottom: 100px;
    }

    .chat-button {
        bottom: 20px;
        right: 20px;
    }
}
