/* Chatbot Floating Button */
.chatbot-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #c59173 0%, #8ba19e 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1000;
    display: none; /* Varsayılan KAPALI */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid #fff;
}

.chatbot-button.active {
    display: flex; /* URL parameter ile açılır */
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.chatbot-button .logo {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #c59173;
    text-align: center;
    line-height: 1.1;
}

/* Chat Container */
.chatbot-container {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
}

.chatbot-header {
    background: linear-gradient(135deg, #c59173 0%, #8ba19e 100%);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 16px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255,255,255,0.2);
}

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

.message {
    margin-bottom: 15px;
}

.bot-message {
    background: #fff;
    padding: 12px 15px;
    border-radius: 15px 15px 15px 5px;
    border-left: 4px solid #c59173;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.options-container {
    margin-top: 15px;
}

.option-btn {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-size: 14px;
}

.option-btn:hover {
    background: #c59173;
    color: white;
    border-color: #c59173;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .chatbot-container {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        bottom: 80px;
        right: 20px;
        left: 20px;
    }
}
