/* assets/css/partials/sidetoolbar.css */
.fixed-right-toolbar {
    position: fixed;
    top: 50%;
    right: 0; /* Aligns the whole bar to the right edge of the viewport */
    transform: translateY(-50%);
    z-index: 1030;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Ensures items align to the right if their widths were to vary */
    /* Removed background, border, padding, own border-radius, own box-shadow from container */
}

.toolbar-item {
    display: flex; /* For centering icon */
    align-items: center; /* Vertical centering */
    justify-content: center; /* Horizontal centering */
    width: 55px;  /* Width of the square button */
    height: 55px; /* Height of the square button */
    background-color: #FFB800; /* Gold background color */
    color: #fff; /* White icon color for better contrast */
    font-size: 24px; /* Increased icon size */
    transition: background-color 0.3s ease, opacity 0.3s ease;
    border-radius: 5px 0 0 5px; /* Rounded corners on the left side, sharp on the right */
    margin-bottom: 10px; /* Space between items */
    box-shadow: -2px 2px 5px rgba(0,0,0,0.15); /* Shadow for a 3D effect */
    text-decoration: none; /* Remove underline from links */
    position: relative; /* For potential future use with tooltips or badges */
}

.toolbar-item:last-child {
    margin-bottom: 0; /* No margin for the last item in the toolbar */
}

.toolbar-item:hover {
    background-color: #e6a600; /* Darker shade of gold on hover */
    opacity: 0.95;
    color: #fff; /* Ensure text color remains white on hover */
}

.toolbar-item i {
    line-height: 1; /* Ensures icon is well-centered vertically */
}

/* Back-to-top button inherits .toolbar-item styles */
#back-to-top-btn {
    display: none; /* Initially hidden, JavaScript will control its visibility */
    /* It will use the same gold style and hover effect as other toolbar items */
}

/* If a specific hover for back-to-top is needed, it can be re-added here, e.g.:
#back-to-top-btn:hover {
    background-color: #28a745; // Example: Green hover
    color: #fff;
}
*/

/* Additions for Tooltips in sidetoolbar.css */

/* Ensure .toolbar-item is a positioning context for the tooltip */
.toolbar-item {
    /* ... existing styles ... */
    position: relative; /* This should already be there from previous steps */
}

.tooltip-text {
    position: absolute;
    right: 100%; /* Position to the left of the button */
    top: 50%;
    transform: translateY(-50%);
    margin-right: 12px; /* Space between button and tooltip */
    padding: 6px 12px; /* Padding inside the tooltip */
    background-color: #FFB800; /* Gold background */
    color: #fff; /* White text */
    font-size: 13px; /* Tooltip font size */
    line-height: 1.4;
    border-radius: 4px;
    white-space: nowrap; /* Prevent text from wrapping */
    visibility: hidden; /* Hidden by default */
    opacity: 0;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 10; /* Ensure tooltip is above other elements if overlap occurs */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Optional: Add a small arrow to the tooltip */
.tooltip-text::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%; /* Arrow on the right side of the tooltip, pointing to the button */
    margin-top: -5px; /* Half of the arrow's height */
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #FFB800; /* Arrow color matches tooltip */
}

.toolbar-item:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* 半透明黑色覆盖层 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; /* 高 z-index 以确保在最上层 */
    padding: 15px; /* Add padding to prevent modal from touching screen edges on mobile */
    box-sizing: border-box;
}

