#smc-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-family: Arial, sans-serif;
    z-index: 9999;
}

#smc-toggle {
    background: #d71a21;
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


#smc-window {
    background: white;
    width: 350px;
    height: 500px;
    border: 2px solid #d71a21;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

#smc-header {
    background: #d71a21;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

#smc-close {
    background: none;
    border: none;
    font-size: 18px;
    color: white;
    cursor: pointer;
}

#smc-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.smc-message.bot {
    background: #f6f6f6;
    padding: 8px;
    border-radius: 5px;
    color: #333;
    margin-bottom: 5px;
}

.smc-message.user {
    background: #d71a21;
    color: white;
    padding: 8px;
    border-radius: 5px;
    text-align: right;
    margin-bottom: 5px;
}

#smc-options {
    padding: 8px;
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

#smc-options button {
    flex: 1;
    border: 1px solid #d71a21;
    border-radius: 5px;
    background: white;
    color: #d71a21;
    font-weight: bold;
    padding: 8px;
    transition: background-color 0.2s;
    font-size: 12px;
}

#smc-options button:hover {
    background-color: #d71a21;
    color: white;
}

#smc-more {
    padding: 8px;
    border-top: 1px solid #ccc;
    text-align: right;
}

#smc-altro-btn {
    background: #d71a21;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.smc-link-btn {
    display: inline-block;
    padding: 5px 10px;
    background: #d71a21;
    color: white !important;
    border-radius: 4px;
    text-decoration: none;
    margin: 4px 0;
}

.smc-contact-btn {
    display: inline-block;
    background: #28a745;
    color: white !important;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}
