/* Botón flotante */
#dcg-bot-launcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #D93030;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 9999;
    transition: transform 0.3s;
}

#dcg-bot-launcher:hover { transform: scale(1.1); }

/* Ventana del Chat */
#dcg-bot-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none; /* Oculto por defecto  */ 
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}

/* El header */
.dcg-bot-header {
    background: #D93030;
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lang-btn.active {
    background: white;
    color: #D93030;
    border-color: white;
}

/* Cuerpo del chat / Formulario */
.dcg-bot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.dcg-bot-input-group { margin-bottom: 15px; }
.dcg-bot-input-group label { display: block; font-size: 12px; margin-bottom: 5px; }
.dcg-bot-input-group input { 
    width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; 
}

.dcg-bot-submit {
    width: 100%; padding: 12px; background: #D93030; color: white; 
    border: none; border-radius: 8px; cursor: pointer; font-weight: bold;
}

/* Quick Question Buttons */
.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.quick-btn {
    padding: 8px 14px;
    background: white;
    color: #D93030;
    border: 2px solid #D93030;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: #D93030;
    color: white;
    transform: translateY(-2px);
}

/* Bot Messages */
.bot-message {
    background: #f0f0f0;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.bot-message p {
    margin: 0 0 10px 0;
}