* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'PingFang SC';
    src: local('PingFang SC'), local('PingFangSC-Regular'), local('Microsoft YaHei');
}

html, body {
    height: 100%;
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #023592 0%, #011a4a 100%);
}

/* 移动端底部导航 */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    z-index: 1000;
}

.mobile-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.mobile-nav .nav-item i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.mobile-nav .nav-item span {
    font-size: 0.75rem;
}

.mobile-nav .nav-item.active {
    color: #023592;
}

.mobile-nav .nav-item.active i {
    transform: scale(1.1);
}

/* 返回按钮 */
.back-button {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 100;
}

.back-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: #023592;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(2, 53, 146, 0.3);
}

/* 主内容区域 */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    padding-bottom: 2rem;
}

/* 首页样式 */
.home-page {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.welcome-section {
    background: white;
    border-radius: 24px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-section {
    flex: 1;
}

.logo-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link:active {
    transform: scale(0.95);
}

.logo-icon-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.logo-icon i,
.logo-icon-small i {
    font-size: 1.8rem;
    color: white;
}

.logo-icon-small i {
    font-size: 1.5rem;
}

.welcome-section h1 {
    font-size: 1.5rem;
    color: #023592;
    margin-bottom: 0.5rem;
}

.welcome-section p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.welcome-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 列表区域 */
.list-section {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #023592;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header h2 i {
    margin-right: 0.75rem;
    color: #023592;
}

.section-desc {
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.filter-left {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-right {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-left select,
.filter-left input {
    padding: 0.75rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: white;
    min-width: 120px;
}

.filter-left select:focus,
.filter-left input:focus {
    border-color: #023592;
    box-shadow: 0 0 0 3px rgba(2, 53, 146, 0.1);
}

.filter-left input {
    min-width: 200px;
}

/* 列表样式 */
.suggestion-list {
    margin-top: 1rem;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #023592;
    color: #023592;
    background: rgba(2, 53, 146, 0.05);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.suggestion-item {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid #ddd;
}

.suggestion-item:hover {
    background: #f0f2f5;
    transform: translateX(5px);
}

.suggestion-item.pending {
    border-left-color: #E02326;
}

.suggestion-item.processing {
    border-left-color: #023592;
}

.suggestion-item.resolved {
    border-left-color: #28a745;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.item-name {
    font-weight: 600;
    color: #333;
}

.item-type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.type-suggestion {
    background: #e7f3ff;
    color: #023592;
}

.type-complaint {
    background: #fef0f0;
    color: #E02326;
}

.type-praise {
    background: #f0fff4;
    color: #28a745;
}

.item-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-pending {
    background: #fef0f0;
    color: #E02326;
}

.status-processing {
    background: #e7f3ff;
    color: #023592;
}

.status-resolved {
    background: #f0fff4;
    color: #28a745;
}

.item-title {
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.item-content {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
}

/* 提交页面样式 */
.submit-page {
    display: flex;
    justify-content: center;
}

.submit-page .form-section {
    width: 100%;
    max-width: 700px;
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
}

/* 类型按钮 */
.type-buttons {
    display: flex;
    gap: 1rem;
}

.type-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.type-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #888;
}

.type-btn span {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

.type-btn input[type="radio"] {
    display: none;
}

.type-btn:hover {
    border-color: #023592;
    background: rgba(2, 53, 146, 0.05);
}

.type-btn input[type="radio"]:checked + i {
    color: white;
}

.type-btn input[type="radio"]:checked + i + span {
    color: white;
}

.type-btn:has(input[type="radio"]:checked) {
    background: #023592;
    border-color: #023592;
}

/* 时间选择 */
.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.time-slot {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.time-slot input[type="radio"] {
    display: none;
}

.time-slot span {
    font-size: 0.9rem;
    color: #555;
}

.time-slot:hover {
    border-color: #023592;
}

.time-slot input[type="radio"]:checked + span {
    color: white;
}

.time-slot:has(input[type="radio"]:checked) {
    background: #023592;
    border-color: #023592;
}

.form-hint {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.5rem;
}

/* 表单样式 */
.suggestion-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #023592;
    background: white;
    box-shadow: 0 0 0 3px rgba(2, 53, 146, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    position: relative;
}

.char-count {
    align-self: flex-end;
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
}

/* 文件上传区域 */
.upload-area {
    border: 2px dashed #ddd;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: #023592;
    background: rgba(2, 53, 146, 0.05);
}

.upload-area i {
    font-size: 2.5rem;
    color: #023592;
    margin-bottom: 0.75rem;
}

.upload-area p {
    color: #555;
    font-size: 0.95rem;
}

.upload-area input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* 复选框 */
.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 2rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-check {
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-label input:checked + .checkbox-check {
    background: #023592;
    border-color: #023592;
}

.checkbox-label input:checked + .checkbox-check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: #023592;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* 按钮样式 */
.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, #023592 0%, #0056d3 100%);
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 5px 20px rgba(2, 53, 146, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f0f2f5;
    color: #555;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    background: #e8eaed;
    border-color: #d0d0d0;
}

.btn-danger {
    background: linear-gradient(135deg, #E02326 0%, #c51f1f 100%);
    color: white;
}

.btn-danger:hover {
    box-shadow: 0 5px 20px rgba(224, 35, 38, 0.4);
    transform: translateY(-2px);
}

.submit-btn {
    background: linear-gradient(135deg, #023592 0%, #0056d3 100%);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(2, 53, 146, 0.4);
}

.submit-btn i {
    margin-right: 0.5rem;
}

/* 查询页面样式 */
.query-page {
    display: flex;
    justify-content: center;
}

.query-section {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 600px;
    margin-bottom: 3rem;
}

.query-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.query-result {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.query-result h3 {
    color: #023592;
    margin-bottom: 1rem;
    text-align: center;
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: #f0f2f5;
}

.result-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.result-item-title {
    font-weight: 600;
    color: #333;
}

.no-result {
    text-align: center;
    padding: 3rem;
    margin-top: 2rem;
}

.no-result i {
    font-size: 3rem;
    color: #999;
    margin-bottom: 1rem;
}

.no-result p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* 弹窗样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: #023592;
    font-size: 1.25rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #888;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f0f2f5;
    color: #333;
}

.modal-body {
    padding: 1.5rem 2rem;
    max-height: 450px;
    overflow-y: auto;
}

.detail-row {
    margin-bottom: 1rem;
}

.detail-label {
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

.detail-row p {
    color: #333;
    margin-top: 0.25rem;
    line-height: 1.6;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

/* 成功弹窗 */
.success-modal .modal-content {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.success-icon i {
    font-size: 3rem;
    color: white;
}

.success-modal h3 {
    color: #023592;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.success-modal p {
    color: #555;
    margin-bottom: 1.5rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* PC端样式 */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
    
    .back-button {
        display: none !important;
    }
    
    .main-content {
        padding-bottom: 2rem;
    }
    
    .welcome-section {
        flex-direction: row;
    }
    
    .logo-section {
        text-align: left;
        flex: 1;
    }
    
    .logo-icon {
        margin-left: 0;
        margin-right: auto;
    }
    
    .welcome-buttons {
        justify-content: flex-start;
    }
}

/* 移动端样式 */
@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
    }
    
    .back-button {
        display: block;
    }
    
    .main-content {
        padding: 0.75rem;
        padding-bottom: 80px;
        padding-top: 50px;
    }
    
    .welcome-section {
        flex-direction: row;
        text-align: left;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    
    .logo-icon {
        width: 45px !important;
        height: 45px !important;
        margin: 0 !important;
        flex-shrink: 0;
    }
    
    .logo-icon i {
        font-size: 1.2rem !important;
    }
    
    .logo-section {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .welcome-section h1 {
        font-size: 1.1rem !important;
        margin-bottom: 0.15rem !important;
    }
    
    .welcome-section p {
        font-size: 0.75rem !important;
        margin-bottom: 0 !important;
    }
    
    /* 移动端类型按钮横向排列 */
    .type-buttons {
        flex-direction: row !important;
        gap: 0.5rem !important;
    }
    
    .type-btn {
        flex: 1;
        padding: 0.75rem 0.5rem !important;
        border-radius: 12px !important;
    }
    
    .type-btn i {
        font-size: 1.25rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .type-btn span {
        font-size: 0.75rem !important;
    }
    
    .logo-section {
        text-align: center;
    }
    
    .logo-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1rem;
    }
    
    .logo-icon i {
        font-size: 2rem;
    }
    
    .welcome-section h1 {
        font-size: 1.5rem;
    }
    
    .welcome-section p {
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .filter-right .btn {
        width: auto;
        flex: 1;
        font-size: 0.8rem !important;
        padding: 0.75rem 0.75rem !important;
    }
    
    .list-section {
        padding: 1.5rem;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .filter-left {
        flex-direction: row;
        width: 100%;
        gap: 0.5rem;
    }
    
    .filter-right {
        flex-direction: row;
        width: 100%;
        gap: 0.75rem;
    }
    
    .filter-left select,
    .filter-left input {
        flex: 1;
        min-width: 0 !important;
        max-width: none;
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem !important;
    }
    
    .suggestion-item {
        padding: 1rem;
    }
    
    .item-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .type-buttons {
        flex-direction: column;
    }
    
    .time-slots {
        flex-direction: column;
    }
    
    .submit-page .form-section,
    .query-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
        border-radius: 20px;
    }
    
    .modal-body {
        padding: 1rem 1.5rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .checkbox-label {
        font-size: 0.8rem;
        padding-left: 1.75rem;
    }
    
    .checkbox-check {
        width: 16px;
        height: 16px;
    }
}

/* 小屏移动端优化 */
@media (max-width: 480px) {
    .main-content {
        padding: 0.75rem;
        padding-bottom: 70px;
        padding-top: 45px;
    }
    
    .welcome-section {
        padding: 1.5rem 1rem;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon i {
        font-size: 1.5rem;
    }
    
    .welcome-section h1 {
        font-size: 1.3rem;
    }
    
    .list-section {
        padding: 1rem;
    }
    
    .suggestion-item {
        padding: 0.75rem;
    }
    
    .item-title {
        font-size: 0.9rem;
    }
    
    .item-content {
        font-size: 0.85rem;
    }
    
    .item-footer {
        font-size: 0.75rem;
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .upload-area {
        padding: 1.5rem;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* 输入框自动填充样式 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px #f8f9fa inset;
    -webkit-text-fill-color: #333;
}

/* 选中文本样式 */
::selection {
    background: rgba(2, 53, 146, 0.2);
    color: #023592;
}

/* 焦点样式 */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* 按钮点击效果 */
.btn:active,
.submit-btn:active {
    transform: scale(0.98);
}

/* 卡片悬浮效果 */
.welcome-section,
.list-section,
.submit-page .form-section,
.query-section {
    transition: all 0.3s ease;
}

.welcome-section:hover,
.list-section:hover,
.submit-page .form-section:hover,
.query-section:hover {
    transform: translateY(-2px);
}

/* 数字输入框去除上下箭头 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* 链接样式 */
a {
    color: #023592;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 条款页面样式 */
.terms-page {
    display: flex;
    justify-content: center;
}

.terms-section {
    width: 100%;
    max-width: 800px;
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
}

.terms-content {
    margin-top: 1.5rem;
}

.terms-content article {
    line-height: 1.8;
    color: #333;
}

.terms-content h3 {
    color: #023592;
    font-size: 1.15rem;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.terms-content h3:first-child {
    margin-top: 0;
}

.terms-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.terms-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

/* 移动端条款页面 */
@media (max-width: 768px) {
    .terms-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .terms-content h3 {
        font-size: 1rem;
    }

    .terms-content p {
        font-size: 0.9rem;
    }

    .terms-content ul {
        padding-left: 1.25rem;
    }
}
