.sscom-container {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.sscom-config-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 垂直居中对齐 */
    margin: 1em 0;
}

.sscom-config-area {
    display: none;
}

/* 按钮样式 */
.sscom_button {
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
}

.sscom_button.blue {
    background-color: #3b82f6;
}

.sscom_button.blue:hover {
    background-color: #2563eb;
}

.sscom_button.green {
    background-color: #22c55e;
}

.sscom_button.green:hover {
    background-color: #16a34a;
}

/* 配置区域显示隐藏按钮样式 */
#toggleConfig {
    cursor: pointer;
}

/* 配置行样式 */
.sscom-config-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

/* 配置项样式 */
.sscom-config-item {
    display: flex;
    width: 25%;
    justify-content: space-between;
    align-items: center;
}

/* 标签样式 */
.sscom-config-item label {
    display: block;
    margin-bottom: 0.25rem;
}

/* 选择框样式 */
.sscom-config-item select {
    border: 1px solid #d1d5db;
    padding: 0.5rem;
    border-radius: 0.375rem;
    width: 6em;
}

/* 复选框样式 */
.sscom-config-item input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* 状态区域样式 */
.sscom-status {
    margin-bottom: 1rem;
}

/* 发送文本框样式 */
.sscom-send-history {
    border: 1px solid #d1d5db;
    padding: 0.5rem;
    border-radius: 0.375rem;
    height: 8rem;
    overflow-y: auto;
    margin: 1em 0em;
}
.sscom-send-history input{
    margin-bottom: 0em; 
    padding: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.sscom-send-text {
    width: -webkit-fill-available;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem !important;
    min-height: 1rem !important;
    height: 1rem;
}

/* 接收文本区域样式 */
.sscom-received-text {
    border: 1px solid #d1d5db;
    padding: 0.5rem;
    border-radius: 0.375rem;
    height: 20rem;
    overflow-y: auto;
    margin: 1em 0em;
    word-wrap: break-word;
}
