/* 整体页面样式 */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    
    background-image:url("../chaxun/images/bg1.gif");

}

/* 侧边栏样式 */
aside {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-right: 20px;
    width: 200px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.sidebar-section {
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.sidebar-section:hover {
    background-color: #eaeaea;
}

.sidebar-section a {
    text-decoration: none;
    color: inherit;
}

/* 主内容区域样式 */
main#mainContent {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 40%;
    min-height: 400px;
}

/* 页面内容样式 */
#souyePage,
#registerPage,
#ptpurlPage {
    display: none;
    padding: 20px;
    text-align: flex;
}

#souyePage.active,
#registerPage.active,
#ptpurlPage.active {
    display: block;
}

#souyePage h2,
#registerPage h3,
#ptpurlPage h3 {
    margin-bottom: 20px;
}

#registerForm {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#registerForm label {
    margin-bottom: 5px;
    text-align: left;
    width: 100%;
}

#registerForm input {
    margin-bottom: 15px;
    padding: 8px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#message {
    margin-top: 10px;
    color: red;
}

#ptpurlPage input {
    margin-bottom: 15px;
    padding: 8px;
    width: 50%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#generatedUrl {
    margin-top: 10px;
}

/* h3标题样式 */
h3 {
    color: #333;
    margin-bottom: 20px;
}
/* 输入框样式 */
#name {
    width: 180px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
}
#alipay_account {
    width: 180px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
}
#inputBox {
    width: 160px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
}
/* 按钮样式 */
button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #0056b3;
}
form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: fit-content;
}
label {
    display: block;
}

a {
          text-decoration: none;
        }
/* 用于显示生成URL的div样式 */
#generatedUrl {
    font-size: 18px;
    color: blue;
    text-decoration: underline;
    margin-top: 15px;
    word-break: break-all;
}