body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f0f2f5;
}

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

.button-group button {
    margin: 5px;
    padding: 10px 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.custom-url {
    margin: 15px 0;
}

.custom-url input {
    width: 300px;
    padding: 8px;
    margin-right: 10px;
}

.result-box {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.question-item {
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-left: 4px solid #4CAF50;
}

.error {
    color: #ff4444;
    margin-top: 10px;
}

.loading {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    gap: 20px; /* 动画和文本之间的间距 */
    padding: 10px;
    background: rgba(0, 0, 0, 0); /* 背景颜色 */
    border-radius: 8px; /* 圆角 */
    color: rgb(12, 12, 12); /* 文本颜色 */
    font-size: 16px; /* 文本大小 */
}

.scalableBox {
    width: 40px;
    height: 70px;
}

.apringBox {
    transition: stroke 0.3s;
}

.apwormOneBox,
.apwormTwoBox {
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

.apwormTwoBox {
    animation-name: worm2;
    visibility: hidden;
}

.apwormOneBox {
    animation-name: worm1;
}

.loading-text {
    font-family: Arial, sans-serif;
    font-weight: bold;
}

@keyframes worm1 {
    from {
        animation-timing-function: ease-in-out;
        stroke-dashoffset: -87.96;
    }

    20% {
        animation-timing-function: ease-in;
        stroke-dashoffset: 0;
    }

    60% {
        stroke-dashoffset: -791.68;
        visibility: visible;
    }

    60.1%,
    to {
        stroke-dashoffset: -791.68;
        visibility: hidden;
    }
}

@keyframes worm2 {
    from,
    60% {
        stroke-dashoffset: -87.96;
        visibility: hidden;
    }

    60.1% {
        animation-timing-function: cubic-bezier(0, 0, 0.5, 0.75);
        stroke-dashoffset: -87.96;
        visibility: visible;
    }

    77% {
        animation-timing-function: cubic-bezier(0.5, 0.25, 0.5, 0.88);
        stroke-dashoffset: -340;
        visibility: visible;
    }

    to {
        stroke-dashoffset: -669.92;
        visibility: visible;
    }
}
/* 新增以下样式 */
.question-content {
    padding: 15px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 4px;
}

textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

.submit-button {
    margin: 10px 0;
    padding-top: 20px;
    background: #2196F3;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    float: right;
}

.result-area {
    margin-top: 65px;
    padding: 15px;
    border-radius: 4px;
}

.result-area.success {
    background: #e8f5e9;
    border-left: 4px solid #4CAF50;
}

.result-area.error {
    background: #ffebee;
    border-left: 4px solid #ff4444;
}
/* 如果希望输入框更大 */
textarea {
    font-size: 18px;  /* 进一步增大字体 */
    padding: 15px;    /* 增加内边距 */
    min-height: 200px;  /* 设置最小高度 */
    resize: vertical;  /* 设置垂直方向可拉伸 */
    width: 100%;       /* 设置宽度为 100% */
    border: 2px solid #a5b29d;  /* 设置边框 */
    border-radius: 10px;     /* 设置圆角 */
    box-sizing: border-box;  /* 设置盒模型 */
    margin: 5px 0px;         /* 设置外边距 */
}

/* 输入框获得焦点时高亮 */
textarea:focus {
    border-color: #2196F3;
    box-shadow: 0 0 5px rgba(33,150,243,0.3);
    outline: none;
}
.back-button {
    background: #650404b2;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
}

.back-button:hover {
    background:#fa8e5c;
}

.more-references-button {
    padding-top: 10px;
    background-color: #f9e4e4;
    color: rgb(136, 85, 65); 
    border: none; 
    padding: 10px 20px; /* 内边距 */
    text-align: center; /* 文字居中 */
    text-decoration: none; /* 无下划线 */
    display: inline-block; /* 内联块元素 */
    font-size: 16px; /* 字体大小 */
    margin: 10px 2px; /* 外边距 */
    cursor: pointer; /* 鼠标指针 */
    border-radius: 4px; /* 圆角 */
    transition-duration: 0.05s; /* 过渡时间 */
}

.more-references-button:hover {
    background-color: rgb(245, 195, 195); /* 悬停时背景变为白色 */
    color:  #0f0b44ba; /* 悬停时文字变为黑色 */
}

/* 其他样式... */