.modal-content {
    background-color: var(--pale-tiffany, #E0F2F1); /* 模态框主背景色 */
    padding: 20px 24px; /* 按比例缩小内边距 (原 25px 30px) */
    border-radius: 0; /* 直角 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 440px; /* 按比例缩小最大宽度 (原 550px) */
    position: relative;
    animation: modalAppear 0.3s ease-out;
    overflow-y: auto; /* Allow scrolling within modal if content is too tall */
    max-height: calc(100vh - 40px); /* Ensure modal doesn't exceed viewport height minus some padding */
}

@keyframes modalAppear {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--tiffany-blue, #81D8D0); /* 头部背景色 */
    color: white; /* 头部文字颜色 */
    padding: 12px 20px; /* 按比例缩小头部内边距 */
    /* 通过负外边距使头部背景延伸至 modal-content 的内边距边缘 */
    margin: -20px -24px 20px -24px; 
    border-radius: 0; /* 确保头部也是直角 */
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.4em; /* 按比例缩小标题字号 (原 1.8em) */
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 2em; /* 按比例缩小关闭按钮字号 */
    font-weight: bold;
    color: var(--pale-tiffany, #E0F2F1); /* 浅色关闭按钮，适应深色头部背景 */
    cursor: pointer;
    padding: 0;
    line-height: 1;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.modal-close-btn:hover {
    color: white; /* 悬停时更亮 */
}

.modal-body {
    background-color: #fff;
    padding: 15px 20px 15px 20px; /* Adjusted padding slightly */
    border-radius: 0;
}

/* Styles for two-column form layout */
.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0; /* Remove bottom margin from row, individual groups will have it */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.form-group-half {
    width: 48%; /* Allows for a small gap between them */
    /* margin-bottom will be handled by the .form-group rule if still needed */
}

/* General form group styling */
.modal-body .form-group {
    margin-bottom: 12px; /* Adjusted default margin */
}

.modal-body label {
    display: block;
    margin-bottom: 4px; /* Adjusted label margin */
    font-weight: 600;
    color: var(--dark-tiffany, #5EBFB7);
    font-size: 0.9em;
}

.modal-body input[type="text"],
.modal-body input[type="email"],
.modal-body input[type="tel"],
.modal-body textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--light-tiffany, #A6E3DD);
    border-radius: 0;
    box-sizing: border-box;
    font-size: 0.9em;
    background-color: #fff;
    color: #333;
}

.modal-body input[type="text"]:focus,
.modal-body input[type="email"]:focus,
.modal-body input[type="tel"]:focus,
.modal-body textarea:focus {
    border-color: var(--tiffany-blue, #81D8D0); /* 焦点时边框颜色加强 */
    box-shadow: 0 0 0 2px rgba(129, 216, 208, 0.3); /* 使用主题色创建焦点指示环 */
    outline: none;
}

.modal-body textarea {
    resize: vertical;
    min-height: 65px; /* 按比例缩小文本域最小高度 */
}

/* Styles for the CAPTCHA row within the modal body */
.captcha-container-group {
    margin-top: 15px;
}

.captcha-input-row {
    display: flex;
    align-items: center; /* Keeps all items in this row vertically aligned */
    flex-wrap: wrap; /* Allow captcha elements to wrap on small screens */
}

.captcha-input-wrapper {
    width: 48%;         /* <--- Set width to match .form-group-half */
    margin-right: 8px;
    /* height: 40px; /*  可选，如果需要强制包装器高度，但通常由内部输入框决定 */
}

.captcha-input-field {
    width: 100%;        /* 输入框占据其包装器的100%宽度 */
    /* margin-right: 8px; /*  移除此处的 margin-right，已移至包装器上 */
    height: 40px; 
    padding: 8px 10px;
    /* Inherits border, etc. from general input styles */
}

.captcha-image-placeholder {
    width: 120px;  /* Ensure this width allows the full CAPTCHA image to be visible */
    height: 40px;
    background-color: #f0f0f0;
    border: 1px solid var(--light-tiffany, #A6E3DD);
    border-radius: 0;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0; /* 防止图片在空间不足时被压缩 */
}
.captcha-image-placeholder img {
    max-width: 100%;
    max-height: 100%;
}

.btn-refresh-captcha {
    background-color: transparent;
    border: 1px solid var(--tiffany-blue, #81D8D0);
    color: var(--tiffany-blue, #81D8D0);
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.2em;
    line-height: 40px;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0; /* Prevent refresh button from shrinking if space is tight */
}
.btn-refresh-captcha:hover {
    background-color: var(--light-tiffany, #A6E3DD);
    color: var(--dark-tiffany, #5EBFB7);
}

.modal-footer {
    display: flex;
    justify-content: center;       /* <--- Change to center to center the button */
    align-items: center;
    padding: 15px 20px 15px 20px;
    margin-top: 0;
    background-color: var(--pale-tiffany, #E0F2F1);
    border-top: 1px solid var(--light-tiffany, #A6E3DD);
}

.btn-send-email {
    background-color: var(--soft-gold, #FFB800);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.btn-send-email:hover {
    background-color: #e6a600;
}

/* WeChat QR Code Modal Specific Styles */
.wechat-modal-content {
    max-width: 320px; /* 根据您的二维码和文字调整宽度 */
    /* 如果需要，可以覆盖 .modal-content 的其他通用样式 */
}

.wechat-modal-content .modal-header h2 {
    font-size: 1.3em; /* 调整微信模态框的标题大小 */
}

.wechat-modal-content .modal-body {
    padding: 15px 20px 20px 20px; /* 为二维码模态框调整内边距 */
}

#wechatQrImagePreview { /* 如果您在HTML中使用了这个ID */
    display: block;    /* 使 margin auto 生效以居中 (如果父元素不是 flex 且需要的话) */
    margin-left: auto;
    margin-right: auto;
    max-width: 220px; /* 二维码图片的最大宽度 */
    /* width: 100%; /* 确保响应式 */
    /* height: auto; */
    /* border: 1px solid var(--light-tiffany, #A6E3DD); */
    /* padding: 5px; */
    /* background-color: #fff;  确保二维码背景清晰 */
    margin-bottom: 10px;
}

/* Responsive Adjustments for Side Toolbar and Modals */

/* Tablet and smaller devices (<= 992px) */
@media (max-width: 992px) {
    .toolbar-item {
        width: 50px;
        height: 50px;
        font-size: 22px;
        margin-bottom: 8px;
    }

    .tooltip-text {
        /* On tablets, tooltips might still be acceptable with hover if not a touch-primary device */
        /* No changes here by default, but could be hidden if problematic: display: none; */
    }

    .modal-content {
        padding: 15px 20px;
    }
     .modal-header {
        margin: -15px -20px 15px -20px; /* Adjust negative margins to match new padding */
        padding: 10px 15px;
    }
    .modal-header h2 {
        font-size: 1.3em;
    }
    .modal-close-btn {
        font-size: 1.8em;
        right: 15px;
    }
}

/* Mobile devices (<= 767px) */
@media (max-width: 767px) {
    .fixed-right-toolbar {
        /* Example: Optionally move toolbar to bottom on very small screens */
        /* top: auto;
        bottom: 0;
        right: 0;
        left:0;
        width: 100%;
        transform: none;
        flex-direction: row;
        justify-content: space-around;
        background-color: rgba(0,0,0,0.05); 
        padding: 5px 0; */
    }
    .toolbar-item {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-bottom: 6px;
        border-radius: 3px 0 0 3px; /* Slightly smaller radius */
         /* If toolbar is moved to bottom and horizontal: */
        /* border-radius: 3px; margin-right: 5px; margin-bottom:0; */
    }
    /* Hide tooltips on mobile as hover is not reliable/ideal */
    .tooltip-text {
        display: none;
    }

    .modal-overlay{
        align-items: flex-start; /* Align modal to top on mobile */
        padding-top: 20px; /* Space from top */
    }
    .modal-content {
        width: 95%; /* Slightly more width on mobile */
        padding: 15px;
        max-height: calc(100vh - 60px); /* Adjust max-height considering top padding */
    }
    .modal-header {
        margin: -15px -15px 15px -15px; /* Adjust for new padding */
        padding: 10px;
    }
    .modal-header h2 {
        font-size: 1.2em;
    }
    .modal-close-btn {
        font-size: 1.6em;
        right: 10px;
    }
    .modal-body {
        padding: 10px;
    }
    .modal-body label {
        font-size: 0.85em;
    }
    .modal-body input[type="text"],
    .modal-body input[type="email"],
    .modal-body input[type="tel"],
    .modal-body textarea {
        padding: 7px 8px;
        font-size: 0.85em;
    }
    .modal-body textarea {
        min-height: 50px;
    }

    .form-row {
        flex-direction: column; /* Stack items in a form row */
        gap: 0; /* Remove gap, rely on form-group-half margin */
    }
    .form-group-half {
        width: 100%; /* Full width for stacked items */
        margin-bottom: 12px; /* Add margin between stacked half-width groups */
    }
    .form-group-half:last-child {
        margin-bottom: 0;
    }

    .captcha-input-row {
        /* Elements will wrap due to flex-wrap, adjust individual items if needed */
    }
    .captcha-input-wrapper {
        width: 100%; /* CAPTCHA input takes full width */
        margin-right: 0;
        margin-bottom: 8px; /* Space below input when image wraps */
    }
    .captcha-image-placeholder {
        margin-right: 0; /* No right margin if it might wrap */
        margin-bottom: 8px; /* Space below image if refresh button wraps */
        /* width: 100px; /* Adjust if needed for smaller screens */
        /* height: 35px; */
    }
     .btn-refresh-captcha {
        /* width: 35px; */
        /* height: 35px; */
        /* font-size: 1.1em; */
    }


    .btn-send-email {
        padding: 8px 15px;
        font-size: 0.9em;
        width: 100%; /* Make button full width */
    }
    
    .wechat-modal-content {
        max-width: calc(100% - 30px); /* Ensure it fits, with padding */
    }
    #wechatQrImagePreview {
        max-width: 180px;
    }

    .modal-form .submit-btn {
        width: 100%;
        height: 44px;
        padding: 0 20px;
        font-size: 1rem;
        font-weight: 500;
        background-color: var(--soft-gold); /* 保持金色背景 */
        color: #fff;
        border: none;
        border-radius: 0; /* 改为直角按钮 */
        min-width: unset; /* 移动端不需要最小宽度 */
    }
}

/* ========================================
   MODAL FORM DESKTOP STYLES
   ======================================== */

/* 适用于平板及以上尺寸 (桌面端) */
@media (min-width: 768px) {
    .modal-form .form-row-desktop-pair {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 创建两列，每列占据可用空间的一半 */
        gap: 20px; /* 两列之间的间距 */
        margin-bottom: 20px; /* 此行与下一元素之间的间距 */
    }

    /* 清除配对行内表单组的下外边距，因为行本身已有外边距 */
    .modal-form .form-row-desktop-pair .form-group {
        margin-bottom: 0;
    }

    /* 单独一行的表单组 (如 Message) 的下外边距 */
    .modal-form > .form-group { /* 只选择 .modal-form 的直接子元素 .form-group */
        margin-bottom: 20px;
    }
    /* 确保按钮容器有合适的上边距 */
    .modal-form .form-button-container {
        margin-top: 25px; /* 或根据需要调整 */
    }


    /* 桌面端验证码部分布局 */
    .modal-form .captcha-container {
        display: flex;
        flex-wrap: wrap; /* Allows label to be full width and push others to next line */
        align-items: center; /* Vertically align items on the line (input, image, button) */
        gap: 10px; /* Provides spacing between items on the line (input, image, button) */
    }

    .modal-form .captcha-container label {
        display: block; /* 确保标签单独一行 */
        margin-bottom: 8px; /* 标签和下方输入组的间距 */
        /* vertical-align: middle; */ /* 不再需要，因为是块级 */
        /* margin-bottom: 0; */
    }

    .modal-form .captcha-input-group {
        display: flex;
        align-items: center;
        gap: 10px; /* 输入框、图片、按钮之间的间距 */
    }

    .modal-form .captcha-container input[type="text"],
    .modal-form .captcha-container input[type="tel"],
    .modal-form .captcha-container input[type="email"],
    .modal-form .captcha-container input[type="password"],
    .modal-form .captcha-container input[type="search"],
    .modal-form .captcha-container input[type="url"],
    .modal-form .captcha-container input[type="number"],
    .modal-form .captcha-container textarea {
        /* flex-grow: 1; */
        /* width: 48%; */ /* 移除固定宽度，让其在flex组内自适应或后续调整 */
        box-sizing: border-box;
        /* min-width: 80px; */ /* 暂时移除，观察效果 */
        height: 40px;
        padding: 8px 10px; /* 与Name/Email一致 */
        border: 1px solid var(--light-tiffany, #A6E3DD); /* 与Name/Email一致 */
        border-radius: 0;
        margin-bottom: 0;
    }

    .modal-form .captcha-container .captcha-image {
        width: 120px;     /* 保持或按需调整图片宽度 - MODIFIED FROM 80px */
        height: 40px;     /* Height for the captcha image */
        border: 1px solid #ccc;
        flex-shrink: 0; /* Prevent image from shrinking */
        /* border-radius: 0; */
    }

    .modal-form .captcha-container .refresh-captcha-btn {
        height: 40px;
        padding-left: 10px;
        padding-right: 10px;
        line-height: normal;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border: none;
        background-color: #f0f0f0;
        color: #333;
        cursor: pointer;
        /* border-radius: 0; */
    }
    .modal-form .captcha-container .refresh-captcha-btn:hover {
        background-color: #e0e0e0;
    }
    
    /* General form group margin, ensuring the captcha container itself has space below it */
    .modal-form .form-group {
        margin-bottom: 20px; /* Or your standard desktop form group margin */
    }
    .modal-form .form-group:last-of-type { /* Ensure last form group (likely captcha) has margin if needed */
        /* margin-bottom: 20px; */ /* Adjust if button container has margin-top */
    }
     .modal-form .form-button-container {
        margin-top: 25px; /* Or adjust as needed */
    }
}


/* ========================================
   SIDE TOOLBAR RESPONSIVE STYLES
   ======================================== */

/* 平板及更小设备 (<= 991.98px) */
@media (max-width: 991.98px) {
    .toolbar-item .tooltip-text { 
        display: none !important;
    }
    /* ... 其他平板特定的工具栏调整 (如果之前有的话) ... */
}

/* 手机设备 (<= 767px) - 主要布局和尺寸调整 */
@media (max-width: 767px) {
    .side-toolbar {
        display: flex; 
        visibility: visible;
        opacity: 1;
        position: fixed; 
        top: auto;
        bottom: 20px;
        right: 15px;
        transform: none;
        flex-direction: column; 
        gap: 12px;
        z-index: 1040;
    }

    .toolbar-item {
        width: 44px;
        height: 44px;
        background-color: var(--tiffany-blue);
        color: #fff;
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0,0,0,0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }
    .toolbar-item:hover {
        transform: scale(1.05);
        background-color: var(--dark-tiffany);
    }

    .toolbar-item img,
    .toolbar-item i {
        width: 22px;
        height: 22px;
        font-size: 22px;
        color: inherit;
    }

    /* 响应式模态框 */
    .modal.active {
        padding: 15px;
    }

    .modal-content {
        background-color: #fff;
        width: calc(100% - 30px);
        max-width: 450px;
        margin: auto;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        max-height: 85vh;
        overflow-y: auto;
    }

    /* 模态框内的表单元素 */
    .modal-form .form-group {
        margin-bottom: 15px;
    }
    .modal-form .form-group input, /* 这会包括所有类型的input */
    .modal-form .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        font-size: 0.95rem;
        border: 1px solid #ccc;
        border-radius: 0; /* 移动端输入框也使用直角 */
        background: #fff;
        color: #333;
    }
    .modal-form .form-group input:focus,
    .modal-form .form-group textarea:focus {
        border-color: var(--tiffany-blue);
        box-shadow: 0 0 0 2px rgba(129, 216, 208, 0.2);
    }
    .modal-form .form-button-container {
        margin-top: 20px;
    }
    .modal-form .submit-btn {
        width: 100%;
        height: 44px;
        padding: 0 20px;
        font-size: 1rem;
        font-weight: 500;
        background-color: var(--soft-gold);
        color: #fff;
        border: none;
        border-radius: 0; /* 改为直角按钮 */
        min-width: unset; /* 移动端不需要最小宽度 */
    }

    /* 如果模态框内有通用的两列表单 (非特指Name/Phone那组)，则堆叠它们 */
    /* 这个 .form-row-2-col 是一个通用的类，如果您的HTML中其他地方用到了，可以保留 */
    .modal-form .form-row-2-col {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .modal-form .form-row-2-col > div {
        width: 100%;
        margin-bottom: 15px;
    }
    .modal-form .form-row-2-col > div:last-child {
        margin-bottom: 0;
    }

    /* 验证码适配 (移动端) */
    .modal-form .captcha-container {
        display: flex;
        flex-wrap: wrap; 
        align-items: center;
        gap: 8px; 
    }
    .modal-form .captcha-container label {
        display: inline-block; /* 改为 inline-block */
        vertical-align: middle; /* 辅助垂直对齐 */
        /* flex-basis: 100%; */
        margin-bottom: 0; /* Use gap from parent for spacing, or a small margin if preferred (e.g., 4px) */
    }
    .modal-form .captcha-container input[type="text"] {
        flex-grow: 1; 
        min-width: 120px; 
        border-radius: 0; /* 确保移动端验证码输入框也是直角 */
    }
    .modal-form .captcha-container .captcha-image {
        height: 38px; 
        width: auto;
        max-width: 120px; /* 示例：移动端最大宽度 */
        border: 1px solid #ccc;
    }
    .modal-form .captcha-container .refresh-captcha-btn {
        padding: 8px 10px;
        background-color: #f0f0f0;
        border: none;
        height: 38px; /* 移动端刷新按钮高度与图片匹配 */
        line-height: 38px;
    }
}

/* 非常小的手机屏幕 (<= 575px) - 进一步微调 */
@media (max-width: 575px) {
    .side-toolbar {
        right: 10px;
        bottom: 10px;
        gap: 10px;
    }
    .toolbar-item {
        width: 40px;
        height: 40px;
    }
    .toolbar-item img,
    .toolbar-item i {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

    .modal-content {
        padding: 20px;
    }
    .modal-form .submit-btn {
        height: 40px;
        font-size: 0.95rem;
        /* border-radius: 0; */ /* 如果需要在极小屏幕也改按钮为直角 */
    }
}

.modal-form .form-button-container {
    margin-top: 25px; /* Or adjust as needed */
    display: flex;
    justify-content: center; /* 水平居中 */
}

.modal-form .submit-btn {
    background-color: var(--soft-gold); /* 使用金色背景 */
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 0; /* 直角按钮 */
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 150px; /* 确保按钮有一定宽度 */
    text-align: center;
}

.modal-form .submit-btn:hover {
    background-color: #e6a600; /* 悬停时变暗 */
}
