/* TSX Converter スタイル */
.goriweb-tsx-converter {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.goriweb-tsx-converter h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.tsx-input label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.tsx-input textarea,
.tsx-output textarea {
    width: 100%;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tsx-actions {
    margin: 15px 0;
}

.tsx-actions button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.tsx-actions button:hover {
    background-color: #005a87;
}

.tsx-output {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tsx-output h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.tsx-output h5 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 14px;
}

.tsx-output-html,
.tsx-output-js {
    margin-bottom: 15px;
}

.component-id-field {
    margin-bottom: 15px;
}

.component-id-field input {
    padding: 5px;
    width: 300px;
    margin-top: 5px;
}

.component-id-field .description {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

.tsx-output-combined {
    position: relative;
}

.tsx-output .description {
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}

#tsx-copy-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 3px 10px;
    font-size: 12px;
    background: #f7f7f7;
    border: 1px solid #ccc;
}

#tsx-copy-btn:hover {
    background: #eee;
}

#tsx-output-combined {
    width: 100%;
    padding: 10px;
    font-family: monospace;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 追加スタイル */
.goriweb-tsx-options {
    margin-bottom: 15px;
}

.goriweb-tsx-options input {
    display: block;
    width: 100%;
    max-width: 400px;
    padding: 5px 8px;
    margin-top: 5px;
}

.goriweb-tsx-options .description {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

.goriweb-tsx-output-combined {
    position: relative;
}

.goriweb-tsx-output-combined textarea {
    width: 100%;
    min-height: 200px;
    padding: 10px;
    font-family: monospace;
    font-size: 13px;
}

#tsx-copy-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 3px 10px;
    font-size: 12px;
    cursor: pointer;
}

#tsx-copy-message {
    color: green;
    margin-left: 10px;
}

.goriweb-tsx-output .description {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}