/* 添加基础样式 */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

a {
    width: 100%;
    padding: 0.5rem;
}


input {
    width: 70%;
    padding: 0.5rem;
    margin-top: 1rem;
}

button {
    padding: 0.5rem 1rem;
    /* Adjusted padding to make buttons wider */
    background: #007bff;
    color: white;
    border: none;
    margin-left: 10px;
    /* 添加按钮间距 */
    min-width: 100px;
    /* Ensures buttons can accommodate more characters */
}

textarea#urlInput {
    width: 100%;
    height: 200px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 17px;
}

textarea#resultArea {
    width: 100%;
    height: 400px;
    margin-top: 1rem;
    font-size: 17px;
    background-color: #f5f5f5;
    color: #444;
    cursor: text;
    user-select: text;
    resize: none; /* Keep layout stable */
}

#urlInput,
#processBtn {
    display: block;
    /* 隐藏元素 */
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#youtubeLink {
    flex-grow: 1;
    /* 左对齐 */
    text-align: left;
}

.right-buttons {
    display: flex;
    gap: 10px;
    /* 按钮间距 */
}