  /* 设置背景图片 */
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: url('<?php echo $backgroundImage; ?>') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* 添加半透明遮罩层 */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.top-nav {
    background: linear-gradient(135deg, #4a8cff, #3a7bef);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    margin: 0 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover {
    background-color: rgba(255,255,255,0.2);
}

.nav-item.active {
    background-color: white;
    color: #4a8cff;
}

.content-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.form-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 8px 8px 16px rgba(0,0,0,0.1);
    margin-top: 30px;
    background-color: rgba(255, 255, 255, 0.95);
}

.stats-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 8px 8px 16px rgba(0,0,0,0.1);
    margin-top: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
}

h1 {
    color: #4a6baf;
    text-align: center;
    margin-bottom: 20px;
}

.icon-preview {
    text-align: center;
    margin: 20px 0;
}

.icon-preview img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #4a6baf;
    font-weight: 500;
}

.required:after {
    content: " *";
    color: #ff4757;
}

input[type="text"],
input[type="url"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

input[type="text"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: #4a8cff;
    box-shadow: 0 0 0 3px rgba(74, 140, 255, 0.2);
    outline: none;
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

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

.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4a8cff, #3a7bef);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.1);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
}

.alert-error {
    background-color: #ffebee;
    color: #ff4757;
    border: 1px solid #ffcdd2;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    margin-top: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stats-number {
    font-size: 24px;
    font-weight: bold;
    color: #4a8cff;
    margin: 10px 0;
}

.stats-time {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .content-container {
        padding: 0 15px;
    }
    
    .form-card {
        padding: 20px;
    }
}