body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: #f4f4f4;
    padding: 20px;
		
		-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* ป้องกันทุกเบราว์เซอร์ */
}

body, .container, #question {
    user-select: none; 
}

#editor {
    background: #1e1e1e; /* สีพื้นหลังคล้าย VS Code */
    color: #d4d4d4; /* สีตัวอักษร */
    font-family: Consolas, "Courier New", monospace;
    font-size: 16px;
    border: 1px solid #3c3c3c;
    outline: none;
    resize: none;
    line-height: 1.5;
    border-radius: 5px;
}

/* เปลี่ยนสีเวลาโฟกัส */
#editor:focus {
    border-color: #007acc;
}

.container {
    max-width: 600px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: auto;
}

textarea {
    width: 100%;
    height: 150px;
    margin-top: 10px;
}

button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #ddd;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

iframe {
    width: 100%;
    height: 150px;
    border: 1px solid #ddd;
    margin-top: 10px;
}
