/* 上传容器基础样式 */
.img-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-family: Arial, sans-serif;
    margin: 0 auto;
}

/* 上传框样式 */
.img-upload-box {
    border: 2px dashed #ffffff;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.24);
    width: 100%;
    height: 200px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.img-upload-box:hover {
    border-color: #86b7fe;
    background-color: #f0f7ff;
}

/* 相机图标样式 */
.img-camera-icon {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 10px;
}

/* 上传文字提示 */
.img-upload-text {
    color: #6c757d;
    font-size: 14px;
}

/* 预览容器样式 */
.img-preview-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

/* 预览图片样式 */
.img-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 删除按钮样式 */
.img-delete-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.img-delete-btn:hover {
    background-color: rgba(255, 0, 0, 0.9);
    transform: scale(1.1);
}

/* 底部标题样式 */
.img-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    text-align: center;
}

/* 隐藏的文件输入 */
.img-upload-input {
    display: none;
}
:root {
    --primary-color: #4e97d9;
    --primary-hover: #3a7fc7;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    padding-bottom: 80px;
    margin: 0;
    background: linear-gradient(135deg, #6ab7ff 0%, #4e97d9 50%, #357abd 100%);
    background-size: 200% 200%;
    animation: GradientBackground 8s ease infinite;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes GradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 浮动气泡效果 - 全局 */
.global-bubbles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    top: 0;
    left: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    opacity: 0.5;
    animation: rise 15s infinite ease-in;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 12s;
}

.bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 15s;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.bubble:nth-child(4) {
    width: 30px;
    height: 30px;
    left: 50%;
    animation-duration: 13s;
    animation-delay: 0.5s;
}

.bubble:nth-child(5) {
    width: 25px;
    height: 25px;
    left: 65%;
    animation-duration: 16s;
    animation-delay: 1.5s;
}

.bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 75%;
    animation-duration: 14s;
    animation-delay: 0.8s;
}

.bubble:nth-child(7) {
    width: 35px;
    height: 35px;
    left: 85%;
    animation-duration: 17s;
    animation-delay: 2.5s;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateX(20px) scale(1);
        opacity: 0.5;
    }
    100% {
        bottom: 1080px;
        transform: translateX(-20px) scale(1.2);
        opacity: 0;
    }
}

.main-content {
    min-height: calc(100vh - 80px);
    padding: 15px;
    position: relative;
    z-index: 1;
}

/* 底部导航栏样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    z-index: 1000;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    transition: all 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-color);
}

.nav-item .bi {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item.active .bi {
    color: var(--primary-color);
}

/* 水蓝色主题按钮 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* 响应式调整 */
@media (min-width: 768px) {
    .bottom-nav {
        height: 70px;
    }

    .nav-item {
        font-size: 14px;
    }

    .nav-item .bi {
        font-size: 24px;
    }

    body {
        padding-bottom: 90px;
    }
}