/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: url('../images/header.jpeg') no-repeat;
    background-size: cover;
    opacity: 0.2; /* 调整透明度 */
    z-index: -1;
}

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 60px;
	padding-top: 50px;
}

.header h1 {
    color: #1a73e8;
    font-size: 24px;
    margin-bottom: 10px;
}

.header p {
    color: #666;
    font-size: 14px;
}

/* 表单样式 */
.form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

/* 输入框样式 */
select, textarea, input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* 单选按钮组 */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

/* 字数统计 */
.word-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 图片上传 */
.upload-box {
    border: 1px dashed #ccc;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.upload-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #f0f0f0;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
}

.upload-btn:hover {
    background: #e0e0e0;
}

#imageUpload {
    display: none;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-container img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}

.tip {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* 提交按钮 */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #0d62c9;
}

/* 成功弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    max-width: 80%;
}

.modal h2 {
    color: #1a73e8;
    margin-bottom: 15px;
}

.modal-btn {
    padding: 10px 20px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    margin-top: 15px;
    cursor: pointer;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* 响应式适配 */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    .header h1 {
        font-size: 20px;
    }
}



/* 弹窗样式 */
.modal {
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.logo-container {
    margin: 10px auto 20px;
    width: 100px;
    height: 100px;
}

.ip-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: bounce 0.8s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.success-footer {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.modal-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.modal-btn:hover {
    background-color: #45a049;
}


/* 使用须知弹窗样式 */
.disclaimer-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    margin: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.warning-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}
.disclaimer-body {
    max-height: 300px;
    display: flex;
    flex-direction: column;
}

.scroll-container {
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 15px;
    flex-grow: 1;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px 15px;
}

/* 滚动条样式 */
.scroll-container::-webkit-scrollbar {
    width: 6px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.disclaimer-body ul {
    text-align: left;
    padding-left: 20px;
    margin: 0;
}

.disclaimer-body li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
    padding: 2px 0;
}

.agree-checkbox {
    display: flex;
    align-items: center;
    margin: 15px 0 5px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 6px;
    flex-shrink: 0;
}

.agree-checkbox input {
    margin-right: 10px;
}

.disclaimer-footer {
    display: flex;
    justify-content: center;
}

.disclaimer-btn {
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.confirm-btn {
    background-color: #1890ff;
    color: white;
    border: none;
}

.confirm-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.confirm-btn:hover:not(:disabled) {
    background-color: #40a9ff;
}


 /* 添加底部样式 */
        .footer {
            background-color: #f5f5f5;
            padding: 20px 0;
            margin-top: 40px;
            border-top: 1px solid #e0e0e0;
            font-size: 14px;
            color: #666;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
         
        .footer-info p, 
        .footer-contact p {
            margin: 5px 0;
            line-height: 1.5;
        }
        
        @media (max-width: 768px) {
            .footer-content {
                flex-direction: column;
                text-align: center;
            }
            
            .footer-info, 
            .footer-contact {
                margin-top: 15px;
            }
        }
		.scenic-selector {
		    cursor: pointer;
		    padding: 10px;
		    border: 1px solid #dcdfe6;
		    border-radius: 4px;
		    background-color: #eee;
		}

		
		.scenic-modal {
		    max-width: 400px;
		    max-height: 80vh;
		    display: flex;
		    flex-direction: column;
		}
		
		.scenic-list-container {
		    overflow-y: auto;
		    max-height: 60vh;
		    border: 1px solid #eee;
		    border-radius: 4px;
		    margin-top: 10px;
		}
		
		.scenic-list {
		    list-style: none;
		    padding: 0;
		    margin: 0;
		}
		
		.scenic-list li {
		    padding: 12px 20px;
		    border-bottom: 1px solid #eee;
		    cursor: pointer;
		    transition: all 0.3s;
		}
		
		.scenic-list li:hover {
		    background-color: #f5f7fa;
		}
		
		.scenic-list li.active {
		    background-color: #ecf5ff;
		    color: #409eff;
		}
		
		.scenic-list li:last-child {
		    border-bottom: none;
		}