/* 系统管理页面样式 */
.module {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.module h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
    flex: 1;
}

.form-group.half {
    flex: 0 0 calc(50% - 10px);
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.1);
}

.file-info {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.image-preview {
    margin-top: 10px;
}

.image-preview img {
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
}

.btn-save {
    background-color: #0071e3;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-save:hover {
    background-color: #005bb5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .module {
        padding: 15px;
    }
    
    .module h2 {
        font-size: 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half {
        flex: 1;
    }
    
    .form-group input[type="text"],
    .form-group input[type="file"] {
        padding: 8px;
        font-size: 13px;
    }
    
    .form-actions {
        justify-content: center;
    }
    
    .btn-save {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}
