body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0; /* 修改這裡，移除左右 padding */
    background-color: #f0f4f8;
    color: #333;
    position: relative;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-top: 0px;
    margin-bottom: 20px;
}

textarea {
    width: 100%; /* 修改這裡 */
    height: calc(85vh - 150px);
    min-height: 200px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box; /* 添加這行 */
}

button {
    display: block;
    width: 200px;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 16px;
    color: white;
    background-color: #3498db;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2ecc71;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.notification.show {
    opacity: 1;
}

.notification.hidden {
    display: none;
}

.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-selector select {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #bdc3c7;
    border-radius: 3px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
}

.language-selector select:hover {
    border-color: #3498db;
}

.language-selector button {
    background-color: #34495e;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 3px;
}

.language-selector button:hover {
    background-color: #2c3e50;
}
