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

body {
    background: #f5f5f5;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.panel {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    margin-bottom: 15px;
    color: #444;
}

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

.buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

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

button:hover {
    background: #2980b9;
}

#qrBtn {
    background: #2ecc71;
}

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

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

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

.response-section h3 {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.response-content {
    min-height: 100px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 10px;
    word-break: break-all;
}

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

.response-info {
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: space-between;
}

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

.error {
    color: #e74c3c;
}

.success {
    color: #2ecc71;
}