/* Debate Widget Styles */
#debate-widget-container {
    font-family: sans-serif;
    background: #1e1e1e; /* Dark background for the widget area */
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 20px auto; /* Centers the widget */
    text-align: center;
}

#debate-widget-container input {
    padding: 10px;
    width: 70%;
    border-radius: 5px;
    border: none;
    margin-bottom: 10px;
}

#debate-widget-container button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin: 5px;
}

#debate-widget-container .btn-start { background: #00ba2b; color: white; }
#debate-widget-container .btn-start:hover { background: #009623; }

#debate-widget-container .btn-stop { background: #b80012; color: white; }
#debate-widget-container .btn-stop:hover { background: #91000e; }

/* Chat Area */
#debate-widget-container #chat-box {
    background: #252526;
    height: 400px; /* Fixed height with scroll */
    overflow-y: auto;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 20px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

#debate-widget-container .message {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 8px;
    max-width: 80%;
    line-height: 1.4;
}

#debate-widget-container .For { background-color: #0d47a1; align-self: flex-start; margin-right: auto; }
#debate-widget-container .Against { background-color: #b71c1c; align-self: flex-end; margin-left: auto; }
#debate-widget-container .system { background-color: #555; align-self: center; font-style: italic; font-size: 0.9em; }
#debate-widget-container .Judge { background-color: #FFD700; color: black; align-self: center; font-weight: bold; border: 2px solid #fff; }