@charset "utf-8";

html {
	-ms-touch-action: none;
	/* 阻止windows Phone 的默认触摸事件 */
	height: 100%;
	overflow-x: hidden;
}

* {
	box-sizing: border-box;
}

body,
div,
p {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
}

.pos_abs {
	position: absolute;
}

.clear {
	zoom: 1;
}

.clear:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

body {
	width: 100%;
	*cursor: default;
	font: 16px/1.5 "Microsoft YaHei", Helvetica, STHeiti STXihei, Microsoft JhengHei, Arial;
	background: #fff;
}

.auto {
	margin: 0 auto;
}

.mt20 {
	margin-top: 0.2rem;
}

.mb20 {
	margin-bottom: 0.2rem;
}


.container {
	width: 100vw;
	height: 100vh;
	background: url('./../images/bg.jpg') no-repeat left top;
	background-size: 100% auto;
	position: relative;
}

.share-img-box {
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	background: rgba(0, 0, 0, 0.7);
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

#shaer-img {
	height: 80%;
}

.close {
	font-size: 30px;
	color: #fff;
}

.tips {
	color: #fff;
	font-size: 12px;
	margin-top: 20px;
}

.ios,
.android {
	display: none;
}

/* 上传区域样式 */
.upload-area {
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.upload-box {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.upload-box:hover {
    border-color: #007bff;
    background: #f0f7ff;
}

.upload-box:active {
    transform: scale(0.98);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.upload-text {
    font-size: 18px;
    color: #333;
    margin: 0 0 8px 0;
}

.upload-hint {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* 进度条样式 */
.progress-container {
    margin-top: 20px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 16px;
    color: #333;
    margin: 12px 0 4px 0;
}

.time-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 结果展示样式 */
.result-container {
    margin-top: 20px;
    text-align: center;
}

.preview-img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.result-text {
    font-size: 18px;
    color: #28a745;
    margin: 16px 0 0 0;
    font-weight: bold;
}