* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: #f5f5fa;
    padding: 20px;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

.container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.panel {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background-color: #fafafa;
}

.btn-green,
.btn-red,
.btn-yellow {
    border-radius: 5px;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-green:hover {
    background-color: #4CAF50;
    color: white;
}

.btn-red:hover {
    background-color: #f44336;
    color: white;
}

.btn-yellow:hover {
    background-color: #ffeb3b;
    color: black;
}

.container {
    max-width: 1366px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

h1 {
    margin-bottom: 24px;
    color: #2d3a4b;
    font-size: 2.2rem;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 700;
}

.panel {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow-x: auto;
}

.main-left {
    flex: 1;
    min-width: 320px;
    max-width: 480px auto;
}

textarea,
.request-input {
    width: 100%;
    height: 150px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    resize: vertical;
}

.checkbox-group label {
    margin-right: 16px;
    font-size: 15px;
    color: #444;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    margin-top: 16px;
}

.buttons>div {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tester-input {
    width: 180px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #e3e8ee;
    font-size: 15px;
    background: #f9fafb;
}

.input-tip {
    color: #888;
    font-size: 12px;
    margin-left: 4px;
}

.btn-green {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
}

.btn-green:hover {
    background-color: #388E3C;
}

.btn-red {
    background-color: #F44336;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
}

.btn-blue {
    /* 布局相关 */
    display: block;
    margin: 24px auto;
    width: 220px;

    /* 盒模型相关 */
    padding: 8px 18px;
    border: none;
    border-radius: 6px;

    /* 视觉样式 */
    background-color: #3498db;
    color: white;

    /* 文本相关 */
    font-size: 15px;
    text-align: center;
    text-decoration: none;

    /* 交互/动画 */
    cursor: pointer;
    transition: background 0.2s;
}

.btn-yellow {
    /*
display: none;
*/
    background-color: #ffcc00;
    color: #333;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-red:hover {
    background-color: #C62828;
}

button {
    padding: 8px 16px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

button:hover {
    background: #2980b9;
}

#qrBtn {
    background: #2ecc71;
}

#qrBtn:hover {
    background: #27ae60;
}

.side-controls-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
    min-width: 400px;
}

.side-controls {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-left: 32px;
    min-width: 260px;
    width: 280px;
    align-items: flex-start;
}

.side-controls>div {
    margin-bottom: 12px;
}

.side-controls label {
    margin-bottom: 4px;
    color: #333;
    min-width: 70px;
    display: inline-block;
}

.side-controls select,
.side-controls input[type="text"] {
    width: 220px;
    height: 36px;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.response-container {
    display: flex;
    gap: 20px;
}

.response-section {
    flex: 1;
    min-width: 0;
}

.response-contentImg {
    min-height: 80px;
    padding: 12px;
    background: hsl(0, 0%, 100%);
    border-radius: 4px;
    margin-bottom: 6px;
    word-break: break-all;
    font-size: 15px;
    overflow: auto;
}

.response-contentImg img {
    max-width: 100%;
    max-height: 100px auto;
    display: block;
    margin: 10px auto;
}

.response-queueInfo {
    position: fixed;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 30%;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
    z-index: 1000;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #2c3e50;
    border: 1px solid rgba(52, 152, 219, 0.2);
    backdrop-filter: blur(5px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.response-content {
    min-height: 80px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 6px;
    word-break: break-all;
    font-size: 15px;
    overflow: auto;
}


.response-content table {
    word-break: break-all;
    table-layout: fixed;
    /*
    width: 100%;
    */
}

.response-content td,
.response-content th {
    white-space: pre-line;
    word-break: break-all;
}

.response-info {
    font-size: 14px;
    color: #666;
    text-align: left;
    margin-top: 8px;
}

.loading {
    color: #666;
    font-style: italic;
}

.error {
    color: #e74c3c;
}

.success {
    color: #2ecc71;
}

.site-footer {
    max-width: 980px;
    margin: 22px auto;
    padding: 10px 14px;
    text-align: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    box-sizing: border-box;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;
    align-items: center;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    transition: background .15s ease, transform .12s ease;
    font-size: 14px;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

@media (max-width:520px) {
    .footer-links a {
        font-size: 13px;
        padding: 6px 8px;
    }
}