#tcs-chat-container {
    max-width: 500px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

#tcs-chat-box {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#tcs-messages {
    padding: 15px;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
    background: #f9f9f9;
}

.tcs-system {
    text-align: center;
    color: #888;
    font-size: 12px;
    padding: 8px;
    background: #eee;
    border-radius: 20px;
    margin-bottom: 10px;
}

#tcs-input-area {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
}

#tcs-user-name {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

#tcs-user-question {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}

#tcs-send-btn {
    background: #0088cc;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

#tcs-send-btn:hover {
    background: #006699;
}

#tcs-send-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}

#tcs-status {
    padding: 10px 15px;
    font-size: 14px;
    color: #555;
    border-top: 1px solid #e0e0e0;
    min-height: 40px;
}

.tcs-success {
    color: #2d8a4e;
}

.tcs-error {
    color: #d32f2f;
}

.tcs-message-user {
    background: #0088cc;
    color: #fff;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    margin: 8px 0;
    max-width: 85%;
}

.tcs-message-admin {
    background: #e9ecef;
    color: #333;
    padding: 10px 15px;
    border-radius: 15px 15px 0 15px;
    margin: 8px 0 8px auto;
    max-width: 85%;
}