/* Entferne mobile Media Queries, damit das Desktop-Design überall gilt */

/* --- Chatbot Styles angepasst auf lomadesign.de --- */
.chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(65,197,184,0.7); /* #41c5b8, halbtransparent */
    color: #232323;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    z-index: 9999;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
    border: 2px solid #fff;
    backdrop-filter: blur(2px);
}

.chatbot-button:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    background: rgba(65,197,184,0.9);
    transform: scale(1.05);
}

/* Entfernte Media Queries für mobile Ansicht */

/* Logo um 15% kleiner */
.chatbot-header-logo {
    max-width: 85px !important;
    max-height: 21px !important;
}

@media (max-width: 1024px) {
  .chatbot-header-logo {
    max-width: 85px !important;
    max-height: 21px !important;
  }
}

/* Chatfenster weiter unten platzieren, oben mehr Abstand */
.chatbot-container {
    display: none;
    position: fixed;
    bottom: 5vh;
    right: 20px;
    left: auto;
    width: 380px;
    height: 480px;
    max-height: 88vh;
    min-height: 340px;
    background: rgba(255,255,255,0.92);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    z-index: 10000;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    backdrop-filter: blur(4px);
}

/*
// Größere Version (20% größer für Desktop):
@media (min-width: 1025px) {
  .chatbot-container {
    width: 456px;
    height: 576px;
    max-height: 105vh;
    min-height: 408px;
  }
}
*/

/* X-Button immer sichtbar und nicht vom Logo überdeckt */
.chatbot-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background: rgba(65,197,184,0.15);
    color: #232323;
    padding: 12px 16px;
    font-weight: 500;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    box-shadow: none;
    text-shadow: none;
}
#chatbot-close {
    color: #232323;
    opacity: 0.6;
    transition: opacity 0.2s;
    margin-left: auto;
    z-index: 3;
    position: relative;
    background: none;
}
#chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    height: 280px;
    overflow-y: auto;
    padding: 12px 10px;
    background: rgba(255,255,255,0.7);
    color: #232323;
    font-size: 0.93em;
}

.message, .user-message, .bot-message {
    font-size: 0.93em;
}

.chatbot-input {
    padding: 10px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    background: rgba(255,255,255,0.85);
}

.chatbot-input input {
    flex: 1;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    margin-right: 8px;
    background: #f7f7f7;
    color: #232323;
}

.chatbot-input button {
    padding: 8px 16px;
    background: rgba(65,197,184,0.7);
    color: #232323;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.chatbot-input button:hover {
    background: rgba(65,197,184,0.9);
}

.message {
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    max-width: 80%;
    word-break: break-word;
}

.user-message {
    background: #e0e0e0;
    color: #232323;
    margin-left: auto;
    text-align: right;
}

.bot-message {
    background: rgba(65,197,184,0.13);
    color: #232323;
    margin-right: auto;
    text-align: left;
}

.chatbot-ansprechpartner-img {
    display: block;
    margin: 10px auto 2px auto;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border: 2px solid #41c5b8;
}
.chatbot-ansprechpartner-text {
    text-align: center;
    font-size: 0.95em;
    color: #232323;
    margin-bottom: 6px;
    opacity: 0.85;
}

@media (max-width: 600px) {
  .chatbot-container {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 92vw !important;
    max-width: 92vw !important;
    min-width: 0 !important;
  }
} 